You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Hannes van der Merwe <Ha...@meb.co.za> on 2001/12/10 09:38:05 UTC

How can one setup special filesets?

I want to do the following:

Loop through a <path> containing java source files (*.java) , remembering
their names (exluding ".java") and appending ".class" to build a new path
which contains the resulting java classes as it will be generated by
"javac".

Hannes van der Merwe
Momentum Employment Benefits (IT)
Telephone : (011) 685 4306
Fax : (011) 685 4006
Email : hannesv@meb.co.za

E-mail disclaimer

Confidentiality Warning
=======================
The contents of this message and any attachments are intended solely for the
addressee's use and may be legally privileged and/or confidential. If you
are not the addressee indicated in this message, any retention,
distribution, copying or use of this message is strictly prohibited. If you
received this message in error, kindly notify the sender immediately by
reply e-mail and then destroy the message and any copies thereof. The
content and any views expressed therein are, unless otherwise stated, the
views of the author and not those of the company or any of its management or
directors. 
Whilst all reasonable steps are taken to ensure the accuracy and integrity
of information transmitted, the company does not accept responsibility for
any corruption of the information or data or breach of confidentiality as a
result of electronic submission.
When addressed to the Momentum Employee Benefits clients any opinion or
advice contained in this e-mail is subject to the terms and conditions
expressed in any applicable terms of business.


Re: How can one setup special filesets?

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 10 Dec 2001, Hannes van der Merwe <Ha...@meb.co.za> wrote:

> Loop through a <path> containing java source files (*.java) ,
> remembering their names (exluding ".java") and appending ".class" to
> build a new path which contains the resulting java classes as it
> will be generated by "javac".

And then use them inside a task of your own?  If so, look at FileSet
(just use one for each entry in yout path) and Mapper, they should be
usable in just this fashion.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How can one setup special filesets?

Posted by Diane Holt <ho...@yahoo.com>.
--- Hannes van der Merwe <Ha...@meb.co.za> wrote:
> I want to do the following:
> 
> Loop through a <path> containing java source files (*.java) ,
> remembering their names (exluding ".java") and appending ".class" to
> build a new path which contains the resulting java classes as it will
> be generated by "javac".

Why can't you just do a <fileset> of the .class files?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>