<?xml version="1.0"?> <project name="P4Package" default="dist" basedir="."> <target name="init"> <tstamp/> <property name="build" value="build" /> <property name="src" value="com/perforce/api" /> <property name="dist" value="dist" /> <property name="ver" value="3.0.1" /> <filter token="version" value="${ver}" /> <filter token="year" value="2008" /> </target> <target name="prepare" depends="init"> <mkdir dir="${build}" /> <copy todir="${build}"> <fileset dir="${src}" includes="**.java"/> </copy> </target> <target name="compile" depends="prepare"> <javac srcdir="${build}" destdir="${build}" classpath="${classpath}"/> </target> <target name="dist" depends="compile"> <mkdir dir="${dist}" /> <jar jarfile="${dist}/p4.jar" basedir="${build}" includes="com/perforce/api/*.class"/> </target> <target name="deploy" depends="compile"> <jar jarfile="../lib/p4.jar" basedir="${build}" includes="com/perforce/api/*.class"/> </target> <target name="docs" depends="prepare"> <mkdir dir="${dist}/docs" /> <javadoc packagenames="com.perforce.api.*" sourcepath="." excludepackagenames="p4.*" defaultexcludes="yes" destdir="${dist}/docs" author="true" version="true" use="true" nodeprecated="true" windowtitle="Perforce API"> <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/" packagelistLoc="jdk"/> <doctitle><![CDATA[<h1>Perforce API</h1>]]></doctitle> <header><![CDATA[<a target="_top" href="http://www.perforce.com/"><img alt="Perforce" border="0" height="44" width="151" src="doc-files/perforce_logo.gif"></a>]]></header> <bottom><![CDATA[<i><a href="doc-files/LICENSE.TXT">Copyright</a> © 2008, Perforce Software, All rights reserved.</i>]]></bottom> <group title="Perforce Packages" packages="com.perforce.api.*"/> </javadoc> </target> <target name="clean" depends="init"> <delete dir="${build}" /> <delete dir="${dist}" /> </target> </project>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 6159 | Sivananda Poreddy | Updating my guest branch with fixes | ||
#1 | 5992 | Sivananda Poreddy | Creating my own branch from original base | ||
//public/perforce/api/java/p4package/build.xml | |||||
#2 | 1334 | David Markley |
Added more example code. Added the Counter class. Corrected the filelog methods for the FileEntry class. |
||
#1 | 1043 | David Markley | Initial branch to public area. | ||
//guest/david_markley/p4package/build.xml | |||||
#2 | 1042 | David Markley | Corrected the getUsers method and the build.xml file. | ||
#1 | 1034 | David Markley |
Added P4Package sources as subset of the P4WebPublisher project. Copyright (c) 2001, Perforce Software, All rights reserved. |