> 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
war file generated per
environment.
war file generated per
environment.
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
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
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 "
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
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.
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:
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
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> &
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
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
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:
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
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
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
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
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
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
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
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.
> >
> >
cripts.tar.
Thanks
Rez
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
: 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
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:
>
>
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
8-<---8-<
>
>
> file ./includes.staging
> ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<
> file*.staging
> ---8-<---8-<---8-<---8-<---8-<-------8-<---8-<---8-<
>
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
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
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
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
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
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,
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
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
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
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
37 matches
Mail list logo