using javac task with a fileset

2002-10-04 Thread Elizabeth Cooper
I know that javac only takes a patternset as a nested element. However, I have a need to use a fileset with javac. For example, I have defined a thusly: And this is exactly the "set" of files I would like to compile: But, I cannot do (directly):

modified xmlproperty

2002-10-04 Thread Paul Christmann
I've written a modified version of the XmlProperty task with the following additional behavior: + support for some "semantic" attributes: location, refid, id attributes can be used in the XML file, with roughly the same meaning as with tasks in a build file. + support for ${..} dereferencing of

[FIX?] Re: Bug in Ant? - More information (examined source and modified)

2002-10-04 Thread Ryan Cuprak
I think I have come up with a way to fix things although it is more of a kludge in my book. I would appreciate it if others could check the effect this has on their code and make sure it does not have any adverse effect!! I made the modifications to the 1.5.1 downloadable from ant's website -

loadproperties gotcha

2002-10-04 Thread Shackelford, John-Mason
I need to look at the source to confirm, but it looks to me like does not behave as in that when two identical properties occur in the same file the last rather than the first value is set. John-Mason Shackelford Software Developer NCS Pearson - Measurement Services 2510 North Dodge St. Iowa

RE: Bug in Ant? - More information (examined source and modified)

2002-10-04 Thread Ryan Cuprak
Trying to track down this problem, I modified Target.java with System.err statements to check variable types. Basically, if I run the task directly, o is an instance of Task but if I run utilities-build via antcall, my AntTask is no longer a 'Task' but a RuntimeConfigurable. Does anyone have

Re: Task-writing tutorial anywhere?

2002-10-04 Thread Steve Loughran
> > It only runs out of memory if I run this as the last step of a long build > process. If I run it by itself it works ok. > > Something in Ant 1.5 is leaking memory. But I haven't investigated yet to > determine what. there is an related leak in 1.5; may be fixed in 1.5.1 or cvshead -- To

RE: Task-writing tutorial anywhere?

2002-10-04 Thread Shackelford, John-Mason
I am still green but I'd be willing to bet that the problem lies with your antcalls and not with the filters. John-Mason Shackelford Software Developer NCS Pearson - Measurement Services 2510 North Dodge St. Iowa City, IA 52245 319-354-9200x6214 [EMAIL PROTECTED] -Original Message- F

RE: Task-writing tutorial anywhere?

2002-10-04 Thread Brian DeWeese
I've written a couple of filters as well and I have problems with running out of memory. However, it may be a problem with instead. I make aprox. 20 calls to to run a target that uses filters to parse specialized portions of the javadoc in a .java file into an .html file. I use to do this pars

Bug in Ant? Custom tasks aren't executed (set methods are called though) only when "antcall" is used.

2002-10-04 Thread Ryan Cuprak
Hello,   I am having a problem with Ant that has me slightly baffled and very frustrated. It seems my custom ant tasks will not be run if they are inside an ant target called via "antcall". The set properties will however be called. For instance, in the code below, the setMessage and setFi

Re: Task-writing tutorial anywhere?

2002-10-04 Thread Steve Loughran
- Original Message - From: "Shackelford, John-Mason" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 9:05 AM Subject: RE: Task-writing tutorial anywhere? > You can obtain a PDF of the Hatcher / Loughran book immediately at the > Manning site

tar --old-archive option

2002-10-04 Thread daves . subscriptions
Is there a way to pass gnu-tar's --old-archive to the tar task? I could call tar directly via exec, but I would lose all the benefits of tarfileset. Thanks, -- Dave -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Task-writing tutorial anywhere?

2002-10-04 Thread Shackelford, John-Mason
* Filter Plug * I've just completed five new filters (still testing and writing docs) and from now on I am going to make a habit of asking myself--could this task be a filter? As filterchains allow one to pipe the output of one transformation to the input of another, tasks implemented as filters

RE: Task-writing tutorial anywhere?

