Re: Source Code for the Java Development with Ant book...

2007-07-24 Thread Steve Loughran
Bob Aiello wrote: Some of the links on the website do not seem to be working. Can anyone advise on the link to download the Source Code Java Development with Ant (2003)?? Bob, I would recommend you go for the latest source, that is all on sourceforge http://www.antbook.org/display/antbook

Re: AW: random number generator

2007-07-24 Thread Dale Anson
Yet another option, use the math task from antelope (http://antelope.tigris.org). Here's an example from the docs: a random number between 0 and 100: ${result} Dale [EMAIL PROTECTED] wrote:

RE: best practices - building on multiple os's

2007-07-24 Thread Loehr, Ruel
Nohup might be just the trick, I'll give that a shot. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 4:32 PM To: Ant Users List Subject: Re: best practices - building on multiple os's Loehr, Ruel wrote: > Hoping some others might have some i

Re: AW: random number generator

2007-07-24 Thread Mario Madunic
Thanks. I've seen a few posts regarding antelope. Where can I down load the latest copy. I've googled it but was uncertain which was the latest release. Thanks Mario Quoting Dale Anson <[EMAIL PROTECTED]>: > Yet another option, use the math task from antelope > (http://antelope.tigris.org).

RE: Re: How can I capture a file's date to a property?

2007-07-24 Thread cknell
Thanks. That does it, but what's the story on this set of messages that are displayed when I run the task? Trying to override old definition of task antcallback Trying to override old definition of task antfetch Trying to override old definition of task assert Trying to override old definition of

web-based ant front end?

2007-07-24 Thread pkeane
Can anyone recommend a web-based front end for Ant builds? I manage a large application with numerous batch jobs as part of the workflow. I would like end users to be able to either schedule or initiate batch jobs by way of a web interface. Security is something of an issue, but something like ht

Re: web-based ant front end?

2007-07-24 Thread Peter Reilly
I would use hudson, https://hudson.dev.java.net/ it is fairly easy to set up. Peter On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Can anyone recommend a web-based front end for Ant builds? I manage a large application with numerous batch jobs as part of the workflow. I would like e

Re: web-based ant front end?

2007-07-24 Thread Donald McLean
We use (and I like very much) the TeamCity product by JetBrains. They are the folks behind the IDEA IDE. One of my favorite things about it is the IDE integration. Donald McLean [just my own personal opinion] - To unsubscribe,

Re: Loading files into concat in a certain order

2007-07-24 Thread Matt Benson
--- Alex Egg <[EMAIL PROTECTED]> wrote: > I'm looking at the (dismal) ant docs on resources > and sort, but I can't > figure out how to use it on my file set: > >includes="*.css"/> > > > I just want to sort those files by name so they go > into concat alphabeticly. > My files are n

ant holds on to jar, preventing deletion?

2007-07-24 Thread Jay Dickon Glanville
Hello all. I'm dealing with a "can't delete file" problem, but one with a slight twist. I believe the situation might be that ant has a handle on a jar file, which is then preventing it from being deleted. (Note, this is windows specific.) The sequence of events goes like this: - create jar fi

Re: ant holds on to jar, preventing deletion?

2007-07-24 Thread Dominique Devienne
Try forking your task, which may be the one holding on to the jars. --DD On 7/24/07, Jay Dickon Glanville <[EMAIL PROTECTED]> wrote: Hello all. I'm dealing with a "can't delete file" problem, but one with a slight twist. I believe the situation might be that ant has a handle on a jar file, wh

Re: Extending org.apache.tools.ant.types.Path in Ant 1.7

2007-07-24 Thread Matt Benson
Paul, I have added a bugzilla report for this: https://issues.apache.org/bugzilla/show_bug.cgi?id=42967 I have checked a change into Ant's subversion trunk. Any chance you could test this version and see if your Path subclass starts working again? Thanks, Matt --- Matt Benson <[EMAIL PROTECTED

Re: ant holds on to jar, preventing deletion?

2007-07-24 Thread Jay Dickon Glanville
Thanks for the suggestion Dominique, but it doesn't solve the problem. Does it matter if I have the jar declared in a path statement? Like this: An additional piece of information that might help: the jar file is being generated by the XML Beans toolset (you provide the XML schema doc t

Re: ant holds on to jar, preventing deletion?

2007-07-24 Thread Dominique Devienne
On 7/24/07, Jay Dickon Glanville <[EMAIL PROTECTED]> wrote: Thanks for the suggestion Dominique, but it doesn't solve the problem. Ah, well, it's always the first one that comes to mind ;-) Does it matter if I have the jar declared in a path statement? Like this: I don't think t

Installing Ant is non-standard and stupid

2007-07-24 Thread evilfred
This is a rant. Why does Ant (at least the source distro) not install like *every other sane source distro on earth*, with "configure / make / make install". This is what users expect and enter by default. I'd rather not mess around having to read proprietary installation info (or in my case, gue

Re: Installing Ant is non-standard and stupid

2007-07-24 Thread Matt Benson
--- evilfred <[EMAIL PROTECTED]> wrote: > This is a rant. > I thought rant was a Ruby tool... but seriously: > Why does Ant (at least the source distro) not > install like *every other sane > source distro on earth*, with "configure / make / > make install". This is > what users expect and ent

Re: Extending org.apache.tools.ant.types.Path in Ant 1.7

2007-07-24 Thread Paul J. Morris
Thanks Matt, That change fixed the problem - I patched our 1.7 version of Ant with the new 1.7.1 Path version. regards, Paul Matt Benson wrote: > > Paul, I have added a bugzilla report for this: > > https://issues.apache.org/bugzilla/show_bug.cgi?id=42967 > > I have checked a change into

JWare / AntXTras help

2007-07-24 Thread warhero
Hey All, I'm trying to get up and running with JWare / AntXtras. need a little help. I'm building a build system that is being deployed to some developers. And I want to include some of the tasks in this library. But am not completely sure how to do it without modifying any ant config / libraries

Re: JWare / AntXTras help

2007-07-24 Thread warhero
warhero wrote: > > Hey All, > > I'm trying to get up and running with JWare / AntXtras. need a little > help. I'm building a build system that is being deployed to some > developers. And I want to include some of the tasks in this library. But > am not completely sure how to do it without modif

Re: JWare / AntXTras help

2007-07-24 Thread Wascally Wabbit
You're missing a required jar file: JWare_apis.jar (you need *everything* inside the distro's lib directory). This test script works fine (note basedir is "."): warhero wrote: Hey All, I'm trying to get up and running with JWare /

