RE: Way to simplify what is in my project class path?

2008-10-01 Thread Rez
> From: [EMAIL PROTECTED]> To: user@ant.apache.org> Subject: Way to simplify what is in my project class path?> Date: Wed, 1 Oct 2008 21:58:20 +> > Hi,> > Currently I'm listing o

RE: about the ear task

2008-10-06 Thread Rez
war file generated per environment.

My War File

2008-10-06 Thread Rez
war file generated per environment.

RE: about the ear task

2008-10-06 Thread Rez
My apologies, I accidentally replied to this thread with my problem, please ignore. Thanks> Date: Sun, 5 Oct 2008 10:52:39 -0700> From: [EMAIL PROTECTED]> To: user@ant.apache.org> Subject: about the ear task> > > Hello, sorry for my bad english.> > Apparently, when I create an ear with the ta

Help with war file

2008-10-21 Thread Rez
I'm not sure if it's possible any other way to pack a folder and all of its subfolders and files into a war file, preserving their path and folder structure, other than using the "prefix" attribute of the zipfileset task. I would like my war file (testproject.war) to have folderx & all its files

RE: Help with war file

2008-10-22 Thread Rez
org> Subject: Re: Help with war file> > Rez wrote:> > I'm not > sure if it's possible any other way to pack a folder and all> > of its > subfolders and files into a war file, preserving their path> > and folder > structure, other than using the "

token filtering

2008-11-10 Thread Rez
Hi I use couple of property files packaged into my war file destined for different environment such as Development, QA, Staging, Production. I currently keep different versions of each file for each environment having values specific to each env and the 4 different build targets for each en

RE: AW: token filtering

2008-11-11 Thread Rez
Great, thanks for your help> Subject: AW: token filtering> Date: Tue, 11 Nov 2008 06:54:36 +0100> From: [EMAIL PROTECTED]> To: user@ant.apache.org> > >I use couple of property files packaged into my war file > >destined for different environment such as Development, QA, > >Staging, Production.

RE: AW: AW: token filtering

