|
From: <se...@us...> - 2008-02-20 17:08:32
|
Revision: 119
http://xoperator.svn.sourceforge.net/xoperator/?rev=119&view=rev
Author: seebi
Date: 2008-02-20 09:08:04 -0800 (Wed, 20 Feb 2008)
Log Message:
-----------
build system nice-ups
Modified Paths:
--------------
trunk/xOperator/build.xml
Removed Paths:
-------------
trunk/xOperator/dist/
Property Changed:
----------------
trunk/xOperator/
Property changes on: trunk/xOperator
___________________________________________________________________
Name: svn:ignore
+ dist
Modified: trunk/xOperator/build.xml
===================================================================
--- trunk/xOperator/build.xml 2008-02-20 17:02:19 UTC (rev 118)
+++ trunk/xOperator/build.xml 2008-02-20 17:08:04 UTC (rev 119)
@@ -1,31 +1,32 @@
-<?xml version="1.0"?>
-
-<project default="jar" basedir=".">
-
+<?xml version="1.0"?>
+
+<project default="jar" basedir=".">
+
<target name="compile" depends="prepareDist">
- <echo message="compiling" />
- <javac srcdir="src" destdir="bin" debug="on" source="1.5" target="1.5">
- <classpath>
- <fileset dir="lib">
- <include name="**/*.jar"/>
- </fileset>
- </classpath>
- </javac>
- <echo message="copying non java classes to into the bin directory"/>
+ <echo message="compiling" />
+ <javac srcdir="src" destdir="bin" debug="on" source="1.5" target="1.5">
+ <classpath>
+ <fileset dir="lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </classpath>
+ </javac>
+ <echo message="copying non java classes to into the bin directory"/>
<copy todir="bin" verbose="true">
<fileset dir="src" excludes="**/*.java **/package.html" />
</copy>
- </target>
+ </target>
<target name="jar" depends="compile">
<echo>Creating jar</echo>
<jar basedir="bin" destfile="dist/agent.jar" manifest="conf/MANIFEST.MF" />
- </target>
+ </target>
<target name="prepareDist">
+ <mkdir dir="dist/lib" />
<echo message="cleaning and preparing the dist directory" />
- <delete includeemptydirs="true">
- <fileset dir="dist" excludes="*.sh *.bat"/>
+ <delete includeemptydirs="true">
+ <fileset dir="dist" excludes="*.sh *.bat"/>
</delete>
<mkdir dir="dist/lib" />
<copy todir="dist/lib">
@@ -33,17 +34,17 @@
</copy>
<copy todir="dist">
<fileset dir="scripts" />
- </copy>
- <mkdir dir="dist/doc" />
- <copy todir="dist/doc">
- <fileset dir="doc" />
</copy>
- </target>
-
- <target name="javadoc">
- <javadoc destdir="doc">
- <packageset dir="src" />
- </javadoc>
- </target>
-
-</project>
+ <mkdir dir="dist/doc" />
+ <copy todir="dist/doc">
+ <fileset dir="doc" />
+ </copy>
+ </target>
+
+ <target name="javadoc">
+ <javadoc destdir="doc">
+ <packageset dir="src" />
+ </javadoc>
+ </target>
+
+</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|