Re: Filemapper or globmapper

2010-03-01 Thread Stefan Bodewig
On 2010-03-01, Rez P wrote: > tofile="${local.dir}/${build.version}.${build.number}/qa/${appname}.war" > overwrite="true"/> > tofile="${local.dir}/${build.version}.${build.number}/qa/${appname}.jar" > overwrite="true"/> > tofile="${local.dir}/${build.version}.${build.number}/qa/${appname

Re: The new archives task

2010-03-01 Thread Stefan Bodewig
On 2010-03-01, Christian Beil wrote: > But what if I want to filter the files in the dependency jars somehow, > and not the jar files themself. > I thought I could use and , Likely. > but they don't seem to be supported as sub-tasks of . should be, as long as you are using Ant 1.8.0. Taking

Re: ssh exectuion failure from build task in

2010-03-01 Thread vino_hymi
Yes Robert, the env is the issue. Thanks for the reply. Regards, Vinodh' Kumar Robert Anderson-6 wrote: > > This is probably not an ant issue. When you sshexec something on the > remote > host, the environment is not setup the same as if you are logged in. Your > .profile is not sourced and yo

Re: ssh exectuion failure from build task in

2010-03-01 Thread Robert Anderson
This is probably not an ant issue. When you sshexec something on the remote host, the environment is not setup the same as if you are logged in. Your .profile is not sourced and your PATH and other variable can be different. To troubleshoot this, I suggest running the command outside of ant like th

Re: What's Up with FTP task?

2010-03-01 Thread Robert Anderson
Or try using the scp task. -Rob Anderson On Sat, Feb 27, 2010 at 11:21 AM, Antoine Levy-Lambert wrote: > Hi, > > commons-net-2.0 could be the culprit. Try with commons-net-1.4.0. > > I have looked at our library dependencies manual page [1] > > Regards, > > Antoine > > [1] http://ant.apache.org/m

RE: Detect command line properties

2010-03-01 Thread Shawn Castrianni
Thanks, I think that will help. I am already using my own exec task I call smartexec. I added a lot of features similar to the cpptasks so that I can setup argsets with an ID that can be reused for multiple smartexec tasks with REFID. Each argset and arg inside can have if/unless attributes a

Re: artifactreport leaves out some dependencies

2010-03-01 Thread Maarten Coene
It's hard to tell what's going wrong. After looking at the code, I think the artifactreport does ignore the fact that the resolve should be done in dynamic resolveMode. Could you verify this hypothesis by setting the resolveMode to dynamic in your settings.xml? Cfr http://ant.apache.org/ivy/hist

Re: Detect command line properties

2010-03-01 Thread Dominique Devienne
On Mon, Mar 1, 2010 at 10:28 AM, Shawn Castrianni wrote: > Is there a way to tell the difference between ant properties specified by the > user on the command line versus those that come from property files are or > hardcoded in the build.xml?  I have an ant build that execs to another ant > bu

Filemapper or globmapper

2010-03-01 Thread Rez P
I would like to copy files with certain extensions (normally the destination environment is used to determine the file extension) to a location and strip off the extensions. But I currently resort to using the copy tasks with the file and tofile attributes to accomplish this as in the example b

The new archives task

2010-03-01 Thread Christian Beil
Hi, this seems to be a common question which has been asked and answered many times. For example here: http://marc.info/?l=ant-user&m=121240932031764&w=2 But I still don't know how to do it. And since the new archives task (http://ant.apache.org/manual/CoreTypes/resources.html#archives) someh

Detect command line properties

2010-03-01 Thread Shawn Castrianni
Is there a way to tell the difference between ant properties specified by the user on the command line versus those that come from property files are or hardcoded in the build.xml? I have an ant build that execs to another ant build (I use exec instead of or other similar tasks because I have

Re: 1.8 Performance Degradation

2010-03-01 Thread Stefan Bodewig
On 2010-03-01, Murray, Mike wrote: > Has anyone else noticed a degradation with 1.8.0? Yes, for any type of task on Windows (this includes, for example, ) that used to take way less than a second. Currently each such takes at least a second (give or take a few millis) so if you are using a lo

1.8 Performance Degradation

2010-03-01 Thread Murray, Mike
Has anyone else noticed a degradation with 1.8.0? I noticed a target that took 34 minutes to run with 1.7.1, now takes 68 minutes. This target iterates through 600 or 700 Ant projects and runs the init target on each. I'm having trouble pinpointing where it is, but it seems to be in the pro

facing the issue while creating ejb jar file

2010-03-01 Thread achhayya
I am facing the issue while creating ejb jar file. I tried with ejb jar ant task, but it is only compiling and packaging the ejb related class files. For instance, One application is having 5 java files and one ejb java file. Ejbjar ant task is only packaging the ejb jav

Sorry about the repeated messages.

2010-03-01 Thread David Goblirsch
The windows emailer kept insisting the mail was never sent. Yikes.

Re: artifactreport leaves out some dependencies

2010-03-01 Thread David Goblirsch
Maarten Coene wrote: Seems like a bug to me, could you provide more details? Maarten - Original Message From: David Goblirsch To: ivy-u...@ant.apache.org Sent: Thu, February 25, 2010 7:18:33 PM Subject: artifactreport leaves out some dependencies I have a resolve target in an ant

problems with empty directories and copy task

2010-03-01 Thread Sascha Ernst
Hello, I have a problem with a fileset/patternset and a copy task. In the structure I'd like to copy there are (besides "normal" folders and files) - Empty directories - OS-specific folders I'd like to copy everything (incl. the empty directories) but NOT the OS-specific fol