<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.1.0" /> <property name="ttg" value="D:/depot/pd/ttg" /> <property name="classpath" value="${ttg}/lib/servlet.jar;${ttg}/lib/servlet.zip;../io-v0_6/com.jkristian.io.jar"/> <filter token="version" value="${ver}" /> <filter token="year" value="2005" /> </target> <target name="compile" depends="init"> <mkdir dir="${build}" /> <javac srcdir="." includes="${src}/**/*.java" destdir="${build}" classpath="${classpath}"/> </target> <target name="dist" depends="compile"> <mkdir dir="${dist}" /> <copy todir="${build}"> <fileset dir="${src}" includes="**/*.java"/> </copy> <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="init"> <mkdir dir="${dist}/docs" /> <javadoc packagenames="com.perforce.api,com.perforce.api.protocol.p4" 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/products/jdk/1.3/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> © 2001, Perforce Software, All rights reserved.</i>]]></bottom> <group title="Perforce Packages" packages="com.perforce.*"/> </javadoc> <copy todir="${dist}/docs"> <fileset dir="." includes="${src}/**/LICENSE.TXT"/> </copy> </target> <target name="clean" depends="init"> <delete dir="${build}" /> <delete dir="${dist}" /> </target> <target name="test" depends="compile"> <java classname="com.perforce.api.Client" classpath="${classpath};build" fork="on"> <arg value="perforce.ma.lycos.com:1666"/> <arg value="dmarkley"/> </java> <java classname="com.perforce.api.protocol.p4.Handler" classpath="${classpath};build" fork="on"> <arg value="//guest/john_kristian/p4URL/src/com/jkristian/io/ByteCopier.java#1"/> <arg value="//guest/john_kristian/p4URL/src/com/jkristian/io/ByteCopier.java#2"/> <arg value="//guest/john_kristian/p4URL/src/com/jkristian/io/ByteCopier.java"/> </java> </target> </project>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 5071 | John Kristian | upgrade to io-v0_6 | ||
#5 | 5054 | John Kristian |
Added a test case for p4 URLs. This software requires io-v0_5 or later. |
||
#4 | 5049 | John Kristian | added io-v0_4 to Perforce (to simplify downloading it) | ||
#3 | 5047 | John Kristian |
This version builds and runs. It depends on Java 1.4 and com.jkristian.io. |
||
#2 | 5046 | John Kristian | got `.\ant test` working | ||
#1 | 5045 | John Kristian | copied from the current release | ||
//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. |