2008-11-14 Thread Rez
personal settings with a file per user. > ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<> > Do you think that clarifies that?> > > Jan> > > > >-Ursprüngliche Nachricht-> >Von: Rez [mailto:

Running exec tast

2008-11-20 Thread Rez
Hi I can run the below command from a Windows cmd line just fine cvs -f stat | grep "Repository revision" | gawk '{print $4 " " $3}' but now I'd like to add it to my build.xml file in a target I've changed the double quotes with " and single quotes with ' and every other combi

RE: Running exec tast

2008-11-24 Thread Rez
Thanks for the feedback. After playing around persistently, I got it to work. Please see below, either of the exec tasks work now: Rez> Date: Sun, 23 Nov 2008 21:11:06 +> From: [EMAIL PROTECTED]> To: user@ant.apache.org> Subject: Re: Running exec tast> &

SCP and SSHExec tasks

2008-11-25 Thread Rez
Hi Is it possible to create the directories on the remote server on the fly as the scp ant task is executed or do I need to run sshexec to create them first? Thanks _ Windows Live Hotmail now works up to 70% faster. http://windo

RE: SCP and SSHExec tasks

2008-11-28 Thread Rez
machine and unpack the archive> > -Rob Anderson> > On Wed, Nov 26, 2008 at 3:36 AM, Steve Loughran <[EMAIL PROTECTED]> wrote:> > > Rez wrote:> >> >> Hi> >> Is it possible to create the directories on the remote server on the fly> >> as the

RE: Passing multi-byte strings from ANT using task

2008-12-12 Thread Rez
Not sure if your problem with the exec task was resolved or not but from your earlier example I see that the syntax of your exec command is wrong as you cannot directly invoke a batch file directly within Ant and have to pass it to the system command first, see the exec's examples:

calling a build file from another

2008-12-16 Thread Rez
Hi Not sure why I got a mailer daemon posting to Ant user group?! Is it possible to call one ant file (build.xml) from another project's buil=d.xml?currently I build projects A & B. ProjB produces a jar file needed by A=2C=so I build B first=2C ant file copies the jar file into A\lib folder t

RE: calling a build file from another

2008-12-17 Thread Rez
ubject: Re: calling a build file from another> > Yes use ant task> > see http://ant.apache.org/manual/CoreTasks/ant.html for more info> > > On Wed, Dec 17, 2008 at 5:08 AM, Rez wrote:> > >> > Hi> > Not sure why I got a mailer daemon posting to Ant use

RE: counter or increasing a number

2009-01-21 Thread Rez
Look at Ant's task. You can embed it in a target, it will generate a local file, named build.number which contains the universal build numbering or software versioning scheme, n.n.n.n. and each time your target's executed, the 4th position is incremented. > Subject: counter or incre

Tokenizing Property Files

2009-06-25 Thread Rez P
What's the right way to use token replacement for my Ant builds? We have a few files common to all environments and currently maintain a set of these files per environment -- xml files, property files, and a web.xml per environment not identical. The files contain mostly static information ex

Building with JDK 1.3. Which version of ANT?

2009-07-29 Thread Rez P
1\java\jdk1.3.1_20\jre" Total time: 0 seconds Thanks for your help. Rez _ Bing™ brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1

RE: Building with JDK 1.3. Which version of ANT?

2009-07-29 Thread Rez P
posed to, if I set my entire environment to jdk 1.3 and making sure that the old project doesn't become polluted with any new tools or libraries? Thanks Rez > To: user@ant.apache.org > Subject: Re: Building with JDK 1.3. Which version of ANT? > From: bode...@apache.org

RE: Building with JDK 1.3. Which version of ANT?

2009-07-30 Thread Rez P
Thanks for all your help and input. > To: user@ant.apache.org > Subject: Re: Building with JDK 1.3. Which version of ANT? > From: bode...@apache.org > Date: Thu, 30 Jul 2009 12:11:45 +0200 > > On 2009-07-30, Rez P wrote: > > > I just got a successful build by

RE: Building with JDK 1.3. Which version of ANT?

2009-08-02 Thread Rez P
quot;Cross-Compilation Example" at the bottom of this page: > > http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html > > Dale > > > On Thu, Jul 30, 2009 at 9:01 AM, Rez P wrote: > > > > Thanks for all your help and input. > > > >

Tar Task

2009-10-14 Thread Rez P
cripts.tar. Thanks Rez _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/

RE: Tar Task

2009-10-15 Thread Rez P
: f...@one2team.com > To: user@ant.apache.org > > On Thu, Oct 15, 2009 at 00:48, Rez P wrote: > > > > Hello Everyone, > > > > > > > > How do I get the tar task to overwrite its previously created tar file? > > Please see my current target below

RE: Tar Task

2009-10-15 Thread Rez P
gt; Total time: 1 second > # tar tvf DIST/ShellScripts.tar > -rw-r--r-- 0/0 6 2009-10-15 13:37:50 alpha.txt > > Note the first run the tar file had foo.txt in it... > > Second run it correctly contained alpha.txt :) > > > On Wed, 14 Oct 2009, Rez P wrote: > >

Help With Condition Task

2009-10-29 Thread Rez P
t up a condition in the ant file in target init if ext1 or ext2 equal certain value do this or do this other thing. I am reading the help page on Apache Ant and I don't see any thorough or detailed examples and the page doesn't reall

RE: AW: Help With Condition Task

2009-10-30 Thread Rez P
8-<---8-< > > > file ./includes.staging > ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< > file*.staging > ---8-<---8-<---8-<---8-<---8-<-------8-<---8-<---8-< >

RE: running shell script on unix

2009-12-29 Thread Rez P
I don't the reason but I do know that you cannot have spaces in target names! Your target name should have underscores or dashes or other characters instead of spaces: NOT: Date: Mon, 28 Dec 2009 10:33:59 +0100 > From: reno.rkc...@free.fr > To: user@ant.apache.org > Subject: Re: running she

RE: running shell script on unix

2009-12-29 Thread Rez P
Here's the rule for naming targets: A target name can be any alphanumeric string valid in the encoding of the XML file. The empty string "" is in this set, as is comma "," and space " ". Please avoid using these, as they will not be supported in future Ant versions because of all the confus

RE: Reading environment variables in ant script directly

2009-12-30 Thread Rez P
In short, no. You can test it for yourself by writing a simple ant script. All system environment variables have to be preceded by "env.", otherwise, in the example below ${HOMEPATH} by itself is meaningless unless you have assigned a prior value to it. But the minute it's preceded by "env." i

RE: Reading environment variables in ant script directly

2009-12-30 Thread Rez P
e: Wed, 30 Dec 2009 10:14:14 -0800 > From: nagendra.r...@tejasoft.com > To: user@ant.apache.org > Subject: RE: Reading environment variables in ant script directly > > > Thank You Rez, > > Are u aware of why such explicit approach was taken rather providing the > environment

RE: Problem with javac target on Windows server

2010-02-10 Thread Rez P
You could always hard code user.home=c:\docume~1\rest\of\the\path to avoid spaces > From: quessev...@abaksystemes.fr > To: user@ant.apache.org > Subject: Re: Problem with javac target on Windows server > Date: Wed, 10 Feb 2010 17:37:19 +0100 > > >"SB" == Stefan Bodewig a écrit : > > Thanks f

RE: Copying external file into WAR

2010-02-11 Thread Rez P
Check out the Ant manual, it has some examples. In the excerpt below, all you have to do in the war task is to change the location or path of the webxml attribute. If the web.xml is outside of your project in a higher heirachy than your project, all you have to do is to type the absolute path,

RE: Copying external file into WAR

2010-02-12 Thread Rez P
27;s WEB-INF. > I looked at the examples in the manual, but maybe I am missing something... > > On Thu, Feb 11, 2010 at 7:56 PM, Rez P wrote: > > > > > Check out the Ant manual, it has some examples. In the excerpt below, all > > you have to do in the war task is to ch

RE: Setting environment variables

2010-02-24 Thread Rez P
value Rez > Subject: Setting environment variables > Date: Wed, 24 Feb 2010 16:12:08 +0100 > From: juergen.knuple...@icongmbh.de > To: user@ant.apache.org > > Hello, > > I want to run a dmake using ANT to compile some C-Source. > > There is a Batchfile tha

Filemapper or globmapper

2010-03-01 Thread Rez P
I would like to copy files with certain extensions (normally the destination environment is used to determine the file extension) to a location and strip off the extensions. But I currently resort to using the copy tasks with the file and tofile attributes to accomplish this as in the example b

RE: Filemapper or globmapper

2010-03-02 Thread Rez P
Thanks. That works like a charm. My problem was that I was putting globmapper outside of my copy task. :) > From: bode...@apache.org > To: user@ant.apache.org > Subject: Re: Filemapper or globmapper > Date: Tue, 2 Mar 2010 06:03:46 +0100 > > On 2010-03-01, Rez P wrote