ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gurdev Parmar" <gpar...@versant.com>
Subject Path, refid, <src>
Date Fri, 26 Apr 2002 17:41:30 GMT
Hi,
my build.xml has something like this:

<project ......>
 ........
.........

<path id="framework.src">
    <fileset dir="${base.dir}">
    <include name="framework/*.java"/>
     <include name="eshop/src/client/AbstractAppServer.java"/>
   </fileset>
</path>

    <target name="framework"
            description="Creates framework.jar in install directory">
        <javac destdir="${out.classes.dir}" failonerror="true"
               debug="${debug}" deprecation="${deprecation}" optimize="${optimize}">
            <src refid="framework.src"/>
            <classpath path="${project.class.path}"/>
        </javac>
        ............
    </target>
..........
..........
</project>

Now, I get the following error 
n:\gsp_v\test\syseng\java\bin\build.xml:251: N:\gsp_v\test\syseng\java\framework\AbstractTestClient.java
is not a directory.

Isn't path id supposed to be used to have a template of a set of files?
Or is it for a template of directories? If it is for directories, why was it done
like that?

Is this a bug? I am using: Ant version 1.4.1 compiled on October 11 2001.

Thanks in advance,
Gurdev

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