Thanks Diane,
But did you notice that I had used a <fileset> tag inside
path to describe a set of files?
This is the example that ant documentation gives, on the basis
of which I was working on:
<documentation>
A path-like structure can include a reference to another path-like structure
via nested <path> elements:
<path id="base.path">
<pathelement path="${classpath}"/>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
<pathelement location="classes"/>
</path>
........................
<project ... >
<path id="project.class.path">
<pathelement location="lib/"/>
<pathelement path="${java.class.path}/"/>
<pathelement path="${additional.path}"/>
</path>
<target ... >
<rmic ...>
<classpath refid="project.class.path"/>
</rmic>
</target>
<target ... >
<javac ...>
<classpath refid="project.class.path"/>
</javac>
</target>
</project>
</documentation>
----- Original Message -----
From: "Diane Holt" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 11:01 AM
Subject: Re: Path, refid, <src>
> --- Gurdev Parmar <[EMAIL PROTECTED]> wrote:
> > Isn't path id supposed to be used to have a template of a set of files?
>
> No, <path> is used to define a path, <fileset> is used to group a set of
> files, and <patternset> is used to define a pattern of includes/excludes
> that can be reused (anchoring it at different base directories).
>
> Diane
>
> =====
> ([EMAIL PROTECTED])
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>