From: Tyron E. <ty...@us...> - 2004-03-22 15:27:02
|
Update of /cvsroot/junk/junk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9910 Added Files: build.xml Log Message: renamed --- NEW FILE: build.xml --- <?xml version="1.0" encoding="UTF-8"?> <project basedir="WEB-INF/classes/." default="all" name="juNK"> <target name="init"> <echo message="setting central properties" /> <property name="version" value="0.1 alpha" /> <property name="lib-dir" value="../lib" /> </target> <target name="manifest"> <manifest file="../../META-INF/MANIFEST.MF"> <attribute name="Built-By" value="${user.name}"/> <section name="junk"> <attribute name="Specification-Title" value="java useful Net Kollektor"/> <attribute name="Specification-Vendor" value="U. v. Heesch, M. Proest"/> <attribute name="Specification-Version" value="${version}"/> <attribute name="Implementation-Title" value="junk"/> <attribute name="Implementation-Vendor" value="U. v. Heesch, M. Proest"/> <attribute name="Implementation-Version" value="${version}"/> </section> </manifest> </target> <target depends="init, clean-classes" name="compile" description="Compile the classes"> <javac debug="true" deprecation="true" destdir="." srcdir="."> <classpath> <fileset dir="${lib-dir}"> <include name="**/*.jar"/> </fileset> </classpath> </javac> </target> <target depends="init, clean-binary, compile, manifest" name="war" description="Create WAR file"> <war basedir="../../." compress="true" destfile="../../junk.war" webxml="../web.xml" manifest="../../META-INF/MANIFEST.MF" > <exclude name="**/*.java"/> <exclude name="**/*.form"/> <exclude name="**/.nbattrs"/> <exclude name="**/hostmap"/> <exclude name="**/*.war"/> <exclude name="**/.nbintdb"/> <exclude name="**/*~*"/> <exclude name="**/web.xml"/> <exclude name="apidoc"/> <exclude name="make.xml"/> </war> </target> <target depends="clean, javadoc, war" description="Build everything." name="all"> <echo message="Application built." /> </target> <target depends="init, clean-doc" description="javadoc" name="javadoc"> <mkdir dir="../../apidoc"/> <javadoc destdir="../../apidoc" packagenames="junk.*" Windowtitle=" juNK API " Use="true" access="private" > <doctitle>juNK [java usefull Net Kollektor] API Documentation</doctitle> <bottom><![CDATA[<center><a target="_blank" href="http://junk.sf.net">Homepage</a></center>]]></bottom> <link href="http://java.sun.com/j2se/1.4.2/docs/api/" /> <link href="http://jakarta.apache.org/struts/api/" /> <link href="http://jakarta.apache.org/commons/logging/api/" /> <sourcepath> <pathelement location="."/> </sourcepath> <classpath> <fileset dir="${lib-dir}"> <include name="**/*.jar"/> </fileset> </classpath> </javadoc> </target> <target depends="clean-doc, clean-classes, clean-war" description="Clean all build products." name="clean" /> <target depends="clean-classes, clean-war" name="clean-binary" /> <target name="clean-classes"> <delete> <fileset dir="."> <include name="**/*.class"/> </fileset> </delete> </target> <target name="clean-war"> <delete file="../../junk.war"/> </target> <target name="clean-doc"> <delete dir="../../apidoc"/> </target> </project> |