From: David ‘Bombe’ Roden Date: Mon, 10 Apr 2006 08:56:16 +0000 (+0000) Subject: version 0.4.3, fix forward edition numbers X-Git-Tag: 0.4.3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=47653a276ba2307820187ad126dfcacc147a105f;p=jSite.git version 0.4.3, fix forward edition numbers --- diff --git a/src/de/todesbaum/jsite/application/ProjectInserter.java b/src/de/todesbaum/jsite/application/ProjectInserter.java index 8ec92db..03072f8 100644 --- a/src/de/todesbaum/jsite/application/ProjectInserter.java +++ b/src/de/todesbaum/jsite/application/ProjectInserter.java @@ -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(); diff --git a/src/de/todesbaum/jsite/main/Version.java b/src/de/todesbaum/jsite/main/Version.java index c91b32c..1eb492e 100644 --- a/src/de/todesbaum/jsite/main/Version.java +++ b/src/de/todesbaum/jsite/main/Version.java @@ -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;