diff options
author | wisberg <wisberg> | 2003-02-27 23:47:22 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-02-27 23:47:22 +0000 |
commit | 6d4e93c838576bf8f51918f74ccfc2a5b10cb4f8 (patch) | |
tree | 3d20e2f67f86410509c4b98647af25bc3fdff8f5 /build | |
parent | e4cc72e301f462f968d195489e6a5972c50a34ae (diff) | |
download | aspectj-6d4e93c838576bf8f51918f74ccfc2a5b10cb4f8.tar.gz aspectj-6d4e93c838576bf8f51918f74ccfc2a5b10cb4f8.zip |
installer was misreporting README file name for AspectJ distribution.
(The installer could be refactored for simpilcity if/since we're not supporting multiple distributions any more.)
Diffstat (limited to 'build')
-rw-r--r-- | build/src/$installer$/org/aspectj/Main.java | 11 |
1 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() { |