Re: JWare / AntXTras help

2007-07-24 Thread warhero
Thanks much. Exactly what I was looking for. Is this generally how you utilize a jar in ant buildfiles? Thanks again!!! Wascally Wabbit wrote: > > You're missing a required jar file: JWare_apis.jar (you need > *everything* inside the distro's lib directory). > > This test script works fine (

JDK142, ANT154: Convert java class name to relative path

2007-07-24 Thread Karr, David
I'm trying to build something that determines a set of file names to pass to the PMD Ant task. At one step, I have a Java class name, and I need to convert it to a relative file path. How do I convert a variable like "com.abc.stuff" to "com/abc/stuff" (I can deal with adding the prefixes and suff

Re: JWare / AntXTras help

2007-07-24 Thread Wascally Wabbit
Typically three ways: 1) You can put the third-party jars into a location automatically scanned by Ant using the methods described in the Ant manual online: http://ant.apache.org/manual/running.html#libs 2) Or you can explicitly load things using a class path like the sample did. Also see Ant ma

Re: JWare / AntXTras help

2007-07-24 Thread warhero
Awesome, Thanks again! Wascally Wabbit wrote: > > Typically three ways: > > 1) You can put the third-party jars into a location automatically > scanned by Ant using the methods described in the Ant manual > online: http://ant.apache.org/manual/running.html#libs > > 2) Or you can explicitly l

Re: How can I capture a file's date to a property?

2007-07-24 Thread Dale Anson
What those mean is that there are other tasks or types with the same name loaded via one of the numerous jars in your ant classpath. You can make the messages go away by using namespaces, which then lets Ant explicitly pick the right task or type. Try it like this and the 'trying to override'

Question about usage

2007-07-24 Thread Ninju Bohra
Hello all, I've been given a directory of XML files that I need to process. All the files have the following text at the top . . . Now I am planning to proces the files using the cool (see http://www.oopsconsultancy.com/software/xmltask/ for more info) to

Deleting contents from a zip file

2007-07-24 Thread Nau, Mike
Is there a way to remove specific contents from a zip file using the resource (or somethhing else)? I don't want to extract the entire zip file, delete the file, then re-zip everything up. Thanks, -Mike