File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 4848 </javac >
4949 </target >
5050 <target description =" Build all projects which reference this project. Useful to propagate changes." name =" build-refprojects" />
51- <target description =" copy Eclipse compiler jars to ant lib directory" name =" init-eclipse-compiler" >
52- <copy todir =" ${ ant.library.dir } " >
53- <fileset dir =" ${ ECLIPSE_HOME } /plugins" includes =" org.eclipse.jdt.core_*.jar" />
54- </copy >
55- <unzip dest =" ${ ant.library.dir } " >
56- <patternset includes =" jdtCompilerAdapter.jar" />
57- <fileset dir =" ${ ECLIPSE_HOME } /plugins" includes =" org.eclipse.jdt.core_*.jar" />
58- </unzip >
59- </target >
60- <target description =" compile project with Eclipse compiler" name =" build-eclipse-compiler" >
61- <property name =" build.compiler" value =" org.eclipse.jdt.core.JDTCompilerAdapter" />
62- <antcall target =" build" />
63- </target >
6451 <target name =" Frame (5)" >
6552 <java classname =" Frame" failonerror =" true" fork =" yes" >
6653 <classpath refid =" TowerDefence-2D.classpath" />
6754 </java >
6855 </target >
6956 <target name =" jar" >
7057 <mkdir dir =" bin/jar" />
71- <jar destfile =" bin/jar/TowerDefence2D.jar" basedir =" bin" >
72- <fileset dir =" ." includes =" Save/**" />
73- <fileset dir =" ." includes =" Resource/**" />
58+ <jar destfile =" bin/jar/TowerDefence2D.jar" basedir =" bin" filesetmanifest =" mergewithoutmain" >
7459 <manifest >
7560 <attribute name =" Main-Class" value =" Frame" />
61+ <attribute name =" Class-Path" value =" ." />
7662 </manifest >
63+ <fileset dir =" bin" />
7764 </jar >
7865 </target >
7966</project >
You can’t perform that action at this time.
0 commit comments