Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Mahen Perera
I am getting the following error when running the command "ant -f antsnestbuild.xml" E:\software\Ant GUI\antsnest-1.1\antsnest>ant -f antsnestbuild.xml java.lang.InstantiationException: org.apache.tools.ant.Main at java.lang.Class.newInstance0(Class.java:335) at java.lang.Class.new

Re: Fwd: submitting a file to Perforce using Maven

2005-01-06 Thread Mahen Perera
Thanx. it was bug in a earlier Ant version. The P4Change process hanged !!!. Anyway using Ant 1.6 worked . Thanks everybody for the help Mahen On Thu, 6 Jan 2005 10:04:27 +0100 (MET), Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hello, > 1) there are bugs in the ant perforce tasks in ant 1

Re: Want to build under multiple JDKs

2005-01-06 Thread Scott Simpson
Dick, Brian E. wrote: There is a java.version property. Maybe you can use that instead of checking the PATH. That won't work. I want to use two different JDKs in the same build. The java.version property just tells me the one it found. This also implies that I have to spawn the JDK as a separate

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Erik Hatcher
And further, Ant itself was annotated with XDoclet @tags a few years ago for auto-generation of documentation and with the plan to use it for metadata generation for tools to use. As far as I know, no tool vendor as picked up on this metadata sadly. I'm not sure how the IntrospectionHelper im

RE: Want to build under multiple JDKs

2005-01-06 Thread Dick, Brian E.
There is a java.version property. Maybe you can use that instead of checking the PATH. -Original Message- From: Scott Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 6:42 PM To: user@ant.apache.org Subject: Want to build under multiple JDKs We have some Java code that

Want to build under multiple JDKs

2005-01-06 Thread Scott Simpson
We have some Java code that I want to build under multiple JDKs in Ant. I have both JDK 1.3 and JDK 1.4 installed and I need to build certain code under each version of the JDK. Any suggestions? I was thinking I might have to create a custom task to look down the PATH and find the latest versio

