From: Pavel V. <va...@us...> - 2002-01-15 08:12:21
|
Update of /cvsroot/javaprofiler/jpiimpl In directory usw-pr-cvs1:/tmp/cvs-serv12082 Modified Files: build.xml Log Message: fixies Index: build.xml =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** build.xml 2002/01/14 08:01:32 1.1 --- build.xml 2002/01/15 08:12:17 1.2 *************** *** 2,5 **** --- 2,11 ---- <project basedir="../" default="compile" name="jpiimpl"> + <!-- configuration ************************************************** --> + <path id="project.doxygen.dir" path="D:\Program Files\doxygen-1.2.12"/> + <path id="project.doxygen.exec" path="${project.doxygen.dir}\bin\doxygen.exe"/> + + <!-- end of configuration ******************************************* --> + <!-- Common classpath --> <path id="project.classpath"> *************** *** 7,16 **** <pathelement location="interface"/> </path> ! ! <target name="init"> <!-- You can set up any variables you want used throughout the script here. --> <property name="hello" value="world"/> ! </target> <!-- <target depends="init" name="interface"> --- 13,32 ---- <pathelement location="interface"/> </path> ! ! <!-- Common jar pattern set --> ! <patternset id="project.jarpattern.exclude" > ! <exclude name="**/*.java"/> ! <exclude name="**/*.bak"/> ! <exclude name="**/*.form"/> ! <exclude name="**/.nbattrs"/> ! <exclude name="docs"/> ! <!-- others are in deafult exlcudes (cvsfiles, "*~",".#*", etc.) --> ! </patternset> ! <target name="init"> <!-- You can set up any variables you want used throughout the script here. --> <property name="hello" value="world"/> ! </target> ! <!-- <target depends="init" name="interface"> *************** *** 27,30 **** --- 43,47 ---- </target> --> + <target depends="init" name="compile"> <property name="cp" refid="project.classpath"/> *************** *** 38,41 **** --- 55,59 ---- </target> + <target depends="init,compile" name="jar"> <!-- To make a standalone app: --> *************** *** 45,60 **** <!-- Main-Class: com.foo.Main --> <!-- 3. Pass to <jar>: manifest="myapp.mf" --> ! <jar basedir="jpiimpl" compress="true" jarfile="jpiimpl/jpiimpl.jar" defaultexcludes="yes"> ! <!-- How can I include interface too? --> ! <include name="net/**/*"/> ! <exclude name="**/*.java"/> ! <exclude name="**/*.form"/> ! <exclude name="**/.nbattrs"/> ! <exclude name="jpiimpl.mf"/> ! <exclude name="jpiimpl.jar"/> ! <exclude name="docs"/> </jar> </target> <target depends="init,jar,javadoc,doxygen" description="Build everything." name="all"> <echo message="Application built. "/> --- 63,81 ---- <!-- Main-Class: com.foo.Main --> <!-- 3. Pass to <jar>: manifest="myapp.mf" --> ! <jar compress="true" jarfile="jpiimpl/jpiimpl.jar" defaultexcludes="yes"> ! <fileset dir="jpiimpl"> ! <include name="net/**/*"/> ! <patternset refid="project.jarpattern.exclude"/> ! <exclude name="jpiimpl.mf"/> ! <exclude name="jpiimpl.jar"/> ! </fileset> ! <fileset dir="interface"> ! <include name="net/**/*"/> ! <patternset refid="project.jarpattern.exclude"/> ! </fileset> </jar> </target> + <target depends="init,jar,javadoc,doxygen" description="Build everything." name="all"> <echo message="Application built. "/> *************** *** 68,78 **** <!-- <arg file="myfile.txt"/> </java> </target> --> ! <!-- group="JPI_interface net.sourceforge.net.jpi*,JPI_implementation net.sourceforge.net.jpiimpl*" --> ! <target depends="init" description="Javadoc for my API." name="javadoc"> ! <mkdir dir="docs/javadoc"/> ! <javadoc defaultexcludes="yes" destdir="docs/javadoc" private="on"> <package name="net.sourceforge.javaprofiler.jpiimpl.*"/> <package name="net.sourceforge.javaprofiler.jpi.*"/> <sourcepath> <pathelement location="interface"/> --- 89,113 ---- <!-- <arg file="myfile.txt"/> </java> </target> --> ! ! <target depends="init" description="Javadoc for my API." name="javadoc" > ! <mkdir dir="jpiimpl/docs/javadoc"/> ! <javadoc defaultexcludes="yes" destdir="jpiimpl/docs/javadoc" private="on" ! Windowtitle="JPI and Implementation" ! group="JPI net.sourceforge.javaprofiler.jpi*,Implementation net.sourceforge.javaprofiler.jpiimpl*"> ! <doctitle>Java Profiling Interface and Implementation</doctitle> <package name="net.sourceforge.javaprofiler.jpiimpl.*"/> <package name="net.sourceforge.javaprofiler.jpi.*"/> + <!-- <group title="Group 1 Packages" packages="net.sourceforge.javaprofiler.jpi*"/> + <group title="Group 2 Packages" packages="com.dummy.test.b*:com.dummy.test.c*:net*"/> + --> + + <!-- <group title="Java Profiling Interface" > + <package name="net.sourceforge.javaprofiler.jpi*"/> + </group> + <group title="Implementation" > + <package name="net.sourceforge.net.jpiimpl*"/> + </group> --> + <sourcepath> <pathelement location="interface"/> *************** *** 82,89 **** </target> <target depends="init" description="Doxygen documentation for my API." name="doxygen"> ! <mkdir dir="docs/doxygen"/> </target> <target depends="init" description="Clean all build products." name="clean"> <delete> --- 117,131 ---- </target> + <target depends="init" description="Doxygen documentation for my API." name="doxygen"> ! <mkdir dir="jpiimpl/docs/doxygen"/> ! <!-- <exec executable="doxygen" failonerro="no"> //+params for os ! <arg line=""/> ! <arg vaule=""/> ! <arg path=""/> ! </exec> --> </target> + <target depends="init" description="Clean all build products." name="clean"> <delete> *************** *** 97,104 **** </fileset> </delete> ! <delete file="jpiimpl.jar"/> ! <delete dir="docs/javadoc"/> ! <delete dir="docs/doxygen"/> </target> ! </project> --- 139,146 ---- </fileset> </delete> ! <delete file="jpiimpl/jpiimpl.jar"/> ! <delete dir="jpiimpl/docs/javadoc"/> ! <delete dir="jpiimpl/docs/doxygen"/> </target> ! </project> |