AW: sshexec fix for ant1.7 question

2006-01-25 Thread Jan.Materne
http://jakarta.apache.org/site/source.html#patches Jan >-Ursprüngliche Nachricht- >Von: Stefan Bodewig [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 26. Januar 2006 05:57 >An: user@ant.apache.org >Betreff: Re: sshexec fix for ant1.7 question > >On Wed, 25 Jan 2006, glenn opdycke-hans

AW: Making custom tasks globally available

2006-01-25 Thread Jan.Materne
With xml includes you can include a part of a xml file. With you imports another buildfile. With you define tasks. What Stefan was: - your buildfile s sales.xml and common.xml - these two files have s for declaring the tasks, maybe set some s or make some <[macro|preset|script]def>s. To get

Re: Using 2 versions of JAVA_HOME through one build script

2006-01-25 Thread Stefan Bodewig
On Wed, 25 Jan 2006, Srikrishna Parthasarathy <[EMAIL PROTECTED]> wrote: > I have the following build.xml file for doing the build. I need to > switch my java_home every time to do two versions of weblogic > builds. Instead of setting through system control panel JAVA_HOME , > I want to set it th

Re: Unit test a build

2006-01-25 Thread Stefan Bodewig
On Wed, 25 Jan 2006, Clifton Craig <[EMAIL PROTECTED]> wrote: > I tried your suggestion and it looks like I'm getting somewhere. I > now get this on the command line: > > Fetching external item into 'trunk/common' svn: REPORT request > failed on '/repos/asf/!svn/bc/372259/ant/antlibs/common/trunk

Re: sshexec fix for ant1.7 question

2006-01-25 Thread Stefan Bodewig
On Wed, 25 Jan 2006, glenn opdycke-hansen <[EMAIL PROTECTED]> wrote: > I was looking for some additional info on 1.7. From your response, > it appears to be still a while before 1.7 becomes available. There is no release schedule for 1.7, yet. Which means it is at least a few months away (the l

Using 2 versions of JAVA_HOME through one build script

2006-01-25 Thread Srikrishna_Parthasarathy
I have the following build.xml file for doing the build. I need to switch my java_home every time to do two versions of weblogic builds. Instead of setting through system control panel JAVA_HOME , I want to set it through ant script.

Re: Making custom tasks globally available

2006-01-25 Thread Tommy Nordgren
On Jan 25, 2006, at 4:39 AM, Tommy Nordgren wrote: Quoting the following example from "Extreme Programming with Ant" ]> . &common; &sales; Where can I put files for entities, so that they are available to ALL my projects?

RE: BUILD.XML

2006-01-25 Thread Anderson, Rob (Global Trade)
To display available targets run 'ant -projecthelp'. -Rob Anderson > -Original Message- > From: Karthik [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 25, 2006 4:00 AM > To: user@ant.apache.org > Subject: BUILD.XML > > > Hi Form > > I would like to know ,if some on the form ha

RE: sshexec fix for ant1.7 question

2006-01-25 Thread Anderson, Rob (Global Trade)
Just to be clear, I have no idea what the release schedule for 1.7 is. I would choose to patch 1.6.5 because it is known to be a stable release. If the only thing needed is the fix for sshexec, there is no real motivation to take on the risk involved in using a 1.7 build. As far as I know (correct

Re: Unit test a build

2006-01-25 Thread Clifton Craig
Stefan, I tried your suggestion and it looks like I'm getting somewhere. I now get this on the command line: Fetching external item into 'trunk/common' svn: REPORT request failed on '/repos/asf/!svn/bc/372259/ant/antlibs/common/trunk' svn: REPORT of '/repos/asf/!svn/bc/372259/ant/antlibs/common

Re: Convert fileset into command-line args, allowing for spaces in directori

2006-01-25 Thread Dominique Devienne
> > > > > > You're just missing parallel="true" to invoke a single command (or as few as necessary in case of a very long command line when 'maxparallel' is set) instead of one per path element. Your other solutions work Matt, they are just less the "Ant way" IM

Re: sshexec fix for ant1.7 question

2006-01-25 Thread glenn opdycke-hansen
Thanks, I have done that. I was looking for some additional info on 1.7. From your response, it appears to be still a while before 1.7 becomes available. Is there information or a howto on patching ant? --glenn On 1/23/06, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: > Which option is

BUILD.XML

2006-01-25 Thread Karthik
Hi Form I would like to know ,if some on the form has or have any piece of java code to share. 1)Use DOM to parse and add/delete targets into the existing "build.xml" file. 2)Display the targets present within the "build.xml". with regards Karthik123 -

Re: Making custom tasks globally available

2006-01-25 Thread Steve Loughran
Tommy Nordgren wrote: Quoting the following example from "Extreme Programming with Ant" ]> . &common; &sales; Where can I put files for entities, so that they are available to ALL my projects? I would use on Ant1.6+, rather than XML includes. Then u

Re: War task

2006-01-25 Thread Steve Loughran
Sommers, Elizabeth wrote: I am trying to build a war. The files that should be included in the lib are in a fileset defined by ... I can't figure out how to include this. I am getting an error of managed.class.path doesn't denote a zipfileset

RE: Comparing direcories / ${toString: ... } ?!

2006-01-25 Thread Rebhan, Gilbert
Hi, sorry,i don't know how to use in that context ?! any snippets for that ? don't know if i understand the pathproblem = the paths of the compared filesets are equal, as i define the filesets myself. the order could be achieved with antcontrib/SortList if that would be a problem Gilbert i

AW: Comparing direcories / ${toString: ... } ?!

2006-01-25 Thread Jan.Materne
>i want to check whether two directory listings are equal, >means they contain the same set of files. first thought: uptodate >id="dir1"defaultexcludes="false" /> >defaultexcludes="false"/> > > > >some threads say that ${toString: ... } is a bit experimental, would be proble

Comparing direcories / ${toString: ... } ?!

2006-01-25 Thread Rebhan, Gilbert
Hi, yet another file/dir compare question ;-) i want to check whether two directory listings are equal, means they contain the same set of files. i've searched for the subject in the mailing list archives but didn't find a solution that fits for me. Now i have a working solution =