diff --git a/build.xml b/build.xml index 7e9dde6a..c5ce8e8b 100755 --- a/build.xml +++ b/build.xml @@ -1,11 +1,11 @@ - + - + @@ -33,65 +33,65 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - - + + - + - - - - - - - - - + + + + + + + + + @@ -147,17 +147,17 @@ - - - + @@ -167,18 +167,18 @@ - + - + - - + + --> - - + + @@ -206,11 +206,11 @@ - + - + @@ -224,18 +224,18 @@ - - + + - - + + - - + + @@ -277,14 +277,14 @@ - + - + @@ -292,10 +292,10 @@ - + - + @@ -322,9 +322,9 @@ } -keep class org.eclipse.swt.internal.ole.win32.COMObject { <methods>; - } - -keep class org.eclipse.swt.dnd.ClipboardProxy { - <methods>; + } + -keep class org.eclipse.swt.dnd.ClipboardProxy { + <methods>; } -keep class org.eclipse.swt.internal.image.*FileFormat -keep class * { @@ -336,49 +336,49 @@ -keep class * { % *Proc(int, int, int); } - - + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -387,11 +387,11 @@ - + - - + + diff --git a/resources/messages.properties b/resources/messages.properties index baee990c..4c60b177 100755 --- a/resources/messages.properties +++ b/resources/messages.properties @@ -130,7 +130,7 @@ text.fetchers.preferences=Preferences of the selected fetcher text.fetcher.portText.send=Text to send (\\n, \\r, \\t and \\xXX are permitted) text.fetcher.portText.match=Regexp to match in the response text.fetcher.portText.replace=Regexp replacement string ($0 .. $9 are substituted for matched groups) -text.about=%NAME\n\nVersion: %VERSION\nBuild: %BUILD\nBuild date: %DATE\n\n%COPYLEFT +text.about=%NAME\n\nVersion: %VERSION\nBuild date: %DATE\n\n%COPYLEFT text.about.system=Java: %JAVA\nOS: %OS button.OK=&OK button.cancel=&Cancel diff --git a/src/net/azib/ipscan/config/Version.java b/src/net/azib/ipscan/config/Version.java index e76705c6..6eb9b133 100755 --- a/src/net/azib/ipscan/config/Version.java +++ b/src/net/azib/ipscan/config/Version.java @@ -16,7 +16,7 @@ import java.util.logging.Level; public class Version { public static final String NAME = "Angry IP Scanner"; - public static final String COPYLEFT = "© 2008 Anton Keks"; + public static final String COPYLEFT = "© 2009 Anton Keks"; public static final String WEBSITE = "http://www.angryip.org/"; @@ -35,7 +35,6 @@ public class Version { public static final String LATEST_VERSION_URL = "http://www.angryip.org/ipscan/IPSCAN.VERSION"; private static String version; - private static String build; private static String buildDate; /** @@ -48,16 +47,6 @@ public class Version { return version; } - /** - * @return build number of currently running Angry IP Scanner (retrieved from the jar file) - */ - public static String getBuildNumber() { - if (build == null) { - loadVersionFromJar(); - } - return build; - } - /** * @return build date of currently running Angry IP Scanner (retrieved from the jar file) */ @@ -76,7 +65,6 @@ public class Version { JarFile jarFile = new JarFile(new URI(path).getPath()); Attributes attrs = jarFile.getManifest().getMainAttributes(); version = attrs.getValue("Version"); - build = attrs.getValue("Build"); buildDate = attrs.getValue("Build-Date"); return; } @@ -85,7 +73,6 @@ public class Version { } } version = "current"; - build = "unknown"; buildDate = "today"; } diff --git a/src/net/azib/ipscan/gui/AboutDialog.java b/src/net/azib/ipscan/gui/AboutDialog.java index 21cf0a4f..3b7786af 100755 --- a/src/net/azib/ipscan/gui/AboutDialog.java +++ b/src/net/azib/ipscan/gui/AboutDialog.java @@ -39,7 +39,6 @@ public class AboutDialog extends AbstractModalDialog { String aboutText = Labels.getLabel("text.about"); aboutText = aboutText.replaceAll("%NAME", Version.NAME); aboutText = aboutText.replaceAll("%VERSION", Version.getVersion()); - aboutText = aboutText.replaceAll("%BUILD", Version.getBuildNumber()); aboutText = aboutText.replaceAll("%DATE", Version.getBuildDate()); aboutText = aboutText.replaceAll("%COPYLEFT", Version.COPYLEFT); Label aboutLabel = new Label(shell, SWT.NONE);