Re: Sharing inter-project dependencies

2006-08-28 Thread Markus M. May
Hello once again, you have already got an answer and you pointed out the point (versioning), which is pretty hard (IMHO) to solve. We have three different repositories: - Development (which contains always the Latest and Greatest Snapshot of all components) - Maintainance (which contains compon

Re: Sharing inter-project dependencies

2006-08-28 Thread Markus M. May
Hello Michael, we are solving this, by having a central repository (pretty much like the maven repository) which contains all JAR-files of all components. Therefor you can then reference a fileset with all neede files from the repository. The hard thing is, that the components can change their

Why doesn't target support verbose/debug attributes?

2006-08-28 Thread Robert Nicholson
So I want to have only one target verbose/debug because I know that's where an error is. Why is it not possible to specify verbose or debug on a target level? If I'm not mistaken I have to use -verbose -debug at the command line but in this case I'm not launching Ant I only control the build.xml f

Running PLUnit from ant?

2006-08-28 Thread James Carr
Hi, I've been busy using ant to automate our unit and fitnesse tests, and the next step is to automate running our plunit tests... however I could find no easy documentation on the matter. Anyone ever do it before? Thanks, James --

outputproperty not capturing output

2006-08-28 Thread Brown, Carlton
Hi all, Basic question: What is the real significance of the "outputproperty" attribute of the task? Is this just some kind of race condition where Ant applies the output of whichever command invocation happens to run first? Observation: If I a command to more than one file, and the command

RE: Sharing inter-project dependencies

2006-08-28 Thread Nau, Michael
Thanks for the response Antoine... My example was a bit simplistic... In this case both componentA and componentB are part of a logical project and will be versioned together. So in this case I would like to compile them both in one step. Is there a best-practice associated with something like

RE: RE: Very Bad use of Ant...

2006-08-28 Thread Dan McFadyen
Hey hey! Perfect Antoine! One more lib on the path and it runs top to bottom (with no dirty files to let it skip steps even) Thank you muchly, Dan -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 4:56 PM To: Ant Users List Subject: Re

RE: Very Bad use of Ant...

2006-08-28 Thread Dan McFadyen
No idea, but.. Straight from the command prompt on my other screen: [java] [java] The ' characters around the executable and arguments are [java] not part of the command. [java] Setting environment variable: JAVA_HOME=C:\jdk1.5.0_07 [java] Buildfile: build.xml

Re: RE: Very Bad use of Ant...

2006-08-28 Thread Antoine Levy-Lambert
Hello Dan, it will need tools.jar (a file from the JDK) on its classpath I believe. Regards, Antoine Original-Nachricht Datum: Mon, 28 Aug 2006 16:42:49 -0400 Von: "Dan McFadyen" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: RE: Very Bad use of Ant... > Funny, I spoke too

Re: Sharing inter-project dependencies

2006-08-28 Thread Antoine Levy-Lambert
Hello Michael, one possibility to build the components independently is to use a repository. So componentB would just pull the jar of componentA from the repository, and you do not make spaghetti programming between the build files of componentA and componentB. This is my preferred approach.

Re: Very Bad use of Ant...

2006-08-28 Thread Scot P. Floess
Could it be it's finding the JRE versus the JDK (or SDK)... Dan McFadyen wrote: Funny, I spoke too soon. This lovely new forked and running JVM with it's new ant doesn't seem to be able to find javac to compile... all the environment variables exist on the outer JVM, but I am rather stumped. I

RE: Very Bad use of Ant...

2006-08-28 Thread Dan McFadyen
Funny, I spoke too soon. This lovely new forked and running JVM with it's new ant doesn't seem to be able to find javac to compile... all the environment variables exist on the outer JVM, but I am rather stumped. I have failed my attempts to toss the environment variables into the new JVM using t

Sharing inter-project dependencies

2006-08-28 Thread Nau, Michael
I have a project with two java components: componentA and componentB. ComponentB had a compile-time dependency on componentA. I've read many posts\articles on how to setup a master build script to manage the build process for both components. So far so good. But when I get to the point where I nee

Re: Non-recursive fileset

2006-08-28 Thread Matt Benson
Poor guy, you never got a response on this looks like. -Matt --- "Lewis, Gregory" <[EMAIL PROTECTED]> wrote: > All- >I am trying to get a listing of the files and > folders in a directory. > When I use the following target my machine appears > to be searching > through for every file under

RE: Very Bad use of Ant...

2006-08-28 Thread Dan McFadyen
Hey hey! I found the stuff I needed after some googling and some of the info from the first reply, just getting back now and you've made me slightly curious about what possible side effects would happen without the ant.home as I made it work without it... Mind you, I am using only to do one small

RE: Very Bad use of Ant...

2006-08-28 Thread Darick Jarvis
I don't know if this is the official way to call ant within a java task, but it works for me. Maybe this can help you. This will cause it to outlive the starting script with no handle to it though.

Re: Very Bad use of Ant...

2006-08-28 Thread Dominique Devienne
You can always the other Ant, and since they live in different processes and VMs, they can co-exist peacefully. I think there's an example somewhere that demonstrates how to call Ant using . --DD On 8/28/06, Dan McFadyen <[EMAIL PROTECTED]> wrote: Hello, I am about to ask how to do something t

Very Bad use of Ant...

2006-08-28 Thread Dan McFadyen
Hello, I am about to ask how to do something that will sound... very very ugly... Is there anyway to run a different version of Ant from within an Ant script? I read the faq and found the explantation of the: [exec] java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher [

Re: How to parallelize to unzipping done by Ant-Contrib's for-loops?

2006-08-28 Thread Scot P. Floess
Hessu: allows for parallel processing (as does )... By default if the parallel attribute is not set, it is false... I think all you need to do is this: Doing @{ziptag} dest="${destination}" overwrite="true"/> Note the par

FYI: antv1.7beta test and builds on MacOSX 10.4.7 with no problems

2006-08-28 Thread James Fuller
FYI: antv1.7beta test and build fine on MacOSX 10.4.7 dump-sys-properties: [echo] java.vm.info=mixed mode, sharing [echo] java.vm.name=Java HotSpot(TM) Client VM [echo] java.vm.vendor="Apple Computer, Inc." [echo] java.vm.version=1.5.0_06-64 [echo] os.arch=ppc [echo]

Get multiple files with same extension

2006-08-28 Thread Gareth Tilley
Hi All, Is it possible to use ant to get all files with a certain extension from a webserver? I'm not sure if get supports mutliple files, could it combined with a fileset somehow? I basically want to download and iterate over all zip files in a certain directory on a webserver. I'm new to ant

Re: AW: Dynamic Ant Tasks from a Website with PHP

2006-08-28 Thread James Fuller
Hi, Does anyone has an idea how to start Ant from a website with php. Case: A User selects some xml files via checkbox. Per button an ant task is created and should start ant with the task to generate Pdfs from the selected files with FOP. Someone an idea how to do it? http://uk.php.net/ja

Re: How to parallelize to unzipping done by Ant-Contrib's for-loops?

2006-08-28 Thread Hessu X
Ok, I have a list of zip files and I want to isolate this to be a property (let's say something like zyx.ziptags-actually containing only non-version specific strings ). And I generate real unzipping like this: Doing @{ziptag} Just want

AW: code assist in eclipse

2006-08-28 Thread Jan.Materne
This is more an Eclipse related question. And in a plain text mail - your "highlighted" properties are not visible ;-) AFAIK Eclipse highlighted properties while typing. It knows that because of the syntax ${PROPNAME}. Code Assist instead needs an already defined property. E.g. in your "compress"

AW: Dynamic Ant Tasks from a Website with PHP

2006-08-28 Thread Jan.Materne
Why you want letting Ant drive the xml transformation? You could simple choose the PHP xslt-libraries. Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Samstag, 26. August 2006 23:56 >An: Ant Users List >Betreff: Dynamic Ant Tasks from a Webs

AW: RE: Ant Task for FOP

2006-08-28 Thread Jan.Materne
Why you want letting Ant drive the xml transformation? You could simple choose the PHP xslt-libraries. Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Samstag, 26. August 2006 18:40 >An: Ant Users List >Betreff: Re: RE: Ant Task for FOP > >Hi