2002-10-04 Thread Shackelford, John-Mason
You can obtain a PDF of the Hatcher / Loughran book immediately at the Manning site (http://www.manning.com/hatcher/index.html). If you then purchase the book from Manning, they will give you a significant discount making the purchase of the PDF free. I use the book nearly everyday and, quite fra

RE: Task-writing tutorial anywhere?

2002-10-04 Thread Tolles, James
I just purchased and recieved a copy from Amazon last week - excellent book! -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 8:51 AM To: Ant Users List Subject: Re: Task-writing tutorial anywhere? Been a while since I plugged our book, so

Re: Task-writing tutorial anywhere?

2002-10-04 Thread Erik Hatcher
Been a while since I plugged our book, so thanks for the opening! :) Java Development with Ant has a thorough chapter on custom Ant task writing [1]. There is also some info in Ant's documentation [2]. [1] http://www.amazon.com/exec/obidos/ASIN/1930110588 [2] http://jakarta.apache.org/ant/man

Task-writing tutorial anywhere?

2002-10-04 Thread kynn
Where can I find a tutorial on writing Ant tasks? Thanks, k -- To unsubscribe, e-mail: For additional commands, e-mail:

Telnet task- is there SSH equivalent

2002-10-04 Thread George_Schlitz
Is there any SSH equivalent of the telnet task? Standard server config here is to enable ssh but not telnet. Any ideas? Thanks! George -- To unsubscribe, e-mail: For additional commands, e-mail:

ejbjar task fails

2002-10-04 Thread Hélène JOANIN
Hi, I got a java.lang.NullPointerException when using the ejbjar task with a XML deployment descriptor which contains a 'SYSTEM' DOCTYPE. I work around this problem by using a 'PUBLIC' DOCTYPE. Here is the print stack: java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.j

VAJ / optional.jar on Linux

2002-10-04 Thread Johannes Zellner
Hi, I just tried to get the optional VAJ tasks working. I checked out the latest ant from CVS and built: 1) I included the classes from com.ibm.ivj.util.* into the CLASSPATH 2) I used servlet.jar from jakarta-tomcat building ant succeeded. But with the following simple build file

Re: [ANNOUNCEMENT] Ant 1.5.1 Released

2002-10-04 Thread Stefan Bodewig
On 04 Oct 2002, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > Oops, xercesImpl.jar from the Xerces-J-bin.2.2.0.zip archive is > different from the one in the tar.gz package I just unzipped both of them and ran a diff over the ouput. The jars contain some property files and service descriptions in

Re: [ANNOUNCEMENT] Ant 1.5.1 Released

2002-10-04 Thread Stefan Bodewig
On Fri, 04 Oct 2002, Jacob Kjome <[EMAIL PROTECTED]> wrote: > Why is the Xerces parser shipped with Ant-1.5.1 different from that > of the libraries in it shouldn't be (I used xercesImpl.jar from the binary tar.gz download). Yep, diff says they are identical. Oops, xercesImpl.jar from the Xerc

Re: [ANNOUNCEMENT] Ant 1.5.1 Released

2002-10-04 Thread Jacob Kjome
"Shipped XML parser is now Xerces 2.2.0" Why is the Xerces parser shipped with Ant-1.5.1 different from that of the libraries in http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.2.0.zip ? Ant-1.5.1 - xml-apis.jar(106KB) - xercesImpl.jar( 812KB)

Jlink deprecation et refids path

2002-10-04 Thread pedro Cristian
Hi everybody, Since Ant 1.5, the JLink task is deprecated. The documentation suggest the replacement : - Non-deprecated alternative to the above:

Re: FilterReader adds final EOL if one does not exist

2002-10-04 Thread Stefan Bodewig
On Thu, 3 Oct 2002, John-Mason Shackelford <[EMAIL PROTECTED]> wrote: > If someone considers this a bug, we could hunt it down, I do, we've fixed a similar bug with in 1.5.1. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: