while-like structure in Ant

2007-05-09 Thread Emir Mahmut BAHSI
Hi all, I have been working on conditional structures and loop structures on existing workflow managers for a long time. For this purpose I have implemented two simple examples for if-type and switch-type cases (examples are attached). In these examples my program is simply downloading a file. I

The AntClassLoader created in one JUnitTask can not be used in another.

2007-05-09 Thread Xu Xin
Hello everyone, I had a problem with JUnitTask, I have a couple of xml files where I also have a lot of targets which contain tasks, originally I used the Apache Ant's JUnitTask, but unfortunately the test run had performance issue, that was caused by each has its own classloader, as a result

Re: -projecthelp option odd error

2007-05-09 Thread Bill Rich
I don't have any problems with your file on my Windows XP system (and it surprises me). This is what I get when I run it: C:\TEMP>ant -p Buildfile: build.xml OMAP_19.12M4 Build script Main targets: All--> Builds an integrated Symbian S60 image Baseport --> Builds the Symbian S60 Basepo

-projecthelp option odd error

2007-05-09 Thread Jesuschrist Superstar
Hello I'm working in my very first ant file and i noticed an error while executing ant with the -projecthelp option. This is my xml file: OMAP_19.12M4 Build script Symbian S60 complete environment image successfully created Symbian S60 Baseport built suc

Re: Reporting build success/failure in /'s output log file?

2007-05-09 Thread Dominique Devienne
On 5/9/07, Andrew Bayer (abayer) <[EMAIL PROTECTED]> wrote: > I'd like to hand a graph of builds to run (from Ivy) and have > > detect a failure and skip all dependencies, then carry on with > everything else. So at the end of the run, we'd report > -failing builds > -skipped builds > then

RE: Reporting build success/failure in /'s output log file?

2007-05-09 Thread Andrew Bayer \(abayer\)
> I'd like to hand a graph of builds to run (from Ivy) and have > > detect a failure and skip all dependencies, then carry on with > everything else. So at the end of the run, we'd report > -failing builds > -skipped builds > then it would halt. That's basically what I'm looking for - we

glob mapping propertyset

2007-05-09 Thread Mark C. Stafford
I want to remap some variables and I'm not having any luck with my debugging. My script and results are below. Can you see what I'm doing wrong? Buildfile: C:\work\data\worksps\scratch\scratch\build.xml globular: [echo] foo

AW: Re: Re: Settting environment variables

2007-05-09 Thread Jan.Materne
You cant set env variables in . start a new process. Env variables are only visible in that process. If that process quits the variables are lost. You cant modify the environment of the running (Ant) process. Jan p.s. You have the same problem with batch files. There is a tool "setx" which

Re: Re: Re: Settting environment variables

2007-05-09 Thread Martin Gainty
using embedded env use in property note..the env variable is case-sensitive so path is not Path is not PATH M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have r

RE: AntShellExt

2007-05-09 Thread Rebhan, Gilbert
Nice, thanks for sharing. i would prefer to keep the url in the context menu editable, i.e. i would point to my local Ant Manual or something similar. Right now it points to = Arcera de ... : http://www.elpagestion.com/quienes.shtml The user should decide ... Regards, Gilbert -Original M

Fwd: Re: Re: Settting environment variables

2007-05-09 Thread query
  I again tried to set PATH and INCLUDE env variables. But when I echo the env variables after modifying the variables, changes are not reflected in the log file. My ANT script change is: property environment="env"/> Similarly I have tried for Path env variable. But it is not working.

Re: Reporting build success/failure in /'s output log file?

2007-05-09 Thread Steve Loughran
Dominique Devienne wrote: On 5/1/07, Andrew Bayer (abayer) <[EMAIL PROTECTED]> wrote: Is there any way to do this without having to subclass Ant.java? I'm not married to the output being BUILD SUCCESSFUL or BUILD FAILED specifically - any pass/fail string that I can do a regexp for would be suff