Re: Using and to include a previously excluded name in a fileset

2008-10-29 Thread David Weintraub
Solved! Here's what was going on: I have a project, and I create all of my build output under the "target" directory. Under this directory, I usually create a archive folder and I put my tarball under that folder. In this particular project, I placed all of the files I wanted to archive into the

Re: Using and to include a previously excluded name in a fileset

2008-10-29 Thread Dominique Devienne
On Wed, Oct 29, 2008 at 12:16 PM, David Weintraub <[EMAIL PROTECTED]> wrote: > I have a fileset that looks like this: > > > > > > The problem is that I have the following structure: > > ${target.dir} >archive >tarball.tar.gz >work >clients > archive > t

Using and to include a previously excluded name in a fileset

2008-10-29 Thread David Weintraub
I have a fileset that looks like this: The problem is that I have the following structure: ${target.dir} archive tarball.tar.gz work clients archive tarball.tar.gz foo The purpose of the fileset was to exclude the "archive" directory directly unde

using and

2006-10-27 Thread Mark Modrall
Hi... We've got some CruiseControl projects using Ant that are chained together. One task is the build task which compiles everything and packages up a zip of the product. It that works, there's a dependent CC project that then calls ant to install that software on a staging serve

Re: Using and checking an environment variable?

2006-06-06 Thread Vincent
You can also try the following greetings Vincent On 6/6/06, Ben Stringer <[EMAIL PROTECTED]> wrote: On Tue, 2006

Re: Using and checking an environment variable?

2006-06-06 Thread Ben Stringer
On Tue, 2006-06-06 at 11:41 +0200, [EMAIL PROTECTED] wrote: > I want to distribute the build.xml file with an application and therefore > not include any paths to software the application depends on. Ideally I > would want to take this from an environment variable and show an error > message if the

Using and checking an environment variable?

2006-06-06 Thread johann . petrak
I want to distribute the build.xml file with an application and therefore not include any paths to software the application depends on. Ideally I would want to take this from an environment variable and show an error message if the environment variable is not set. Currently I set a property like

Re: apply task trouble for command using < and >

2005-11-28 Thread Steve Loughran
Jakob Fix wrote: Jan, On 28/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I think these steps should works - compile the class (needs ant.jar on classpath) - , e.g. - use the "new" task Now I feel really stupid, but what the hell ... ok, I compiled the class like this javac -classp

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
>> I think these steps should works >> - compile the class (needs ant.jar on classpath) >> - , e.g. > name="apply2"/> >> - use the "new" task > >Now I feel really stupid, but what the hell ... ok, I compiled >the class like this > javac -classpath "./lib/ant.jar" Apply.java > >which indeed create

Re: apply task trouble for command using < and >

2005-11-28 Thread Jakob Fix
Jan, On 28/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I think these steps should works > - compile the class (needs ant.jar on classpath) > - , e.g. > - use the "new" task Now I feel really stupid, but what the hell ... ok, I compiled the class like this javac -classpath "./lib/an

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
ggrrr next try (why does Alt-S sends (as Ctrl-Return does) and doesnt select the subject... "nice" outlook...) >>That's terrific, thanks a lot! However, unfortunately, I do not know >>how to integrate your extension of the Apply class into my >current Ant >>setup. I think these steps

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
Sorry, touched the wrong key ... More inside >>That's terrific, thanks a lot! However, unfortunately, I do not know >>how to integrate your extension of the Apply class into my >current Ant >>setup. I think these steps should works - compile the class (needs ant.jar on classpath) - the c

AW: apply task trouble for command using < and >

2005-11-28 Thread Jan.Materne
>> I'll try to update the "real" apply task next week, but you can use >> the custom task below in the mean time (it just "plugs in" at the >> right time to create the directories, without duplicating >the >> code itself. Ant's maps to ExecuteOn). > >That's terrific, thanks a lot! However, u

Re: apply task trouble for command using < and >

2005-11-28 Thread Jakob Fix
Dominique, On 26/11/05, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > Hmm, just one small problem I couldn't solve yet. Apply will bail out > > if it tries to output a file to a directory that doesn't exist. > > I ran into the same issue in the past, and had to "patch" to > solve it, as you

Re: apply task trouble for command using < and >

2005-11-25 Thread Dominique Devienne
> Hmm, just one small problem I couldn't solve yet. Apply will bail out > if it tries to output a file to a directory that doesn't exist. I ran into the same issue in the past, and had to "patch" to solve it, as you don't know "a priori" which directories to create with using a destDir and a map

AW: apply task trouble for command using < and >

2005-11-25 Thread Jan.Materne
need the first statement. ** fetches all directories - inclusive the current . Jan >-Ursprüngliche Nachricht- >Von: Jakob Fix [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 25. November 2005 17:39 >An: Ant Users List >Betreff: Re: apply task trouble for command using

Re: apply task trouble for command using < and >

2005-11-25 Thread Jakob Fix
Jan, now it even looks aesthetic :-) I've integrated jslint which checks the syntax (see http://www.crockford.com) using another macrodef, and if all files pass runs them through jsmin. Well, I'm aware that this may get OT, but I must say I learnt an awful lot. Thanks again, Jan. Hmm, just one

AW: apply task trouble for command using < and >

2005-11-25 Thread Jan.Materne
I tuned the example...

Re: apply task trouble for command using < and >

2005-11-24 Thread Jakob Fix
tribute some documentation for this? > Jan -- cheers, Jakob. > >-Ursprüngliche Nachricht- > >Von: Jakob Fix [mailto:[EMAIL PROTECTED] > >Gesendet: Donnerstag, 24. November 2005 15:20 > >An: Ant Users List > >Betreff: Re: apply task trouble for command using

Re: apply task trouble for command using < and >

2005-11-24 Thread Dominique Devienne
> I have the following command line (see [1] for jsmin): > jsmin < bigfile.js > smallfile.js "prefix file with this comment" > > To do this for an entire directory I created this task: > > > > > > > > > > > > > My suspicion is that the problem may be caused by the

AW: apply task trouble for command using < and >

2005-11-24 Thread Jan.Materne
t Users List >Betreff: Re: apply task trouble for command using < and > > >Jan, > >On 24/11/05, [EMAIL PROTECTED] ><[EMAIL PROTECTED]> wrote: >> < and > mean redirection of STDIN and STDOUT from/to file. >> So I would have a look at nested s. > >

Re: apply task trouble for command using < and >

2005-11-24 Thread Jakob Fix
>Von: Jakob Fix [mailto:[EMAIL PROTECTED] > >Gesendet: Donnerstag, 24. November 2005 13:53 > >An: Ant Users List > >Betreff: apply task trouble for command using < and > > > > >Hello, > > > >I have the following command line (see [1] for jsmin): >

AW: apply task trouble for command using < and >

2005-11-24 Thread Jan.Materne
< and > mean redirection of STDIN and STDOUT from/to file. So I would have a look at nested s. Jan >-Ursprüngliche Nachricht- >Von: Jakob Fix [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 24. November 2005 13:53 >An: Ant Users List >Betreff: apply task trou

apply task trouble for command using < and >

2005-11-24 Thread Jakob Fix
Hello, I have the following command line (see [1] for jsmin): jsmin < bigfile.js > smallfile.js "prefix file with this comment" To do this for an entire directory I created this task: This runs, but the result is not at all satisfactory: - No output