version 0.4.3, fix forward edition numbers 0.4.3
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 10 Apr 2006 08:56:16 +0000 (08:56 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 10 Apr 2006 08:56:16 +0000 (08:56 +0000)
src/de/todesbaum/jsite/application/ProjectInserter.java
src/de/todesbaum/jsite/main/Version.java

index 8ec92db..03072f8 100644 (file)
@@ -138,8 +138,8 @@ public class ProjectInserter implements FileScannerListener, Runnable {
                outputStream.addReplacement("$[EDITION]", String.valueOf(edition));
                outputStream.addReplacement("$[URI]", project.getFinalURI(0));
                for (int index = 1; index <= fileOption.getEditionRange(); index++) {
-               outputStream.addReplacement("$[URI+" + index + "]", project.getFinalURI(index));
                        outputStream.addReplacement("$[URI+" + index + "]", project.getFinalURI(index));
+                       outputStream.addReplacement("$[EDITION+" + index + "]", String.valueOf(edition + index));
                }
                StreamCopier.copy(fileInput, outputStream, length[0]);
                outputStream.close();
index c91b32c..1eb492e 100644 (file)
@@ -25,7 +25,7 @@ package de.todesbaum.jsite.main;
  */
 public class Version {
 
-       private static final String VERSION = "0.4.2";
+       private static final String VERSION = "0.4.3";
 
        public static final String getVersion() {
                return VERSION;