From 50bf01ce48289bc497bfae80e63cc353b5954edf Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 26 Jun 2013 02:21:03 +0200 Subject: [PATCH] Improve build. --- .classpath | 2 +- build.num | 2 +- build.properties | 3 + build.xml | 190 +++++--------------------- demo/{XidDemo.java => XidynDemo.java} | 4 +- jarbuild.xml | 128 +++++++++++++++++ rundemo | 2 +- runtest | 2 - 8 files changed, 173 insertions(+), 160 deletions(-) create mode 100644 build.properties rename demo/{XidDemo.java => XidynDemo.java} (99%) create mode 100644 jarbuild.xml delete mode 100755 runtest diff --git a/.classpath b/.classpath index ffbf8f3..08a191a 100644 --- a/.classpath +++ b/.classpath @@ -1,8 +1,8 @@ - + diff --git a/build.num b/build.num index 09325fd..79b3186 100644 --- a/build.num +++ b/build.num @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! #Thu Jun 20 02:51:05 CEST 2013 -build.number=0 +build.number=1 diff --git a/build.properties b/build.properties new file mode 100644 index 0000000..7aebf28 --- /dev/null +++ b/build.properties @@ -0,0 +1,3 @@ +product.name=xidyn +product.revision.major=0 +product.revision.minor=2 diff --git a/build.xml b/build.xml index b61df56..7833db5 100644 --- a/build.xml +++ b/build.xml @@ -1,165 +1,49 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/demo/XidDemo.java b/demo/XidynDemo.java similarity index 99% rename from demo/XidDemo.java rename to demo/XidynDemo.java index 47bcbf3..03dc085 100644 --- a/demo/XidDemo.java +++ b/demo/XidynDemo.java @@ -9,7 +9,7 @@ import fr.devinsy.xidyn.StringPresenter; /** * */ -class XidDemo +class XidynDemo { static { @@ -18,7 +18,7 @@ class XidDemo org.apache.log4j.Logger log = null; log = org.apache.log4j.Logger.getRootLogger(); - log = org.apache.log4j.Logger.getLogger(XidDemo.class); + log = org.apache.log4j.Logger.getLogger(XidynDemo.class); } /** diff --git a/jarbuild.xml b/jarbuild.xml new file mode 100644 index 0000000..da1bef1 --- /dev/null +++ b/jarbuild.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Type ant -p + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rundemo b/rundemo index 996d4e5..50baf00 100755 --- a/rundemo +++ b/rundemo @@ -1,2 +1,2 @@ #$JAVA_HOME/bin/java -classpath lib/activation.jar:lib/log4j-1.2.14.jar:lib/mail.jar:servlet-api.jar:dist/xid.jar:dist/demo.jar XidDemo -$JAVA_HOME/bin/java -classpath lib/activation.jar:lib/log4j-1.2.14.jar:lib/mail.jar:servlet-api.jar:build/classes/ XidDemo +$JAVA_HOME/bin/java -classpath lib/activation.jar:lib/log4j-1.2.14.jar:lib/mail.jar:servlet-api.jar:build/classes:build/demo-classes/:demo.jar:xidyn*.jar XidynDemo diff --git a/runtest b/runtest deleted file mode 100755 index a1eba7e..0000000 --- a/runtest +++ /dev/null @@ -1,2 +0,0 @@ -# $JAVA_HOME/bin/java -classpath lib/activation.jar:lib/log4j-1.2.14.jar:lib/mail.jar:servlet-api.jar:dist/xid.jar:dist/test.jar xid.test.Test -$JAVA_HOME/bin/java -classpath lib/activation.jar:lib/log4j-1.2.14.jar:lib/mail.jar:servlet-api.jar:dist/xid.jar:build/classes/ XidTest