New upstream version 0.0+git20150825.a2e0518
Andreas Tille
4 years ago
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <classpath> | |
2 | <classpathentry kind="src" path="src"/> | |
3 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | |
4 | <classpathentry kind="lib" path="lib/javax.servlet.jar"/> | |
5 | <classpathentry kind="lib" path="lib/urlrewrite-2.6.0.jar"/> | |
6 | <classpathentry kind="lib" path="lib/ant-googlecode-0.0.1.jar"/> | |
7 | <classpathentry kind="output" path="bin"/> | |
8 | </classpath> |
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <projectDescription> | |
2 | <name>kmlframework</name> | |
3 | <comment></comment> | |
4 | <projects> | |
5 | </projects> | |
6 | <buildSpec> | |
7 | <buildCommand> | |
8 | <name>org.eclipse.jdt.core.javabuilder</name> | |
9 | <arguments> | |
10 | </arguments> | |
11 | </buildCommand> | |
12 | </buildSpec> | |
13 | <natures> | |
14 | <nature>org.eclipse.jdt.core.javanature</nature> | |
15 | </natures> | |
16 | </projectDescription> |
0 | <?xml version="1.0"?> | |
1 | <project name="kmlframework" default="jar" basedir="."> | |
2 | ||
3 | <property name="projectname" value="kmlframework"/> | |
4 | <property name="src.dir" location="${basedir}/src"/> | |
5 | <property name="lib.dir" location="${basedir}/lib"/> | |
6 | <property name="doc.dir" location="${basedir}/docs"/> | |
7 | <property name="javadoc.dir" location="${doc.dir}/javadoc"/> | |
8 | <property name="bin.dir" location="${basedir}/bin"/> | |
9 | <property name="jars.dir" location="jars"/> | |
10 | <property name="distribution.dir" location="${basedir}/distribution"/> | |
11 | ||
12 | <property file="build.properties"/> | |
13 | ||
14 | <path id="classpath"> | |
15 | <fileset dir="${lib.dir}" includes="**/*.jar"/> | |
16 | <pathelement location="${basedir}"/> | |
17 | <pathelement location="${bin.dir}"/> | |
18 | </path> | |
19 | ||
20 | <target name="compile"> | |
21 | <mkdir dir="${bin.dir}"/> | |
22 | <javac srcdir="${src.dir}" | |
23 | destdir="${bin.dir}" | |
24 | debug="on" | |
25 | classpathref="classpath" | |
26 | /> | |
27 | </target> | |
28 | ||
29 | <target name="jar"> | |
30 | <tstamp /> | |
31 | <delete dir="${jars.dir}"/> | |
32 | <mkdir dir="${jars.dir}"/> | |
33 | <jar jarfile="${jars.dir}/org.boehn.kmlframework_${DSTAMP}.jar" basedir="${bin.dir}"/> | |
34 | </target> | |
35 | ||
36 | <target name="distribution" depends="jar,javadoc"> | |
37 | <tstamp /> | |
38 | <delete dir="${distribution.dir}"/> | |
39 | <mkdir dir="${distribution.dir}"/> | |
40 | <mkdir dir="${distribution.dir}/org.boehn.kmlframework_${DSTAMP}"/> | |
41 | <copy file="${jars.dir}/org.boehn.kmlframework_${DSTAMP}.jar" todir="${distribution.dir}/org.boehn.kmlframework_${DSTAMP}"/> | |
42 | <copy todir="${distribution.dir}/org.boehn.kmlframework_${DSTAMP}/documentation"> | |
43 | <fileset dir="${doc.dir}"/> | |
44 | </copy> | |
45 | <copy todir="${distribution.dir}/org.boehn.kmlframework_${DSTAMP}/src"> | |
46 | <fileset dir="${src.dir}"/> | |
47 | </copy> | |
48 | <zip destfile="${distribution.dir}/org.boehn.kmlframework_${DSTAMP}.zip" basedir="${distribution.dir}/org.boehn.kmlframework_${DSTAMP}" keepcompression="true"/> | |
49 | </target> | |
50 | ||
51 | <target name="javadoc"> | |
52 | <javadoc | |
53 | packagenames="org.boehn.kmlframework.*" | |
54 | sourcepath="${src.dir}" | |
55 | excludepackagenames="org.boehn.kmlframework.examples.*" | |
56 | defaultexcludes="yes" | |
57 | destdir="${javadoc.dir}" | |
58 | author="true" | |
59 | version="true" | |
60 | use="true" | |
61 | windowtitle="KML Framework API" | |
62 | classpathref="classpath" | |
63 | /> | |
64 | </target> | |
65 | ||
66 | <target name="deploy" depends="distribution"> | |
67 | <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="${lib.dir}/ant-googlecode-0.0.1.jar" name="gcupload"/> | |
68 | <gcupload | |
69 | username="${gc.username}" | |
70 | password="${gc.password}" | |
71 | projectname="kmlframework" | |
72 | filename="${distribution.dir}/org.boehn.kmlframework_${DSTAMP}.zip" | |
73 | targetfilename="org.boehn.kmlframework_${DSTAMP}.zip" | |
74 | summary="Version ${DSTAMP}" | |
75 | /> | |
76 | </target> | |
77 | ||
78 | <target name="clean"> | |
79 | <delete dir="${jars.dir}"/> | |
80 | <delete dir="${bin.dir}"/> | |
81 | </target> | |
82 | ||
83 | </project>⏎ |
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown