RE: Setting environment variables

2008-08-01 Thread Shawn Castrianni
I have the same problem. The exec task is too primitive. Here are things I would like to see: 1. tag with if and unless attributes 2. subtags with if and unless attributes 3. subtag so that an environment set can be defined somewhere with id and then referenced multiple times with refid Ba

includesfile problem

2008-08-01 Thread Florijan Stamenkovic
Hi all, My first post to this list, I hope I am not asking something already answered, but I could not google the result out. I'd like to define file sets based on entries in an includesfile, but modified. For example, I would need to have my includesfile contain: Directory1 Directory2 D

Setting environment variables

2008-08-01 Thread Yang Zhang
Hi, I know that I can set environment variables for a subprocess by using inside an , but if I have a bunch of targets that all do s, and I'd like them all to have this same environment set up, how may I accomplish this duplicating a bunch of s everywhere? My goal is to set things up for buildin

RE: using filesets in a custom task

2008-08-01 Thread EJ Ciramella
No exceptions, just this: Class m2utils.converters.SnapshotConverter loaded from parent loader (parentFirst) +Datatype snapshotconverter m2utils.converters.SnapshotConverter [snapshotconverter] how many filesets? 1 [snapshotconverter] about to process null -Original Message- From: Peters

RE: using filesets in a custom task

2008-08-01 Thread Peters, John
Do you have an error message? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 3:10 PM To: Ant Users List Subject: RE: using filesets in a custom task It's as simple as this so far: public void addFileset(FileSet fileset) { filesets.add(

RE: using filesets in a custom task

2008-08-01 Thread EJ Ciramella
It's as simple as this so far: public void addFileset(FileSet fileset) { filesets.add(fileset); System.out.println("how many filesets? "+filesets.size()); for(int x = 0; x < filesets.size(); x++) { System.out.println("about to process "+filesets.get(x).getDir()); } }

RE: using filesets in a custom task

2008-08-01 Thread Peters, John
Post your code please -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 3:00 PM To: user@ant.apache.org Subject: using filesets in a custom task I'm struggling to write a custom task that utilizes filesets. No matter what I do, it doesn't see

using filesets in a custom task

2008-08-01 Thread EJ Ciramella
I'm struggling to write a custom task that utilizes filesets. No matter what I do, it doesn't seem to set/understand the "dir" attribute to the fileset. Any suggestions?

Re: Ant-jmeter task problem

2008-08-01 Thread Krzysieq
Great many thanks! It helped :) Cheers, Chris 2008/8/1 Steve Loughran <[EMAIL PROTECTED]> > Krzysieq wrote: > >> Hi, >> >> Has anyone here used the ant-jmeter task from programmerplanet.org? I >> have >> the latest version and am experiencing difficulty trying to pass some >> parameters to the j

Re: Ant-jmeter task problem

2008-08-01 Thread Steve Loughran
Krzysieq wrote: Hi, Has anyone here used the ant-jmeter task from programmerplanet.org? I have the latest version and am experiencing difficulty trying to pass some parameters to the jmeter commandline. Here's my code: It looks as if the last two nested elements - jmet

Ant-jmeter task problem

2008-08-01 Thread Krzysieq
Hi, Has anyone here used the ant-jmeter task from programmerplanet.org? I have the latest version and am experiencing difficulty trying to pass some parameters to the jmeter commandline. Here's my code: It looks as if the last two nested elements - jmeterarg - are ignore

Re: Getting "Exception invoking method check"

2008-08-01 Thread Kevin Jackson
Hi, > Looks like something happening in tomcat; its their stack trace. > > Personally, I've found the tomcat tasks fairly tricky to keep > alive. I prefer to use deploy-by-copy, and just the WAR file straight > into the tomcat/webapps directory > > * it avoids you having to turn on the public man

RE: Ant 1.7.1 binary distribution seems to be corrupt.

2008-08-01 Thread Daniel.Boswell
Thanks Steve, Your comment about the caching proxy server makes a lot of sense; it seems very likely that this is the cause. I'm not sure how often our company proxy servers get flushed, or how quickly ant 1.7.1 will drop out the cache, but I'll try again in a few days and see what happens. Thank

Re: facing the problem in package

2008-08-01 Thread Vijay Aravamudhan
check that your classpath has been set and includes the directory where your sources are being compiled to. hth, Vijay Kamran Hameed wrote: folks .. this is my package structure. I have a root src folder. In src i have a mpjdev package which contains some files. This mpjdev also contains a fol

Re: How to call Ant scripts from Maven scripts the right way?

2008-08-01 Thread Hans Schwaebli
I solved it now by using the inheritAll=false option: --- On Fri, 8/1/08, Hans Schwaebli <[EMAIL PROTECTED]> wrote: From: Hans Schwaebli <[EMAIL PROTECTED]> Subject: Re: How to call Ant scripts from Maven scripts the right way? To: "Ant Users List" Date: Friday, August 1, 2008, 1:41 AM Then I w

Re: Ant 1.7.1 binary distribution seems to be corrupt.

2008-08-01 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Tried downloading apache-ant-1.7.1-bin.zip and apache-ant-1.7.1-bin.tar.gz today, and extraction using jar xf and winzip failed. Checked the MD5, SHA1 and PGP signatures and they all failed. Tried a couple of mrirors (http://www.mirrorservice.org/sites/ftp.apache.org and

Re: Ant 1.7.1 binary distribution seems to be corrupt.

2008-08-01 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Tried downloading apache-ant-1.7.1-bin.zip and apache-ant-1.7.1-bin.tar.gz today, and extraction using jar xf and winzip failed. Checked the MD5, SHA1 and PGP signatures and they all failed. Tried a couple of mrirors (http://www.mirrorservice.org/sites/ftp.apache.org and

Ant 1.7.1 binary distribution seems to be corrupt.

2008-08-01 Thread Daniel.Boswell
Tried downloading apache-ant-1.7.1-bin.zip and apache-ant-1.7.1-bin.tar.gz today, and extraction using jar xf and winzip failed. Checked the MD5, SHA1 and PGP signatures and they all failed. Tried a couple of mrirors (http://www.mirrorservice.org/sites/ftp.apache.org and http://mirrors.dedipower.co

Re: Getting "Exception invoking method check"

2008-08-01 Thread Steve Loughran
fphan wrote: What does this error mean? Here's the target: 118: 119: 120: 122: Looks like something happening in tomcat; its their stack trace. Personally, I've found the tomcat tasks fairly tricky to keep alive. I prefer to use deploy-by-copy, and just the WAR fi