diff --git a/build.xml b/build.xml
index 4e2c471c..2a2ec2f1 100644
--- a/build.xml
+++ b/build.xml
@@ -357,6 +357,12 @@
+
+
+
+
+
+
diff --git a/source/net/sourceforge/filebot/Settings.java b/source/net/sourceforge/filebot/Settings.java
index 772765b6..510ccfdb 100644
--- a/source/net/sourceforge/filebot/Settings.java
+++ b/source/net/sourceforge/filebot/Settings.java
@@ -31,7 +31,11 @@ public final class Settings {
public static int getApplicationRevisionNumber() {
- return Integer.parseInt(getApplicationProperty("application.revision"));
+ try {
+ return Integer.parseInt(getApplicationProperty("application.revision"));
+ } catch (Exception e) {
+ return 0;
+ }
}
diff --git a/source/net/sourceforge/filebot/Settings.properties b/source/net/sourceforge/filebot/Settings.properties
index 921dd22c..85d9f359 100644
--- a/source/net/sourceforge/filebot/Settings.properties
+++ b/source/net/sourceforge/filebot/Settings.properties
@@ -1,7 +1,7 @@
# application settings
application.name: FileBot
application.version: 2.5
-application.revision: 905
+application.revision: @{svn.revision}
# application updates
update.url = http://filebot.sourceforge.net/update.xml