diff options
-rw-r--r-- | build.xml | 20 | ||||
-rwxr-xr-x | src/Manifest.txt | 1 |
2 files changed, 19 insertions, 2 deletions
@@ -153,7 +153,7 @@ Test targets suppressed because -junit argument was not specified when running w | |||
153 | 153 | ||
154 | <target name="hosted" depends="devmode" description="Run development mode (NOTE: the 'hosted' target is deprecated)" /> | 154 | <target name="hosted" depends="devmode" description="Run development mode (NOTE: the 'hosted' target is deprecated)" /> |
155 | 155 | ||
156 | <target name="build" depends="gwtc" description="Build this project" /> | 156 | <target name="build" depends="gwtc,jar" description="Build this project" /> |
157 | 157 | ||
158 | <target name="war" depends="build" description="Create a war file"> | 158 | <target name="war" depends="build" description="Create a war file"> |
159 | <zip destfile="ESIEEquest.war" basedir="war" /> | 159 | <zip destfile="ESIEEquest.war" basedir="war" /> |
@@ -164,4 +164,22 @@ Test targets suppressed because -junit argument was not specified when running w | |||
164 | <delete dir="war/esieequest" failonerror="false" /> | 164 | <delete dir="war/esieequest" failonerror="false" /> |
165 | </target> | 165 | </target> |
166 | 166 | ||
167 | <target name="jar" depends="javac" description="Create a jar file"> | ||
168 | <jar destfile="bin/esieequest.jar" basedir="war/WEB-INF/classes"> | ||
169 | <zipgroupfileset dir="lib/" includes="*.jar" /> | ||
170 | <manifest> | ||
171 | <attribute name="Main-Class" value="esieequest.Main" /> | ||
172 | </manifest> | ||
173 | <fileset dir="res" /> | ||
174 | </jar> | ||
175 | </target> | ||
176 | |||
177 | <target name="public-doc" depends="libs" description="Generate public documentation"> | ||
178 | <javadoc classpathref="project.class.path" sourcepath="src" packagenames="esieequest.*" destdir="javadoc/public" access="public" windowtitle="ESIEEquest public documentation" /> | ||
179 | </target> | ||
180 | |||
181 | <target name="private-doc" depends="libs" description="Generate private documentation"> | ||
182 | <javadoc classpathref="project.class.path" sourcepath="src" packagenames="esieequest.*" destdir="javadoc/private" access="private" linksource="yes" windowtitle="ESIEEquest private documentation" /> | ||
183 | </target> | ||
184 | |||
167 | </project> | 185 | </project> |
diff --git a/src/Manifest.txt b/src/Manifest.txt deleted file mode 100755 index fcd916a..0000000 --- a/src/Manifest.txt +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | Main-Class: esieequest.Main | ||