DO NOT REPLY [Bug 28228] - classloader task

2004-05-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28228. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: ANT 1.7 features suggestion

2004-05-11 Thread Stefan Bodewig
I'm soo late for the party that I'll try to not restart the whole thing. On Tue, 04 May 2004, Anthony Goubard [EMAIL PROTECTED] wrote: 1) Integrate if and unless at the Task level. A nested condition would be far more powerful, as would be an if task. Don't expect any opinion from me. 8-)

Re: antlibs and classloaders #2

2004-05-11 Thread Stefan Bodewig
On Mon, 10 May 2004, Jose Alberto Fernandez [EMAIL PROTECTED] wrote: Would the following solve this problem generically? !-- This task is automatically available for every ANTLIB and its only function is to force the loading of the library if necessary. Force the lazy loading.

Re: Trapping RuntimeExceptions form Tasks

2004-05-11 Thread Stefan Bodewig
On Wed, 05 May 2004, Peter Reilly [EMAIL PROTECTED] wrote: I see verify errors sometimes with beanshell and groovy scripts. Because you are reloading classes which is a problem in its own. I think you'd better find a way to avoid these VerifyErrors instead of swallowing/ignoring them. 8-)

Re: ANT 1.7 features suggestion

2004-05-11 Thread Stefan Bodewig
I'm soo late for the party that I'll try to not restart the whole thing. On Tue, 04 May 2004, Anthony Goubard [EMAIL PROTECTED] wrote: 1) Integrate if and unless at the Task level. A nested condition would be far more powerful, as would be an if task. Don't expect any opinion from me. 8-)

Re: ANT 1.7 features suggestion

2004-05-11 Thread Stefan Bodewig
On Tue, 04 May 2004, Alexey N. Solofnenko [EMAIL PROTECTED] wrote: Could you please also update if and unless to accept a list of properties? if=A, B would mean A is set and B is set or A is set or B is set? You know that propertiy names are allowed to contain spaces and commas and any other

Re: Ant task and nested table

2004-05-11 Thread Stefan Bodewig
On 06 May 2004, Le Rumeur Yves [EMAIL PROTECTED] wrote: I read quicly the ant task list, but i never found a task which have a nestedtable needed. I'm not sure I follow what you are saying. apply requires at least one nested fileset/dirset or filelist. Stefan

Re: Trapping RuntimeExceptions form Tasks

2004-05-11 Thread Peter Reilly
Stefan Bodewig wrote: On Wed, 05 May 2004, Peter Reilly [EMAIL PROTECTED] wrote: I see verify errors sometimes with beanshell and groovy scripts. Because you are reloading classes which is a problem in its own. I think you'd better find a way to avoid these VerifyErrors instead of

Re: Trapping RuntimeExceptions form Tasks

2004-05-11 Thread Stefan Bodewig
On Tue, 11 May 2004, Peter Reilly [EMAIL PROTECTED] wrote: The notion is not to swallow / ignore them (unless the build script author wants to) but to wrap them in a build exception to possibly provide some information as to where the error happened - the line number of the build script from

RE: antlibs and classloaders #2

2004-05-11 Thread Jose Alberto Fernandez
From: Stefan Bodewig [mailto:[EMAIL PROTECTED] On Mon, 10 May 2004, Jose Alberto Fernandez [EMAIL PROTECTED] wrote: Would the following solve this problem generically? !-- This task is automatically available for every ANTLIB and its only function is to force the

RE: Trapping RuntimeExceptions form Tasks

2004-05-11 Thread Jose Alberto Fernandez
From: Stefan Bodewig [mailto:[EMAIL PROTECTED] On Wed, 05 May 2004, Peter Reilly [EMAIL PROTECTED] wrote: I see verify errors sometimes with beanshell and groovy scripts. Because you are reloading classes which is a problem in its own. I think you'd better find a way to avoid these

RE: Trapping RuntimeExceptions form Tasks

2004-05-11 Thread Jose Alberto Fernandez
From: Stefan Bodewig [mailto:[EMAIL PROTECTED] On Tue, 11 May 2004, Peter Reilly [EMAIL PROTECTED] wrote: The notion is not to swallow / ignore them (unless the build script author wants to) but to wrap them in a build exception to possibly provide some information as to where the

cvs commit: ant/docs/manual/OptionalTasks junit.html

2004-05-11 Thread bodewig
bodewig 2004/05/11 04:46:49 Modified:docs/manual/CoreTasks java.html docs/manual/OptionalTasks junit.html Log: Assertions require fork Revision ChangesPath 1.32 +2 -0 ant/docs/manual/CoreTasks/java.html Index: java.html

Re: assertions

2004-05-11 Thread Stefan Bodewig
On Sat, 08 May 2004, Yuji Yamano [EMAIL PROTECTED] wrote: I think the description of assertions in docs/manual/CoreTasks/java.html is not clear. Because we can use assertions only if fork=true. Maybe JUnit tasks's manual has same problem. Fixed, thanks. Stefan

cvs commit: ant/docs/manual/Integration VAJAntTool.html

2004-05-11 Thread bodewig
bodewig 2004/05/11 04:53:07 Modified:docs/manual/Integration VAJAntTool.html Log: 2004 Revision ChangesPath 1.22 +1 -1 ant/docs/manual/Integration/VAJAntTool.html Index: VAJAntTool.html ===

Re: antlibs and classloaders #2

2004-05-11 Thread Mariano Benitez
Let me get this right.. this task would define the antlib classes the moment it is invoked, and it should be used on the top level buildfile, this way the subbuilds/subants/ant/antcall targets have the antlib already loaded, right? I explain a bit my build files structure for testing: we have

DO NOT REPLY [Bug 28897] New: - Enhance the Replace task

2004-05-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28897. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 28897] - Enhance the Replace task

2004-05-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28897. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

native2ascii

2004-05-11 Thread Tarik El Berrak
Hi i'm using ant under eclipse and i want to use native2ascii task to convert some files but it doesn' work. this is what i write ?xml version=1.0 encoding=UTF-8? project name=native2ascii default=Native2ascii basedir=. taskdef name=native2ascii

Re: ANT 1.7 features suggestion

2004-05-11 Thread Alexey N. Solofnenko
Frequently I need several properties to be checked to enable or disable a target. A boolean expression would be much better than a list of properties, but I would be happy with just a list. I think if should have inside and unless should have ||. - Alexey. Stefan Bodewig wrote: On Tue, 04 May

RE: ANT 1.7 features suggestion

2004-05-11 Thread Jose Alberto Fernandez
Ok, what is wrong with using if/? Besides, lookfeel. Jose Alberto -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: 11 May 2004 15:33 To: Ant Developers List Subject: Re: ANT 1.7 features suggestion Frequently I need several properties to be

Re: ANT 1.7 features suggestion

2004-05-11 Thread Alexey N. Solofnenko
I do use it also. Do you know whether it will become a part of main ANT? - Alexey. Jose Alberto Fernandez wrote: Ok, what is wrong with using if/? Besides, lookfeel. Jose Alberto -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: 11 May 2004 15:33 To: Ant

RE: antlibs and classloaders #2

2004-05-11 Thread Jose Alberto Fernandez
From: Mariano Benitez [mailto:[EMAIL PROTECTED] Let me get this right.. this task would define the antlib classes the moment it is invoked, and it should be used on the top level buildfile, this way the subbuilds/subants/ant/antcall targets have the antlib already loaded, right? I

RE: ANT 1.7 features suggestion

2004-05-11 Thread Jose Alberto Fernandez
From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] I do use it also. Do you know whether it will become a part of main ANT? So why you feel unconfortable about using if/ is the fact that is not part of the supported CORE of ANT. Is that it? That may give some food for thought, to the

cvs commit: ant/docs resources.html

2004-05-11 Thread jhm
jhm 2004/05/11 08:54:04 Modified:xdocsresources.xml docs resources.html Log: New article about Ant in Java-Spektrum 5/04. Revision ChangesPath 1.35 +20 -2 ant/xdocs/resources.xml Index: resources.xml

DO NOT REPLY [Bug 13652] - RFE: Permit that apply parameter output can be set to targetfile

2004-05-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=13652. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: ANT 1.7 features suggestion

2004-05-11 Thread Alexey N. Solofnenko
Actually if is too wordy. A mall target if=XXX is translated into target if isset property=XXX/ then /then /if /target Complex conditions are big. A small expression language like XXX YYY would be much nicer. - Alexey. Jose Alberto Fernandez wrote: From: Alexey N. Solofnenko

RE: ANT 1.7 features suggestion

2004-05-11 Thread Dominique Devienne
From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Actually if is too wordy. A mall target if=XXX is translated into Complex conditions are big. A small expression language like XXX YYY would be much nicer. I so agree with you! That expression language could (should IMHO!) be XPath

Re: antlibs and classloaders #2

2004-05-11 Thread Peter Reilly
Jose Alberto Fernandez wrote: From: Stefan Bodewig [mailto:[EMAIL PROTECTED] On Mon, 10 May 2004, Jose Alberto Fernandez [EMAIL PROTECTED] wrote: Would the following solve this problem generically? !-- This task is automatically available for every ANTLIB and its only function is to

cvs commit: ant/docs faq.html

2004-05-11 Thread jhm
jhm 2004/05/11 09:37:02 Modified:xdocsfaq.xml docs faq.html Log: hint to projects.xml; os-specific configuration Revision ChangesPath 1.54 +22 -1 ant/xdocs/faq.xml Index: faq.xml

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs DefBase.java

2004-05-11 Thread peterreilly
peterreilly2004/05/11 09:49:48 Modified:src/main/org/apache/tools/ant/taskdefs DefBase.java Log: antlib: allow a typedef in an antlib to override the classpath unittests to follow Revision ChangesPath 1.11 +20 -13

RE: ANT 1.7 features suggestion

2004-05-11 Thread Jose Alberto Fernandez
So, would something like: ifThen test=isset('XXX') '${a}' = '${b}' /ifThen Not that I am proposing something concrete. But this would require defining a proper expression evaluation language for it. This would be equivalent to the more verbose: if and isset property=XXX/

Re: ANT 1.7 features suggestion

2004-05-11 Thread Alexey N. Solofnenko
It is also not that complex. I have done it before, but there are now a lot of expression languages and we should not invent yet another. Maybe something like this: test=jython: isset('XXX') and '${a}'=='${b}' could be used. - Alexey. Jose Alberto Fernandez wrote: So, would something like:

Re: ANT 1.7 features suggestion

2004-05-11 Thread Jack J. Woehr
Jack J. Woehr wrote: Hmm, this is something interesting for Ant in itself. expr expression=27 / 3 = nine property=my.expression.result truevalue=yes was 9 / Is there an expression evaluating jar that could be added to optional? There's the Math task in Ant-Contrib which does part of

DO NOT REPLY [Bug 28773] - .Net resource should accept fileset.

2004-05-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28773. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 28773] - .Net resource should accept fileset.

2004-05-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=28773. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.