Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Create a fileset in my own task

Create a fileset in my own task

2003-03-17       - By Dominique Devienne
Reply:     1     2     3  

Looks OK. Does it not work?

See Project#addReference in Ant's source code for adding references (Ids).

--DD

-----Original Message-----
From: Oliver Wulff [mailto:oliver.wulff@(protected)]
Sent: Monday, March 17, 2003 3:08 AM
To: ant-user@(protected)
Subject: Create a fileset in my own task

Hi

I'd like to create a fileset and add it to the project in my custom task.
Is this the right way of doing it:

LibFileSet fs = new LibFileSet();
fs.setProject( getProject() );
...

How can I define an id for this fileset?

Oliver


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.