summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authornjames <njames@us.ibm.com>2015-02-28 23:22:28 -0600
committernjames <njames@us.ibm.com>2015-02-28 23:22:28 -0600
commit3f89e03c6240ddf873c3fca4f2ec34f151565029 (patch)
tree41cb3d07cad270b1ca278f2195ac9c42d488781c /build.xml
parent27e15399aeee4c9e3e702a32793bccf2cd68a2c2 (diff)
downloadserverwiz-3f89e03c6240ddf873c3fca4f2ec34f151565029.tar.gz
serverwiz-3f89e03c6240ddf873c3fca4f2ec34f151565029.zip
build launcher jar
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml32
1 files changed, 23 insertions, 9 deletions
diff --git a/build.xml b/build.xml
index 801677a..9e8be42 100644
--- a/build.xml
+++ b/build.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
- <property name="one-jar.dist.dir" value="c:/one-jar"/>
+ <property name="one-jar.dist.dir" value="c:/one-jar"/>
<property name="plugin.dir" value="C:\Program Files (x86)\eclipse.luna\eclipse\plugins"/>
- <import file="${one-jar.dist.dir}/one-jar-ant-task.xml" optional="true" />
+ <import file="${one-jar.dist.dir}/one-jar-ant-task.xml" optional="true" />
<path id="classpath">
<fileset dir="lib" includes="**/*.jar"/>
<fileset dir="C:\Program Files (x86)\eclipse.luna\eclipse\plugins" includes="**/*.jar"/>
@@ -13,46 +13,60 @@
<target name="compile">
<mkdir dir="build/classes"/>
+ <mkdir dir="build/jars"/>
<javac srcdir="src" destdir="build/classes" classpathref="classpath"/>
</target>
<target name="jar">
<mkdir dir="build"/>
- <one-jar destfile="build/serverwiz2_win64.jar" onejarmainclass="com.ibm.ServerWizard2.ServerWizard2">
+ <one-jar destfile="build/serverwiz2.jar" onejarmainclass="com.ibm.ServerWizard2.Launcher">
+ <main>
+ <fileset dir="build/classes"/>
+ </main>
+ <lib>
+ <fileset file="lib/json-simple-1.1.1.jar"/>
+ <fileset file="${plugin.dir}/org.eclipse.core.runtime_3.10.0.v20140318-2214.jar"/>
+ <fileset file="${plugin.dir}/org.eclipse.core.commands_3.6.100.v20140528-1422.jar"/>
+ </lib>
+ </one-jar>
+ <one-jar destfile="build/jars/serverwiz2_win64.jar" onejarmainclass="com.ibm.ServerWizard2.ServerWizard2">
<main>
<fileset dir="build/classes"/>
</main>
<lib>
<fileset file="lib/swt_win64.jar"/>
+ <fileset file="lib/json-simple-1.1.1.jar"/>
<fileset file="${plugin.dir}/org.eclipse.jface_3.10.1.v20140813-1009.jar"/>
<fileset file="${plugin.dir}/org.eclipse.core.runtime_3.10.0.v20140318-2214.jar"/>
<fileset file="${plugin.dir}/org.eclipse.core.commands_3.6.100.v20140528-1422.jar"/>
- <fileset file="${plugin.dir}/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar"/>
+ <fileset file="${plugin.dir}/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar"/>
</lib>
</one-jar>
- <one-jar destfile="build/serverwiz2_linux64.jar" onejarmainclass="com.ibm.ServerWizard2.ServerWizard2">
+ <one-jar destfile="build/jars/serverwiz2_linux64.jar" onejarmainclass="com.ibm.ServerWizard2.ServerWizard2">
<main>
<fileset dir="build/classes"/>
</main>
<lib>
<fileset file="lib/swt_linux64.jar"/>
+ <fileset file="lib/json-simple-1.1.1.jar"/>
<fileset file="${plugin.dir}/org.eclipse.jface_3.10.1.v20140813-1009.jar"/>
<fileset file="${plugin.dir}/org.eclipse.core.runtime_3.10.0.v20140318-2214.jar"/>
<fileset file="${plugin.dir}/org.eclipse.core.commands_3.6.100.v20140528-1422.jar"/>
- <fileset file="${plugin.dir}/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar"/>
+ <fileset file="${plugin.dir}/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar"/>
</lib>
</one-jar>
- <one-jar destfile="build/serverwiz2_win32.jar" onejarmainclass="com.ibm.ServerWizard2.ServerWizard2">
+ <one-jar destfile="build/jars/serverwiz2_win32.jar" onejarmainclass="com.ibm.ServerWizard2.ServerWizard2">
<main>
<fileset dir="build/classes"/>
</main>
<lib>
<fileset file="lib/swt_win32.jar"/>
+ <fileset file="lib/json-simple-1.1.1.jar"/>
<fileset file="${plugin.dir}/org.eclipse.jface_3.10.1.v20140813-1009.jar"/>
<fileset file="${plugin.dir}/org.eclipse.core.runtime_3.10.0.v20140318-2214.jar"/>
<fileset file="${plugin.dir}/org.eclipse.core.commands_3.6.100.v20140528-1422.jar"/>
- <fileset file="${plugin.dir}/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar"/>
+ <fileset file="${plugin.dir}/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar"/>
</lib>
- </one-jar>
+ </one-jar>
</target>
</project>
OpenPOWER on IntegriCloud