From 1c6db5d4f24f6ddaee4c48661503a8b7ea516744 Mon Sep 17 00:00:00 2001 From: acolyer Date: Tue, 11 Nov 2003 13:09:14 +0000 Subject: Andy Clement's patch for enh 46347: "-inpath" --- ajde/src/org/aspectj/ajde/ProjectPropertiesAdapter.java | 8 ++++++++ ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java | 1 + ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java | 5 +++-- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'ajde/src') diff --git a/ajde/src/org/aspectj/ajde/ProjectPropertiesAdapter.java b/ajde/src/org/aspectj/ajde/ProjectPropertiesAdapter.java index 2934932ee..6ba8134bb 100644 --- a/ajde/src/org/aspectj/ajde/ProjectPropertiesAdapter.java +++ b/ajde/src/org/aspectj/ajde/ProjectPropertiesAdapter.java @@ -68,6 +68,14 @@ public interface ProjectPropertiesAdapter { */ public Set getInJars(); + /** + * Get the set of input path elements for this compilation. + * Set members should be of the type java.io.File. + * An empty set or null is acceptable for this option. + * From -injars + */ + public Set getInpath(); + /** * Get the set of non-Java resources for this compilation. * Set members should be of type java.io.File. diff --git a/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java b/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java index 84e0bb8ec..8006af593 100644 --- a/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java +++ b/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java @@ -188,6 +188,7 @@ public class AspectJBuildManager implements BuildManager { + "\n-> classpath: " + properties.getClasspath() + "\n-> bootclasspath: " + properties.getBootClasspath() + "\n-> -injars " + formatSet(properties.getInJars()) + + "\n-> -inpath " + formatSet(properties.getInpath()) + "\n-> -outjar " + formatOptionalString(properties.getOutJar()) + "\n-> -sourceroots " + formatSet(properties.getSourceRoots()) + "\n-> -aspectpath " + formatSet(properties.getAspectPath()) diff --git a/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java b/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java index 9ee5f111e..d7db8e849 100644 --- a/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java +++ b/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java @@ -451,8 +451,8 @@ public class CompilerAdapter { /** * Add new options from the ProjectPropertiesAdapter to the configuration. *