aboutsummaryrefslogtreecommitdiff
path: root/java/common/build.xml
diff options
context:
space:
mode:
authorfeng.qian.moz <feng.qian.moz@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-08-29 01:41:20 +0000
committerfeng.qian.moz <feng.qian.moz@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-08-29 01:41:20 +0000
commit68b748fc58cceaedb5c2a918237785bddfb0c27c (patch)
tree07198005915c229d0cbbc09b3993b947614278c0 /java/common/build.xml
parentInitial import, which includes the Windows client-side dump_syms tool, and (diff)
downloadbreakpad-68b748fc58cceaedb5c2a918237785bddfb0c27c.tar.xz
Common files for reporting and symbol server
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@5 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'java/common/build.xml')
-rw-r--r--java/common/build.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/java/common/build.xml b/java/common/build.xml
new file mode 100644
index 00000000..6dd2a885
--- /dev/null
+++ b/java/common/build.xml
@@ -0,0 +1,47 @@
+<project name="AirbagShared" default="compile" basedir=".">
+ <property name="src.home" value="${basedir}/src"/>
+ <property name="lib.home" value="${basedir}/../third-party"/>
+ <property name="dist.home" value="${basedir}/dist"/>
+ <property name="app.name" value="airbag-common"/>
+ <property name="doc.home" value="${basedir}/docs"/>
+ <property name="build.home" value="${basedir}/build"/>
+
+ <property name="compile.debug" value="true"/>
+ <property name="compile.deprecation" value="true"/>
+ <property name="compile.optimize" value="false"/>
+
+ <path id="compile.classpath">
+ <pathelement location="${lib.home}/servlet-api.jar"/>
+ </path>
+
+ <target name="compile"
+ description="Compile Java sources">
+ <mkdir dir="${build.home}"/>
+ <javac srcdir="${src.home}"
+ destdir="${build.home}"
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}">
+ <classpath refid="compile.classpath"/>
+ </javac>
+ </target>
+
+ <target name="javadoc" depends="compile"
+ description="Create Javadoc API documentation">
+ <mkdir dir="${dist.home}/docs"/>
+ <javadoc sourcepath="${src.home}"
+ destdir="${dist.home}/docs"
+ packagenames="*">
+ <classpath refid="compile.classpath"/>
+ </javadoc>
+ </target>
+
+ <target name="dist" depends="compile,javadoc"
+ description="Create binary distribution">
+ <mkdir dir="${dist.home}/docs"/>
+
+ <!-- Create JAR file -->
+ <jar jarfile="${dist.home}/${app.name}.jar"
+ basedir="${build.home}"/>
+ </target>
+</project>