ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JOHN SANDERS" <joh_...@msn.com>
Subject Arrrgggg!!!!
Date Wed, 22 Oct 2003 20:22:54 GMT
I am 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?

=========
BUILD.XML
=========
<?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" />
            </path>
            <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>
  
      <target name="compile" depends="init"  
            description="Compiles the programs">
            <javac srcdir="${root.dir}" destdir="build/classes" />
            <classpath refid="jar.files" />
      </target>
  
      <target name="archive" depends="compile"  
            description="Creates the jar files">
            <jar destfile="dist/tracs.jar" basedir="build/classes" />
      </target>
  
      <target name="cleanup"  
            description="Removes the directories that this file creates.">
            <delete dir="build" />
            <delete dir="dist" />
            <delete dir="Tracs" />
            <delete dir="Tracs_EJB" />
            <delete dir="Tracs_Java" />
            <delete dir="Tracs_Web" />
      </target>
</project>
  
==========
Errors
==========
    [javac] /appl/cvs/builddir/*.java/Tracs_Java/com/sbc/tracs/domain/AcctViewFa
ctory.java:45: 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]                                                                      
        ^                                                                        
    [javac] 100 errors                                                           
  
John D. Sanders
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message