Re: calling maven2 files from ant

2006-06-06 Thread Steve Loughran
Master, Tariq (Abbeywood) wrote: Steve, It's where CruiseControl hangs by waiting for the CMD shell window to be closed. It's basically waiting for any forked exec call in Ant to finish/close as far as I can gather. Everything works fine using Ant. But it's when a process (CC or cygwin apparan

RE: junitreport task problem

2006-06-06 Thread EJ Ciramella
I had to upgrade the version of xalan/jaxp that was in my ant+home/lib dir for it to work for me (just grabbed the latest). -Original Message- From: Mistry, Deep M [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 10:32 AM To: user@ant.apache.org Subject: junitreport task problem H

junitreport task problem

2006-06-06 Thread Mistry, Deep M
Hi, I've problems in executing the junitreport task. Every time I try to run, it gives me the following exception. BUILD FAILED: D:\server\build.xml:287: Could not find a valid processor version implementation from weblogic.xml.jaxp.RegistrySAXTransformerFactory Yes, I do have weblog

RE: calling maven2 files from ant

2006-06-06 Thread Master, Tariq \(Abbeywood\)
I thought they meant in the call, but that's not possible as inputstring cannot be used in a fork process. Maybe I'll give the other a go (tomorrow). Note though, that on Windows, stdout and stderr cannot be redirected together from the CMD shell. If I'm wrong, let me know... -Original Me

RE: calling maven2 files from ant

2006-06-06 Thread EJ Ciramella
When it says in that first link to make sure that the error and output are redirected properly, they're talking about within the bat file NOT in the exec task params, correct? Once forked, sysout and errout are no longer available to ant I thought. -Original Message- From: Master, Tariq

RE: calling maven2 files from ant

2006-06-06 Thread Master, Tariq \(Abbeywood\)
EJ, my workaround was to use either a forked task instead of to call startWeblogic.cmd, or a service. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: 06 June 2006 14:59 To: Ant Users List Subject: RE: calling maven2 files from ant I've used the scripts talked a

RE: calling maven2 files from ant

2006-06-06 Thread EJ Ciramella
I've used the scripts talked about in the three postings (and it's similar to what we're doing - a bat file eventually calls a shell script, etc). But it still hangs. Everything is being redirected properly. -Original Message- From: Master, Tariq (Abbeywood) [mailto:[EMAIL PROTECTED] S

RE: calling maven2 files from ant

2006-06-06 Thread Master, Tariq \(Abbeywood\)
Steve, It's where CruiseControl hangs by waiting for the CMD shell window to be closed. It's basically waiting for any forked exec call in Ant to finish/close as far as I can gather. Everything works fine using Ant. But it's when a process (CC or cygwin apparantly) calls ant that problems occur.

RE: calling maven2 files from ant

2006-06-06 Thread EJ Ciramella
Lots of different ones - we're using the distributed add in to CC (with four servers for building on). We had junit set up to fire up our app server via a forked exec and 99% of the time this simply locks up and the CC build sits there. I've found documentation from both the ant and CC side that

ApacheCon europe

2006-06-06 Thread Steve Loughran
Hello everyone, especially those in the .eu area. ApacheCon Europe will soon be with us. There aren't explicitly any ant talks, I guess because the "whats coming in Ant1.7 talk" from last year (http://people.apache.org/~stevel/slides/ant-1.7.pdf) is mostly still valid. But there will be lots

Re: calling maven2 files from ant

2006-06-06 Thread Steve Loughran
EJ Ciramella wrote: Considering that everything will ultimately be used via CruiseControl AND how little success I've had with the exec task and CC, I was hoping for some optional tasks. I've never encountered problems with CC and exec. what kind of problems? -

Re: Use of Project.executeTarget(String)

2006-06-06 Thread Dominique Devienne
I don't really need the feature but it seems that it could be useful to replace some with property file management sometimes. That's what Ant-Contrib's target does (its name is I think). Yes, I think it's a bit dangerous, as it might run afoul of the target dependency management of Ant. If yo

Use of Project.executeTarget(String)

2006-06-06 Thread Patrick Martin
Hello, Probably a dum question : is is authorized (ie not dangerous) to use the method Project.executeTarget(String) ? The following would create a task that calls a target. The properties set in this target get created in the calling project. public class TargetCaller extends Task { pr

RE: calling maven2 files from ant

2006-06-06 Thread EJ Ciramella
Considering that everything will ultimately be used via CruiseControl AND how little success I've had with the exec task and CC, I was hoping for some optional tasks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 1:08 AM To: user@ant.

AW: Move two folders into a zip file

2006-06-06 Thread Jan.Materne
or Jan >-Ursprüngliche Nachricht- >Von: David Bates [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 6. Juni 2006 14:13 >An: user@ant.apache.org >Betreff: Move two folders into a zip file > >I'm trying to create a new zip file with two folders inside it: > > > > > >

Move two folders into a zip file

2006-06-06 Thread David Bates
I'm trying to create a new zip file with two folders inside it: However, this ends up putting the CONTENTS of "frontend" and "backend" folders into the zip. I want those folders to be included as well: + archive.zip | |--- frontend/ --

Re: Using and checking an environment variable?

2006-06-06 Thread Vincent
You can also try the following greetings Vincent On 6/6/06, Ben Stringer <[EMAIL PROTECTED]> wrote: On Tue, 2006

Re: Using and checking an environment variable?

2006-06-06 Thread Ben Stringer
On Tue, 2006-06-06 at 11:41 +0200, [EMAIL PROTECTED] wrote: > I want to distribute the build.xml file with an application and therefore > not include any paths to software the application depends on. Ideally I > would want to take this from an environment variable and show an error > message if the

Re: calling maven2 files from ant

2006-06-06 Thread Steve Loughran
EJ Ciramella wrote: Without some really hacky scripty goodness, is there a clever way to call maven2 with an ant script? I'm working on getting a maven 2 based project up and running under cruisecontrol and I've taken advantage of lots of little ant benefits. Some things simply don't work usin

Using and checking an environment variable?

2006-06-06 Thread johann . petrak
I want to distribute the build.xml file with an application and therefore not include any paths to software the application depends on. Ideally I would want to take this from an environment variable and show an error message if the environment variable is not set. Currently I set a property like