From 47653a276ba2307820187ad126dfcacc147a105f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 10 Apr 2006 08:56:16 +0000 Subject: [PATCH] version 0.4.3, fix forward edition numbers --- src/de/todesbaum/jsite/application/ProjectInserter.java | 2 +- src/de/todesbaum/jsite/main/Version.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4