diff options
-rw-r--r-- | build/src/$installer$/org/aspectj/Main.java | 11 | ||||
-rw-r--r-- | lib/build/build.jar | bin | 111831 -> 112011 bytes |
2 files changed, 10 insertions, 1 deletions
diff --git a/build/src/$installer$/org/aspectj/Main.java b/build/src/$installer$/org/aspectj/Main.java index ec2b12280..19af53b1d 100644 --- a/build/src/$installer$/org/aspectj/Main.java +++ b/build/src/$installer$/org/aspectj/Main.java @@ -189,11 +189,16 @@ class Options { } } +/** tools installer installs the entire 1.1+ distribution */ class ToolsInstaller extends Installer { public String getTitle() { return "Installer for AspectJ(TM)"; } public String getPrefix() { return "tools"; } + public String getReadmeFilename() { + return "README-AspectJ.html"; + } + public ToolsInstaller() { InstallPane installPane = new InstallPane(true); setInstallPane(installPane); @@ -404,6 +409,10 @@ abstract class Installer { public abstract String getPrefix(); + public String getReadmeFilename() { + return "README-" + getPrefix().toUpperCase()+".html"; + } + public void setContext(InstallContext context) { this.context = context; context.installer = this; @@ -591,7 +600,7 @@ class InstallContext { properties.put("installer.output.dir.bin", new File(outputDir, "bin").getAbsolutePath()); properties.put("installer.output.dir.doc", new File(outputDir, "doc").getAbsolutePath()); properties.put("installer.output.aspectjrt", new File(new File(outputDir, "lib"), "aspectjrt.jar").getAbsolutePath()); - properties.put("installer.output.readme", new File(outputDir, "README-" + installer.getPrefix().toUpperCase()+".html").getAbsolutePath()); + properties.put("installer.output.readme", new File(outputDir, installer.getReadmeFilename()).getAbsolutePath()); } public File getOutputDir() { diff --git a/lib/build/build.jar b/lib/build/build.jar Binary files differindex b828d2346..2779968e4 100644 --- a/lib/build/build.jar +++ b/lib/build/build.jar |