RE: Need to copy a set of files from a directory tree dynamically

2011-04-27 Thread Bailey, Darragh
> -Original Message- > From: Ramarao_4s [mailto:phanisekhar.p...@gmail.com] > Sent: 26 April 2011 14:08 > To: user@ant.apache.org > Subject: Need to copy a set of files from a directory tree dynamically > > Hi All, > > I have a requirement where I need to copy a set of files from > a

RE: Exclude and Include folders

2010-11-29 Thread Bailey, Darragh
> -Original Message- > From: jhoomshar...@netscape.net [mailto:jhoomshar...@netscape.net] > Sent: 29 November 2010 07:08 > To: user@ant.apache.org > Subject: Exclude and Include folders > > > I want to include and exclude folders from directory listing, > say I have following folder

RE: Apply argument wrapping with msiexec

2010-11-12 Thread Bailey, Darragh
> > [1] From ProcessImpl.java version 1.32, 06/03/22, > > from my version of JDK 1.6: > > > > StringBuilder cmdbuf = new StringBuilder(80); > > for (int i = 0; i < cmd.length; i++) { > > if (i > 0) { > > cmdbuf.append(' '); > > } > > String s = cmd[i

RE: Apply argument wrapping with msiexec

2010-11-11 Thread Bailey, Darragh
> -Original Message- > From: Niklas Matthies [mailto:ml_ant-u...@nmhq.net] > Sent: 10 November 2010 21:11 > To: user@ant.apache.org > Subject: Re: Apply argument wrapping with msiexec > > This is interesting. It's caused by Java's Runtime.exec(), which > doesn't handle embedded double qu

RE: Apply argument wrapping with msiexec

2010-11-11 Thread Bailey, Darragh
> -Original Message- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: 10 November 2010 21:52 > To: Ant Users List > Subject: RE: Apply argument wrapping with msiexec > > > coming late into the game.. > > I ALWAYS use C:/DOCUME~1 instead of C:/Documents and Settings > and th

RE: Apply argument wrapping with msiexec

2010-11-10 Thread Bailey, Darragh
> -Original Message- > From: Stefan Bodewig [mailto:bode...@apache.org] > Sent: 10 November 2010 16:14 > To: user@ant.apache.org > Subject: Re: Apply argument wrapping with msiexec > > On 2010-11-09, Bailey, Darragh wrote: > > > I have the

Apply argument wrapping with msiexec

2010-11-09 Thread Bailey, Darragh
I have the following target in a project Basically the problem appears to be with the TARGETDIR line. If I remove that line, then the msiexec command will run just fine, but will extract the msi contents to the wrong location (C

RE: How to script database upgrade using ANT script

2010-11-05 Thread Bailey, Darragh
> -Original Message- > From: Java Jboss [mailto:apache...@hotmail.co.uk] > Sent: 04 November 2010 22:43 > To: user@ant.apache.org > Subject: RE: How to script database upgrade using ANT script > > > > Hi Antoine, > > Thank you very much for providing me this example. > unfortunate

RE: Proper way to translate list of jars from properties file into classpath

2010-10-19 Thread Bailey, Darragh
> -Original Message- > From: KARR, DAVID (ATTSI) [mailto:dk0...@att.com] > Sent: 13 October 2010 21:05 > To: Ant Users List > Subject: Proper way to translate list of jars from properties > file into classpath > > I have a property defined in my properties file that > specifies a list o

RE: Trouble with and

2010-09-10 Thread Bailey, Darragh
> -Original Message- > From: Aaron Mackley [mailto:aaron.mack...@dtint.com] > Sent: 10 September 2010 15:40 > To: user@ant.apache.org > Subject: RE: Trouble with and > > Stefan, > I currently have this code: (I am trying to copy prefs.js to > the random > directory *.default.) > >

RE: Set property using part of a filename

2010-08-13 Thread Bailey, Darragh
> -Original Message- > From: Jonathan Rosenberg [mailto:j...@tabbysplace.org] > Sent: 12 August 2010 23:00 > To: 'Ant Users List' > Subject: RE: Set property using part of a filename > > I would use the task from ant-contrib: That only replaces chainmapper section, I was thinking that

Set property using part of a filename

2010-08-12 Thread Bailey, Darragh
Basically I'm looking to extract the version of a package file from the filename. So far I've come up with the following, but I'm just wondering if this is the best way to accomplish what I want, given that it seems a bit of a kludge to use the pathconvert task to extract a string from filenam

RE: Problem with Ant pathconvert and paths with spaces [Solved]

2010-07-23 Thread Bailey, Darragh
> -Original Message- > From: David Weintraub [mailto:qazw...@gmail.com] > Sent: 23 July 2010 16:43 > To: Ant Users List > Subject: Re: Problem with Ant pathconvert and paths with spaces > > On Fri, Jul 23, 2010 at 11:00 AM, Bailey, Darragh > wrote: > >

RE: Problem with Ant pathconvert and paths with spaces

2010-07-23 Thread Bailey, Darragh
> -Original Message- > From: Jonathan Rosenberg [mailto:j...@tabbysplace.org] > Sent: 23 July 2010 15:43 > To: 'Ant Users List' > Subject: RE: Problem with Ant pathconvert and paths with spaces > > What happens if you run the build outside of Eclipse? I did, guess I wasn't particular

Problem with Ant pathconvert and paths with spaces

2010-07-23 Thread Bailey, Darragh
I've been trying to run my ant builds within eclipse and I've been running into a slight problem with the path generated by the pathconvert task. After some testing, it seems that it's a problem in general with spaces appear in paths. The project that I have needs to pick up a library from ano

RE: how to exclude mutliple files

2010-07-16 Thread Bailey, Darragh
> -Original Message- > From: Andy2008 [mailto:hoangt...@yahoo.com] > Sent: 15 July 2010 21:44 > To: user@ant.apache.org > Subject: how to exclude mutliple files > > > I'm looping thru a directory and it has many sub-directories > underneath. I > want to exclude some sub-directories.

RE: [SOLVED] Including external class files in a compile?

2010-07-08 Thread Bailey, Darragh
> -Original Message- > From: Bailey, Darragh > Sent: 08 July 2010 15:52 > To: Ant Users List > Subject: Including external class files in a compile? > > > Have a component that needs classes from another component > that currently only builds a war. &g

Including external class files in a compile?

2010-07-08 Thread Bailey, Darragh
Have a component that needs classes from another component that currently only builds a war. I know that these should really be split out into a separate jar, but that's not going to happen straight away. Instead for the moment I want to be able to pick up these class files and include them in

RE: Constructing patterns for use in fileset includes

2010-07-05 Thread Bailey, Darragh
Thought I'd send the final results of what I got working to the list. Interestingly I ran into a problem where trying to use would throw an error about that task not supporting the refid attribute. I eventually hit on the solution that I could use the generic mapper task with the refid even th

RE: Constructing patterns for use in fileset includes

2010-07-01 Thread Bailey, Darragh
> -Original Message- > From: Matt Benson [mailto:gudnabr...@gmail.com] > Sent: 30 June 2010 15:57 > To: Ant Users List > Subject: Re: Constructing patterns for use in fileset includes > You're in luck. I would recommend using antcontrib:for to > iterate over a resourcecollection bui

Constructing patterns for use in fileset includes

2010-06-30 Thread Bailey, Darragh
Is it possible to take the contents of a property and modify each item within the property to append a wildcard in order to turn them into patterns that can be used within ? property1 = string1,string2,string3,string4 And patternproperty is constructed based on property1 to result in: patter

RE: Namespaces and rules with modules like commons-lang and log4j

2010-06-25 Thread Bailey, Darragh
> -Original Message- > From: Maarten Coene [mailto:maarten_co...@yahoo.com] > Sent: 24 June 2010 21:36 > To: ivy-u...@ant.apache.org > Subject: Re: Namespaces and rules with modules like > commons-lang and log4j > > Thanks, > > I'll try to take a look at them within the next coming we

Ivy warnings when accessing local repository setup using namespaces

2010-06-11 Thread Bailey, Darragh
Setup a local repository using the example from the src/examples directory, and just have it populated with the exact jars that are required. I made an assumption that when using a namespace for the repository creation, that once the artifacts were in a acceptable layout, i.e. commons-lang#com

RE: Better alternative than using foreach, for and if/then/else?

2010-05-07 Thread Bailey, Darragh
> -Original Message- > From: Stefan Bodewig [mailto:bode...@apache.org] > Sent: 06 May 2010 04:39 > To: user@ant.apache.org > Subject: Re: Better alternative than using foreach, for and > if/then/else? > > On 2010-05-05, Bailey, Darragh wrote: > > >

RE: Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Bailey, Darragh
> -Original Message- > From: Peter Reilly [mailto:peter.kitt.rei...@gmail.com] > Sent: 05 May 2010 14:46 > To: Ant Users List > Subject: Re: Better alternative than using foreach, for and > if/then/else? > > You need to use ant 1.8 and the task. > declares that a property is local to

Better alternative than using foreach, for and if/then/else?

2010-05-05 Thread Bailey, Darragh
Have recently just started using Ant, with the goal to using it as the default build tool across an entire project. While most of the project will be java based, there are a few parts that won't be and I'm trying to make ant work as effectively as possible for these sections. One of them just