<?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" /> <property name="ttg" value="D:/depot/pd/ttg" /> <property name="classpath" value="${ttg}/lib/servlet.jar:${ttg}/lib/servlet.zip"/> <filter token="version" value="${ver}" /> <filter token="year" value="2001" /> </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/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.api.*"/> </javadoc> </target> <target name="clean" depends="init"> <delete dir="${build}" /> <delete dir="${dist}" /> </target> <target name="test"> <java classname="com.perforce.api.Client perforce.ma.lycos.com:1666 dmarkley" classpath="${classpath}:build" fork="on"/> </target> </project>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5093 | Hari Krishna Dara |
Populating perforce branch. I will be adding p4admin files to it. |
||
//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. |