ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject FW: Build.xml
Date Wed, 22 Oct 2003 19:46:26 GMT
I have about ready to kill myself over this one.  I have some support files
(jar.files) that need to be linked in during the compile but this just does
not seem to work.  Anyone got any ideas?

John D. Sanders    :-)
Sr. Consulting IT Architect - IBM
(760) 954-0637 or

Integrity is doing what is right even when no one is looking. 
Character is what you are willing to stand up for when someone is looking. 
<?xml version="1.0" ?>
<project name="tracs" default="archive">
<description>Gets the source from CVS; Compiles the programs
		and builds the EAR file.</description>
	<target name="init" description="Refreshes source files">
		<property name="root.dir"
location="/appl/cvs/builddir/*.java" />
		<path id="jar.files">
			<pathelement location="/Tracs/ead4j_common.jar" />
			<pathelement location="/Tracs/ead4j_jade.jar" />
			<pathelement location="/Tracs/ead4j_opal.jar" />
			<pathelement location="/Tracs/ead4j_topaz.jar" />
			<pathelement location="/Tracs/ead4j_topaz_jdbc.jar"
			<pathelement location="/Tracs/ead4j_topaz_ejb.jar"
			<pathelement location="/Tracs/ejssecurity.jar" />
			<pathelement location="/Tracs/jdom-b8.jar" />
			<pathelement location="/Tracs/log4j-1.2.7.jar" />
			<pathelement location="/Tracs/mq.jar" />
			<pathelement location="/Tracs/path_1.1-ejb.jar" />
			<pathelement location="/Tracs/vicunialite.jar" />
			<pathelement location="/Tracs/xercesImpl.jar" />
                        <pathelement location="/Tracs/xerces_1_4_4.jar" />
                        <pathelement location="/Tracs/xmlParserAPIs.jar" />
		<mkdir dir="build/classes" />
		<mkdir dir="dist" />
		<cvs command="checkout" package="Tracs_Java" 
			dest="${root.dir}" failonerror="yes" />
		<cvs command="checkout" package="Tracs_EJB" 
			dest="${root.dir}" failonerror="yes" />
		<cvs command="checkout" package="Tracs_Web" 
			dest="${root.dir}"  failonerror="yes" />
		<cvs command="checkout" package="Tracs" 
			dest="${root.dir}"  failonerror="yes" />

	<target name="compile" depends="init" 
		description="Compiles the programs">
		<javac srcdir="${root.dir}" destdir="build/classes" />
		<classpath refid="jar.files" />

	<target name="archive" depends="compile" 
		description="Creates the jar files">
		<jar destfile="dist/tracs.jar" basedir="build/classes" />

	<target name="cleanup" 
		description="Removes the directories that this file
		<delete dir="build" />
		<delete dir="dist" />
		<delete dir="Tracs" />
		<delete dir="Tracs_EJB" />
		<delete dir="Tracs_Java" />
		<delete dir="Tracs_Web" />

/appl/cvs/builddir/*.java/Tracs_Java/com/sbc/tracs/domain/AcctViewFa cannot resolve symbol

    [javac] symbol  : class TopazException

    [javac] location: class com.sbc.tracs.domain.AcctViewFactory

    [javac]     public abstract AcctView create(String acctStatId, List
listXML)throws TopazException,CACSException;



    [javac] 100 errors

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message