Re: Using ant properties in file

2005-04-19 Thread Ninju Bohra
So anybody have any guidance on whether or not ${property.name} are resolved in filter file? --- Ninju Bohra <[EMAIL PROTECTED]> wrote: > Hello all, > > Just want to make sure that ANT 1.6.2 can NOT do the > following (otherwise I am doing something wrong... > which could never be :-)) > > Wan

Re: ant build script failing

2005-04-19 Thread Ninju Bohra
You can abbreviate that to ant -f --- Nishi Prafull <[EMAIL PROTECTED]> wrote: > I got it. Thanks. > ant -buildfile build2.xml. > > On 4/19/05, Nishi Prafull <[EMAIL PROTECTED]> > wrote: > > Thanks, that worked! > > > > One other question, if I have to pass in a new > build script to the ant >

Re: ant build script failing

2005-04-19 Thread Nishi Prafull
I got it. Thanks. ant -buildfile build2.xml. On 4/19/05, Nishi Prafull <[EMAIL PROTECTED]> wrote: > Thanks, that worked! > > One other question, if I have to pass in a new build script to the ant > command such as build2.xml and not use the default one, whats the > command line parameter to do th

Re: ant build script failing

2005-04-19 Thread Nishi Prafull
Thanks, that worked! One other question, if I have to pass in a new build script to the ant command such as build2.xml and not use the default one, whats the command line parameter to do that? Thanks. On 4/19/05, Conelly, Luis (GE Energy, Non GE, GENE) <[EMAIL PROTECTED]> wrote: > Nishi, > > If

RE: ant build script failing

2005-04-19 Thread Conelly, Luis (GE Energy, Non GE, GENE)
Nishi, If you intend to use a variable previously set on the environment, you should get it from your environment. I.e. On the other hand, if you defined the property's value by passing an argument on the command line such as $ ant -Dyourprop=foo then, the way you are using is the right wa

Re: ant build script failing

2005-04-19 Thread Brad G. Kyer
> I believe needs to be => > -B --- Nishi Prafull <[EMAIL PROTECTED]> wrote: > Hi: > I have following ant script to build a project but its failing at the > clean target as below, can someone please let me know what could be > the cause? > I made sure that the srchome variable was set in the

ant build script failing

2005-04-19 Thread Nishi Prafull
Hi: I have following ant script to build a project but its failing at the clean target as below, can someone please let me know what could be the cause? I made sure that the srchome variable was set in the environment [C:\temp\dc\src\java\DiscOEM]ant Buildfile: build.xml clean: [delete] C:\te

Using ant properties in file

2005-04-19 Thread Ninju Bohra
Hello all, Just want to make sure that ANT 1.6.2 can NOT do the following (otherwise I am doing something wrong... which could never be :-)) Wanting to replace a bunch of values in a file, so I created a replaceFilterFile containing all the token=value entries and using the task I am able to sea

taskdef classpath problem when invoking ant from java

2005-04-19 Thread j.alkjaer
Hi there. I have a problem when invoking ant (1.6.1) from a Quartz job which is scheduled in a webapp I have placed the following ant jars in the webapps classpath (WEB-INF/lib) ant.jar ant-jakarta-log4j.jar (I attach a Log4jListner to my project) ant-launcher.jar (probably not needed) ant-nod

ClassCastException using a macro

2005-04-19 Thread Bengali Bengali
Hi, I have a ClassCastException when ant uses a macro called j2eeapp-deploy. What is strange is that the exactly same macro when called from another build file works perfectly. I have noticed that if I call a specific other macro in my build script called concatproperties the call of the j2eeapp-