RE: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Dominique Devienne
> From: Rich Wagner [mailto:[EMAIL PROTECTED] > > Have you considered using reflection, in addition to meta-model files? In > other words, imagine searching Ant's classpath for task classes, and then > using reflection to (for instance) discover what attributes each task > class accepts. Actually

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Rich Wagner
Chris, I saw this text on the "Ant's Nest" web site: Yet there exists very few GUI's to help create Ant build files and it is Ant's Nest's aim to change this. The main way it will do this is through an intuitive drag 'n' drop interface, with support on how to assemble valid tasks and targets. This

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Martin Cooper
Does this tool not support or something? When I try to open any of my build files, it tells me it's not a valid build file. ;-( -- Martin Cooper On Thu, 6 Jan 2005, Chris Clohosy wrote: Hi all, I would like to draw your attention to an open-source Ant GUI that I am developing, called 'Ant's Nes

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Chris Clohosy
Guys you were right, it wasn't the SAX. There were a combination of problems that I've been working on all night but now it's fixed and tomorrow I'll release the new version. There was a problem with long string concatenation in the build file beautifier, I use a buffer class instead now. Then t

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread David Kavanagh
I was just going to say that. I've used SAX parsing (even building a DOM tree, or JDOM tree) on files that are over 1 MB in size. It has to be what you are doing with the data. SAX itself won't build up stuff in memory. Just be carefull how you store the data you gather from there. David On Thu,

RE: Problems running ImageMagick via Ant task

2005-01-06 Thread Gordon Bowman
Never mind, another ImageMagick user suggested that Ant was finding another convert.exe, so I used the full pathname and it works now. -Original Message- From: Gordon Bowman [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 1:28 PM To: 'user@ant.apache.org' Subject: Problems r

Problems running ImageMagick via Ant task

2005-01-06 Thread Gordon Bowman
The ImageMagick command line "convert -sample 160x160 input.tif output.tif" works perfectly for me. Now I am trying to run the same command via the Ant task, but I cannot get it to work. I have tried the following:

how to unsubscribe ? email to is not working

2005-01-06 Thread cd1
Dear All, as writtten is the subject, how to unsubscribe to this list ? email to <[EMAIL PROTECTED]> is not working... Bye. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Alexey N. Solofnenko
SAX parsers are created to work with big files. I think the problem is with what it does during parsing. - Alexey. Chris Clohosy wrote: Thanks for trying it Alexey, especially on a large build file as I haven't got any to test it on. If my thinking is right, I think it choked because I'm using

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Chris Clohosy
Thanks for trying it Alexey, especially on a large build file as I haven't got any to test it on. If my thinking is right, I think it choked because I'm using a SAX parser to read in the XML, and it just can't handle that big a file. But that's just an idea, it might not be that, I'll investigat

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Chris Clohosy
Hi Alexey, You make a good point, Borland does have some good Ant features, however I believe Ant's Nest is more user-friendly. A tool should be independent of the JDK the user owns, true. But for me to do that I would have to bundle the Java 1.5 gear in with the download and that would put a lo

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Chris Clohosy
Hi Luis, Thanks for the interest but I'm afraid it has to be Java 1.5 or higher. This is due to the fact I use a couple of new methods, as well as annotations. This is where a user's own Ant task can be marked up with meta-data and Ant's Nest will automatically scan the compiled class, integrati

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Alexey N. Solofnenko
It chocked on my 700K (mostly generated) build file (still running about 10 minutes at 100% CPU). - Alexey. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Chappell, Simon P
True, but it does mean that we Mac OS X folks can't tinker with it. We have a great, stable 1.4.2 environment, but no sign of JDK 1.5 until Apple decide to ship it. Maybe it'll be in 10.4, supposed to be released this summer. Simon >-Original Message- >From: Alexey N. Solofnenko [mailto

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Alexey N. Solofnenko
Borland does the same - development JDK and tool host JDK do not have to be the same. - Alexey. Conelly, Luis (GE Energy, Non GE, GENE) wrote: Hi, Chris, Is really necessary to use JDK 1.5?? I believe most of the developments out there are being done in Java 1.4.x and prior (yes, unbelievable,

Re: Copying folders

2005-01-06 Thread Antoine Levy-Lambert
Hello Poonam, I believe you need to use a custom mapper.. read this : http://ant.apache.org/manual/CoreTypes/mapper.html I think you need to write a class which implements |org.apache.tools.ant.util.FileNameMapper Cheers, Antoine | Poonam wrote: Hi, Thanks, that was really useful. Actually I am t

RE: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Conelly, Luis (GE Energy, Non GE, GENE)
Hi, Chris, Is really necessary to use JDK 1.5?? I believe most of the developments out there are being done in Java 1.4.x and prior (yes, unbelievable, but true). I'd like to give a try to your product, but I don't want to install another JDK in my Wintel machine (another one would colapse my

AW: AW: help with propertyregexp of antcontrib

2005-01-06 Thread Jan . Materne
simply put the jar in ${user.home}/.ant/lib and all should work Jan > -Ursprüngliche Nachricht- > Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 6. Januar 2005 16:37 > An: Ant Users List > Betreff: Re: AW: help with propertyregexp of antcontrib > > Hi, > > T

Re: AW: help with propertyregexp of antcontrib

2005-01-06 Thread Yves Leung-Tack
Hi, Thanks I can make it work when I copy the regexp package into the abt lib directory. I tried to put it in a separate directory. For that I have to specified it my build.xml in the following way but I need a .properties file! Where can I get it or Is there another way to specify that package

AW: help with propertyregexp of antcontrib

2005-01-06 Thread Jan . Materne
You need a regexp utility. Since JDK 1.4 there is a built in (I think), or you have to use an external, e.g. ORO, RegExp... See Ant´s manual "installation | lib dependencies" Jan > -Ursprüngliche Nachricht- > Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 6. Jan

help with propertyregexp of antcontrib

2005-01-06 Thread Yves Leung-Tack
Hi, I try to use the propertyregexp of ant-contrib But when I run the following simple example from their documentation, I got the error : D:\Work\Dev\testbuild.xml:16: No supported regular expression matcher found The example is : to run on your machine just change antcontrib property

Re: Ant xDoclet - need some help

2005-01-06 Thread Erik Hatcher
On Jan 6, 2005, at 8:03 AM, EJ Ciramella wrote: That's exactly why we haven't upgraded to xdoclet 1.2.2. The first assert warning prevents the file I need from being generated. Do you know of a workaround other than hacking javacc source? No, sorry. Though maybe XDoclet2 is in usable enough fo

RE: Ant xDoclet - need some help

2005-01-06 Thread EJ Ciramella
That's exactly why we haven't upgraded to xdoclet 1.2.2. The first assert warning prevents the file I need from being generated. Do you know of a workaround other than hacking javacc source? -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Thu 1/6/2005 4:25 AM

RE: Ant xDoclet - need some help

2005-01-06 Thread EJ Ciramella
>From a windows box, I could did something very similar but couldn't find that >class anywhere. That warning pops up with ant 1.5.4 (and ant 1.4.1) and >xdoclet 1.1.2, but the file is created anyway. The real error is: Running XDoclet failed. An IO error occured while reading context data. 1

New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Chris Clohosy
Hi all, I would like to draw your attention to an open-source Ant GUI that I am developing, called 'Ant's Nest'. I'm keen for your feedback and bug reports on it, as it's being made especially for you guys! As you will see it's largely based around a drag 'n' drop interface and an XML model of

Re: Copying folders

2005-01-06 Thread Poonam
Hi, Thanks, that was really useful. Actually I am trying to copy a set of folders over network. Is there any way to change the name of the folder while copying at runtime. For eg. The folder name is like ReleaseLock.4BA6844C-8F19-429F-BE93-B8A6AAA2E735. I want to change this name to run1. Similarl

AW: How to get a path out of build.xml?

2005-01-06 Thread Jan . Materne
Why you dont use the pathconvert class? The taskdefs/default.properties [1] refers to the implementing class pathconvert=org.apache.tools.ant.taskdefs.PathConvert which can be found on [2]. Jan [1] http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs /defaults.properties

How to get a path out of build.xml?

2005-01-06 Thread Stasys Adiklis
Is there a programmatic way to do what PathConvert task does? Something like this would be nice: String AntUtils.getPath(String filePathToBuildXml, Srting pathId) This would be useful for implementing this NetBeans RFE: http://www.netbeans.org/issues/show_bug.cgi?id=52880 --

Re: Ant xDoclet - need some help

2005-01-06 Thread Erik Hatcher
On Jan 5, 2005, at 11:48 PM, EJ Ciramella wrote: Hello, we're running (or attempting to run) ant 1.6.2 and xDoclet 1.1.2 (to avoid problems with assert statements. But I keep getting this: XDoclet 1.1.2 is *ancient*. I would highly recommend you use the most current version. Is there a proble

Re: Fwd: submitting a file to Perforce using Maven

2005-01-06 Thread Antoine Levy-Lambert
Hello, 1) there are bugs in the ant perforce tasks in ant 1.5.4, so check which version of ant you are using (1.6.2 should be fine, or a 1.4.x). 2) before you do a p4submit, you need to : create a perforce change list using then for instance then the p4.change property gets set by the p4c