Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r36 - trunk/jbraid/build.xml

jbraid
Discussion topic

Back to topic list

svn commit: r36 - trunk/jbraid/build.xml

Reply

Author nitsan
Full name Nitsan Seniak
Date 2008-12-27 02:24:31 PST
Message Author: Nitsan
Date: 2008-12-27 02:24:30-0800
New Revision: 36

Added:
   trunk/jbraid/build.xml

Log:


Added: trunk/jbraid/build.xml
Url: http://jbraid.tigris​.org/source/browse/j​braid/trunk/jbraid/b​uild.xml?view=markup​&pathrev=36
====================​====================​====================​==================
--- (empty file)
+++ trunk/jbraid/build.xml 2008-12-27 02:24:30-0800
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="JBraid" default="makedist" basedir=".">
+
+ <target name="makedist" description="Makes a distrib of JBraid">
+
+ <antcall target="clean"/>
+ <antcall target="compile"/>
+ <antcall target="makejar"/>
+ <antcall target="javadoc"/>
+ <antcall target="makezip"/>
+ <antcall target="makewwwdoc"/>
+
+ </target>
+
+ <target name="makezip" description="Makes a zip of JBraid">
+
+ <zip destfile="../../dist​rib/jbraid.zip">
+
+ <fileset dir="." includes="src/**/*.java"/>
+ <fileset dir="." includes="lib/*.jar"/>
+ <fileset dir="." includes="doc/*.html" excludes="**/~*"/>
+ <fileset dir="." includes="doc/api/**/*"/>
+ <fileset dir="." includes="epl-v10.html"/>
+ <fileset dir="." includes="index.html"/>
+
+ </zip>
+
+ </target>
+
+ <target name="compile" description="Compiles the source code">
+
+ <javac srcdir="src" destdir="bin"/>
+
+ </target>
+
+ <target name="makejar" description="Create the jar files">
+
+ <jar jarfile="lib/jbraidrt.jar">
+ <fileset dir="bin" includes="/net/jbrai​d/runtime/**/*.class​"/>
+ <fileset dir="." includes="epl-v10.html"/>
+ <manifest>
+ <attribute name="Manifest-Version" value="1.0 beta 3"/>
+ </manifest>
+ </jar>
+
+ <jar jarfile="lib/jbraidl​ist.jar">
+ <fileset dir="bin" includes="/net/jbrai​d/listener/**/*.clas​s"/>
+ <fileset dir="." includes="epl-v10.html"/>
+ <zipfileset src="${java.home}/.​./lib/tools.jar"/​>
+ <manifest>
+ <attribute name="Manifest-Version" value="1.0 beta 3"/>
+ <attribute name="Main-Class" value="net.jbraid.li​stener.Listener"/​>
+ </manifest>
+ </jar>
+
+ </target>
+
+ <target name="javadoc" description="Create the API documentation">
+
+ <delete dir="doc/api" includes="**/*" includeemptydirs="true"/>
+ <javadoc access="public" destdir="doc/api" sourcepath="src" excludepackagenames=​"jbraidtest"/>
+
+ </target>
+
+ <target name="makewwwdoc" description="Creates the documentation for the Web site">
+
+ <delete dir="../../www" includes="**/*"/>
+ <copy todir="../../www">
+ <fileset dir="doc" includes="user-manua​l.html,release-notes​.html" excludes="**/~*"/>
+ </copy>
+ <copy todir="../../www">
+ <fileset dir="doc" includes="api/**/*"/>
+ </copy>
+ <copy file="doc/index-www.html" tofile="../../www/in​dex.html"/>
+ <replace dir="../../www" includes="**/*.html" encoding="Cp1252">
+ <replacetoken>​<![CDATA[</bod​y>]]></repl​acetoken>
+ <replacevalue>​<![CDATA[<scri​pt type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unes​cape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascrip​t'%3E%3C/script%3E")​);
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA​-6403609-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>]]>​</replacevalue​>
+ </replace>
+
+ </target>
+
+ <target name="clean" description="Cleans all generated files">
+
+ <delete dir="bin" includes="**/*" includeemptydirs="true"/>
+ <delete dir="lib" includes="**/*"/>
+
+ </target>
+
+</project>

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r36 - trunk/jbraid/build.xml nitsan Nitsan Seniak 2008-12-27 02:24:31 PST
Messages per page: