Re: [SOS] Gump build of jakarta-slide - strange file resolution problem

2004-03-12 Thread Antoine Lévy-Lambert
Stefan Bodewig wrote: On Fri, 12 Mar 2004, Antoine Lévy-Lambert <[EMAIL PROTECTED]> wrote: I have been advising the slide developers (particularly Unico Hommes) about changing their build files to make them work better with gump. And you have succeeded with that AFAICT. Slide has built just

Re: Suggested using.html diff

2004-03-12 Thread Jack Woehr
Jack Woehr wrote: > I think this is more accurate in detail than what stands now. Except for the superfluous close-paren in the phrase below :-) > ! dependencies been discovered in processing C and B), B and A would -- Jack J. Woehr# "[F]ar in the empty sky a solitary esophagus slep

Suggested using.html diff

2004-03-12 Thread Jack Woehr
I think this is more accurate in detail than what stands now. -- Jack J. Woehr# "[F]ar in the empty sky a solitary esophagus slept http://www.well.com/~jax # upon motionless wing; everywhere brooded stillness, http://www.softwoehr.com # serenity, and the peace of God." - Mark Twain

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

2004-03-12 Thread peterreilly
peterreilly2004/03/12 11:08:20 Modified:src/main/org/apache/tools/ant/taskdefs Nice.java Log: nice task: checkstyle and fix some comments Revision ChangesPath 1.5 +13 -13ant/src/main/org/apache/tools/ant/taskdefs/Nice.java Index: Nice.java ===

cvs commit: ant/docs/manual/CoreTasks pathconvert.html

2004-03-12 Thread mbenson
mbenson 2004/03/12 09:30:41 Modified:docs/manual/CoreTasks pathconvert.html Log: Add "since" for nested . Revision ChangesPath 1.15 +3 -2 ant/docs/manual/CoreTasks/pathconvert.html Index: pathconvert.html ==

Re: Poor support for selectors

2004-03-12 Thread Peter Reilly
Jose Alberto Fernandez wrote: 2) This will allow all java-based languages to find and use classes not loaded by ANT directly. Andin particular, since this would instantiate an internal AntClassLoader, then we have the dispossable classloader effect we were looking for. Unless the AntClassLoaders

Re: Poor support for selectors

2004-03-12 Thread Peter Reilly
I was testing setting this with scripttypedef. Both groovy and beanshell ignore the setting of the classloader on the BSF engine. With groovy, one can work around the problem by setting the context classloader, but this does not work for beanshell. Peter Jose Alberto Fernandez wrote: From: Peter Re

RE: Poor support for selectors

2004-03-12 Thread Jose Alberto Fernandez
> From: Peter Reilly [mailto:[EMAIL PROTECTED] > > This is a known problem with beanshell 2.0b1. > You need to just call the script once in a top-level > target (! i.e. do not place the script task at the > top-level!) and then use the antcall's. > > solves this problem by checking if the > s

Re: cvs commit: ant/docs/manual/CoreTypes mapper.html

2004-03-12 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > We'll find a solution. After all I'm responsible > for most if not all > bad naming choices in Ant and we should strive to > keep it that way. :) funny! __ Do you Yahoo!? Yahoo! Search - Find what you’re looking for

Re: cvs commit: ant/docs/manual/CoreTypes mapper.html

2004-03-12 Thread Stefan Bodewig
On Fri, 12 Mar 2004, Matt Benson <[EMAIL PROTECTED]> wrote: > Peter's version includes the "chained" attribute so it's possible to > get two (drastically) different behaviors from the same class. OK, so I'll have to actually read the code 8-) > You can put the name to a vote or duke it out with

Re: Poor support for selectors

