ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ikeda <anthony.ik...@proxima-tech.com>
Subject Can't get <classpath> to work.
Date Tue, 23 Jan 2001 00:03:19 GMT
I've tried this for a week now and still can't get it to work. Going through
the archives reveals only that people refer to this as $(classpath) but do
not show where this variable is defined. Here is a sample of my code that
can't find the libraries:

<?xml version="1.0"?>
<project name="buildWAR" default="dist" basedir=".">
	<property name="src" value="jsp"/>
	<property name="build" value="build"/>
	<path id="home.path">
		<pathelement location="D:\Program Files\jdk1.3\lib" />
		<pathelement location="D:\Program Files\jakarta-tomcat\lib"
/>
		<pathelement location="D:\Program Files\fop-0_14_0\lib" />
	</path>
	<target name="prepare">
		<tstamp/>
		<mkdir dir="docs/api"/>
	</target>
	<!--
	<target name="dist" depends="prepare">
		<mkdir dir="${dist}/lib"/>
		<jar jarfile="${dist}/lib/buildWAR-${DSTAMP}.jar"
basedir="${src}" />
	</target>
-->
	<target name="dist" depends="prepare">
		<javadoc packagenames="com.company.software.*"
classpathref="home.path" sourcepath="source" destdir="docs/api"
author="true" version="true" use="true" windowtitle="Tag Libraries"
doctitle="&lt;h1&gt;Tag Libraries&lt;/h1&gt;" bottom="&lt;i&gt;Copyright
&#169; 2000 Company Technology. All Rights Reserved.&lt;/i&gt;"
stylesheetfile="slaManage.css">
			<!--		    <link offline="true"
href="http://java.sun.com/products/jdk/1.2/docs/api/"
packagelistLoc="C:\tmp"/> -->
			<link
href="http://developer.java.sun.com/developer/products/xml/docs/api/"/>
			<classpath>
				<pathelement path="D:\program
Files\jdk1.3\lib"/>
				<pathelement path="D:\Program
Files\jakarta-tomcat\lib"/>
			</classpath>
		</javadoc>
	</target>
</project>

Cheers,
Anthony Ikeda,
Web Application Developer,
Proxima Technology,

Level 13,
181 Miller Street,
North Sydney
Australia


PH: +612-9458-1718
Mob: 041 624 5143


Mime
View raw message