ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Bergstrom <rbergst...@iSolutionsCorp.com>
Subject RE: help with <javac>
Date Fri, 27 Jul 2001 12:27:30 GMT
Jason:

The problem is with the <pathelement> elements under <classpath>.  To
reference the previous identified paths, they should look like this:

<classpath>
   <path refid="mail.api" />
   <path refid="l2i.jars" />
   <path refid="ime.jars" />
</classpath>

Jason wrote:    
    <!-- 
       ===================================================================
         Build the code           
       =================================================================== 
    -->
    <target name="build">
        <mkdir dir="${build.dir}" />
        <mkdir dir="${classes.dir}" />
        
        <javac srcdir="${src.dir}" destdir="${classes.dir}">
            <classpath>
                <pathelement path="${mail.api}" />
                <pathelement path="${l2i.jars}/"/>
                <pathelement path="${ime.jars}"/>
            </classpath>
        </javac>
    </target>

Mime
View raw message