2004-03-12 Thread Peter Reilly
Dominique Devienne wrote: From: Peter Reilly [mailto:[EMAIL PROTECTED] This is a known problem with beanshell 2.0b1. Peter, since you seem to keep on top of Java scripting, do you know what's the status of BeanShell? Last time I looked, the source code for 2.0b1 was never checked in to their C

RE: Poor support for selectors

2004-03-12 Thread Dominique Devienne
> From: Peter Reilly [mailto:[EMAIL PROTECTED] > > This is a known problem with beanshell 2.0b1. Peter, since you seem to keep on top of Java scripting, do you know what's the status of BeanShell? Last time I looked, the source code for 2.0b1 was never checked in to their CVS repo, and it's been

Re: Poor support for selectors

2004-03-12 Thread Peter Reilly
This is a known problem with beanshell 2.0b1. You need to just call the script once in a top-level target (! i.e. do not place the script task at the top-level!) and then use the antcall's. solves this problem by checking if the scripttypedef has been defined before. Peter Jose Alberto Fernandez w

RE: Poor support for selectors

2004-03-12 Thread Jose Alberto Fernandez
Peter, I found a problem with your solution. My build uses which mens the script will be executed several times. But you can only run the script once per build process. Otherwise, beanshell fails with: [script] java.lang.reflect.InvocationTargetException: java.lang.LinkageError: trying to r

DO NOT REPLY [Bug 26637] - Nice task is undocumented

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant/docs/manual coretasklist.html

2004-03-12 Thread mbenson
mbenson 2004/03/12 07:11:35 Modified:docs/manual coretasklist.html Added: docs/manual/CoreTasks nice.html Log: Add to the manual. PR: 26637 Revision ChangesPath 1.1 ant/docs/manual/CoreTasks/nice.html Index: nice.html ===

RE: Poor support for selectors

2004-03-12 Thread Dominique Devienne
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > I thought for myself to create a where you simply > implement the isSelected() method. > > Base should be the BaseExtendSelector and the script gets > basedir, filename and file (the arguments of isSelected()) as > populated variables. > >

Re: cvs commit: ant/docs/manual/CoreTypes mapper.html

2004-03-12 Thread Matt Benson
--- Peter Reilly <[EMAIL PROTECTED]> wrote: > Thanks for committing the code and documenenting and > writting the > unit-tests! > Peter > Well, I wouldn't have done it if I hadn't really wanted to get an implementation in place. :) Multiple-result mappers are the complement of the nested s for

Re: cvs commit: ant/docs/manual/CoreTypes mapper.html

2004-03-12 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > One nit, though. I don't like the name > ContainerMapper. > > MapperContainer? CompositeMapper? Mine was called CompositeMapper. We ended up going with Peter's implementation, which was simpler and included the paradigm shift (defs). Peter's ver

Re: Problems with using setproxie

2004-03-12 Thread Steve Loughran
Edson Alves Pereira wrote: Hello folks, I trying to use to edit some file in my build process, but even thought with setproxie properly setted xerces cannot create a HTTP connection, could someone give me some tips? Here is the exception: [xmltask] Dummy pre-1.5 xml catalog [xmltask] j

Problems with using setproxie

2004-03-12 Thread Edson Alves Pereira
Hello folks, I trying to use to edit some file in my build process, but even thought with setproxie properly setted xerces cannot create a HTTP connection, could someone give me some tips? Here is the exception: [xmltask] Dummy pre-1.5 xml catalog [xmltask] java.net.ConnectException:

RE: Poor support for selectors

2004-03-12 Thread Jan . Materne
I thought for myself to create a where you simply implement the isSelected() method. Base should be the BaseExtendSelector and the script gets basedir, filename and file (the arguments of isSelected()) as populated variables. return file.canWrite(); Jan > -Original

Re: Poor support for selectors

2004-03-12 Thread Peter Reilly
Ok, an example! you can do: import java.io.File; import org.apache.tools.ant.types.selectors.FileSelector; public class NameSelector implements FileSelector { private String match; public void setMatch(String match) { this.match = match; } public bo

Re: Poor support for selectors

2004-03-12 Thread Peter Reilly
If you use beanshell 2.0x (which you do!), you can use a normal script task to create a selector. Peter Jose Alberto Fernandez wrote: I need to construct a fileset using rules a little bit out of the ordinary and I an having a very hard time trying to do it in ANT. What I need is to be able to matc

Poor support for selectors

2004-03-12 Thread Jose Alberto Fernandez
I need to construct a fileset using rules a little bit out of the ordinary and I an having a very hard time trying to do it in ANT. What I need is to be able to match filenames using egexp rules for the filename. The only regexp things we have for selectors looks at the content of the file, and t

RE: Raj-Need of ANT Scripts

2004-03-12 Thread Jan . Materne
> Hi Ant Developers, Wrong list :-) Usually these questions are topic of the user list. > Please let me know how to call one build.xml will call > another build.xml task, see the manual [1] > file. Give one example. > 2. How to pass command line agrs? Give one example. Use nested s. If you

Raj-Need of ANT Scripts

2004-03-12 Thread Sree Naga Rajasekhar M - CTD, Chennai.
Hi Ant Developers, Please let me know how to call one build.xml will call another build.xml file. Give one example. 2. How to pass command line agrs? Give one example. 3. Can you write a small build file in that one target tag has to execute in windows -M/C and another target tag has to execute i

DO NOT REPLY [Bug 26148] - Attrib task only outputs blank lines

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: [SOS] Gump build of jakarta-slide - strange file resolution problem

2004-03-12 Thread Stefan Bodewig
On Fri, 12 Mar 2004, Antoine Lévy-Lambert <[EMAIL PROTECTED]> wrote: > I have been advising the slide developers (particularly Unico > Hommes) about changing their build files to make them work better > with gump. And you have succeeded with that AFAICT. Slide has built just fine on my machine l

Re: [SOS] Gump build of jakarta-slide - strange file resolution problem

2004-03-12 Thread Peter Reilly
Hi Antonie, that is stange. I cannot reproduce this with simple build files. for example: import java.io.File; import org.apache.tools.ant.util.FileUtils; fu = FileUtils.newFileUtils(); System.out.println("Basedir is " + basedir); System.out.println(fu.resolveFile(new File(based

DO NOT REPLY [Bug 27625] - ftp userid and password will not expand properties

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 27625] - ftp userid and password will not expand properties

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 27625] - ftp userid and password will not expand properties

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 27625] - ftp userid and password will not expand properties

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 27625] New: - ftp userid and password will not expand properties

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Antidote -- more on design issues.

2004-03-12 Thread Christoph Wilhelms
Hi Jack > > Oh-o... Let's see the generated GUI code, then. I never liked the > > GUI-code NetBeans created. > > It's got its quirks but I am used to it. It allows really quick redesign > of forms. Hmm... The current Antidote Forms are pretty generic and not really "composable". Additionally I a

[SOS] Gump build of jakarta-slide - strange file resolution problem

2004-03-12 Thread Antoine Lévy-Lambert
Hi, I have been advising the slide developers (particularly Unico Hommes) about changing their build files to make them work better with gump. I wonder whether there is a *problem* with *FileUtils.resolveFile* deciding that /data3/gump/jdom/build/jdom.jar is not an absolute path and should be r

Re: Problem with +

2004-03-12 Thread Stefan Bodewig
On Fri, 12 Mar 2004, Peter Reilly <[EMAIL PROTECTED]> wrote: > The r"" raw-string notation is quite powerfull. Yep, that's the same as C#'s @"" that I talked about. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Problem with +

2004-03-12 Thread Peter Reilly
I think that Stefan is correct. The macrodef update-module-help uses location="${helpzips}/[EMAIL PROTECTED]" /> and on windows this will generate: c:\helpzips\com_lgc_name_help.zip assuming ${helpzips} is c:/helpzips and @{name} is name. in the javascript code, this stri

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

2004-03-12 Thread peterreilly
peterreilly2004/03/12 01:10:10 Modified:src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH Tar.java Log: sync with head Revision ChangesPath No revision No revision 1.46.2.5 +84 -7 ant/src/main/or

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

2004-03-12 Thread peterreilly
peterreilly2004/03/12 01:09:03 Modified:src/main/org/apache/tools/ant/taskdefs Tar.java Log: add javadoc Revision ChangesPath 1.51 +84 -7 ant/src/main/org/apache/tools/ant/taskdefs/Tar.java Index: Tar.java ==

DO NOT REPLY [Bug 27373] - NPE when running commons listener against log4J1.2.8

2004-03-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant/src/main/org/apache/tools/ant/listener CommonsLoggingListener.java

2004-03-12 Thread peterreilly
peterreilly2004/03/12 01:01:49 Modified:.Tag: ANT_16_BRANCH WHATSNEW src/main/org/apache/tools/ant/listener Tag: ANT_16_BRANCH CommonsLoggingListener.java Log: Sync with head Revision ChangesPath No revision

cvs commit: ant/src/main/org/apache/tools/ant/listener CommonsLoggingListener.java

2004-03-12 Thread peterreilly
peterreilly2004/03/12 01:00:30 Modified:.WHATSNEW src/main/org/apache/tools/ant/listener CommonsLoggingListener.java Log: NPE while useing -listener for commons logger. There is a difference between using a -logger and -listener. The

Re: cvs commit: ant/docs/manual/CoreTypes mapper.html

2004-03-12 Thread Peter Reilly
Thanks for committing the code and documenenting and writting the unit-tests! Peter Matt Benson wrote: Most of the code is Peter's, to give credit where it's due. Peter, what was the reason you wanted this to wait until 1.7? -Matt __ Do you Yahoo!? Yahoo! Search -

Re: cvs commit: ant/docs/manual/CoreTypes mapper.html

2004-03-12 Thread Peter Reilly
I waited to wait for the restricted types/roles question to be resolved before using s whole-scale for file mapper types, and I did not want to hard-code in addGlob() etc. Peter Matt Benson wrote: Most of the code is Peter's, to give credit where it's due. Peter, what was the reason you wanted th

Re: cvs commit: ant/docs/manual/CoreTypes mapper.html

2004-03-12 Thread Stefan Bodewig
On 11 Mar 2004, <[EMAIL PROTECTED]> wrote: > Nested file mappers; container mapper. Cool! One nit, though. I don't like the name ContainerMapper. MapperContainer? CompositeMapper? Stefan - To unsubscribe, e-mail: [EMAIL P

Re: Antidote -- more on design issues.

2004-03-12 Thread Jack J. Woehr
Christoph Wilhelms wrote: > Hi Jack! > > > 1. Check in minimal setting properties for Ant runs > > from inside Antidote. > >o May not really be useable but will preserve > > some hard-worked code. > > Let's have a look :-) Okay, as soon as I am able. > >o Oops, anot

RE: Antidote -- more on design issues.

2004-03-12 Thread Christoph Wilhelms
Hi Jack! > 1. Check in minimal setting properties for Ant runs > from inside Antidote. >o May not really be useable but will preserve > some hard-worked code. Let's have a look :-) >o Oops, another issue here: I'm using NetBeans > so there are .form files I