Re: Ant executing external commands

2005-05-25 Thread Jeffrey E Care
Check out the apply task in the manual. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis Yayo <[EMAIL PROTECTED]> wrote on 05/25/2005 02:32:32 PM: > I've been programming a task for

Ant executing external commands

2005-05-25 Thread Yayo
I've been programming a task for executing an external task. Seems that the security policy won't allow me to run an external program within an Ant task. I want to run an external utility iterating through a list of files and I think that there are not iterators in Ant std tasks (please tell me

RE: need help for ant scripting

2005-05-25 Thread S I
Experimenting between the two ant tasks and I found out to be smoother in accomplishing calling many other build files from within a master build file by If you have many buildfiles called build.xml, does not know how to handle them and complains whereas does not, at least that was my

RE: need help for ant scripting

2005-05-25 Thread Shatzer, Larry
Check the FAQ: http://ant.apache.org/faq.html#xml-entity-include Pay attention to the section, near the bottom. -Original Message- From: Asha [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 3:40 PM To: user@ant.apache.org Subject: need help for ant scripting Hello, Can any

RE: Checking out with CVS_RSH=ssh using ant

2005-05-25 Thread Jay Burgess
Since at least one other person is interested, here are the steps I went through. Two personal caveats: * My client OS is Windows XP. * I use Pageant for SSH authentication, so it will change your authentication process if you don't. (Tip: If you end up using Pageant, and you want it to always

need help for ant scripting

2005-05-25 Thread Asha
Hello, Can anyone tell me how to include antbuild script inside another antbuild script. Tia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Antcall Vs. macrodef

2005-05-25 Thread James Fuller
[EMAIL PROTECTED] wrote: >Hi folks, > >I am writing a common build script for 2 departments that build similar >products but have some slightly different requirements in terms of build >structure. > >My plan was to have modular independent functions so that the common >functionality could be used

RE: Checking out with CVS_RSH=ssh using ant

2005-05-25 Thread Jay Burgess
Todd, I just implemented something similar this weekend, though our techniques are different. I used command-line CVS in conjunction with Putty to directly access CVS from Windows (XP), without the need for CYGWIN. If this option might be of interest, let me know and I'll provide the details. J

Re: Antcall Vs. macrodef

2005-05-25 Thread Mark Lundquist
On May 25, 2005, at 8:24 AM, [EMAIL PROTECTED] wrote: I am writing a common build script for 2 departments that build similar products but have some slightly different requirements in terms of build structure. My plan was to have modular independent functions so that the common functionalit

Antcall Vs. macrodef

2005-05-25 Thread glenn . h . brown
Hi folks, I am writing a common build script for 2 departments that build similar products but have some slightly different requirements in terms of build structure. My plan was to have modular independent functions so that the common functionality could be used by both teams and the different f

Re: import Tidy jar, path to jar

2005-05-25 Thread Mark Lundquist
On May 25, 2005, at 8:05 AM, THUFIR HAWAT wrote: heh, I have copied Tidy.jar to many locations. the "primary" location is /home/thufir/java/lib/Tidy.jar, oh, d'oh... that was in your previous email, I just missed it... it's also at /home/thufir/java/src/org/w3c/tidy/Tidy.jar and home/thuf

Re: import Tidy jar, path to jar

2005-05-25 Thread THUFIR HAWAT
On 5/25/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: > > On May 24, 2005, at 11:15 AM, THUFIR HAWAT wrote: > > > I can't pin down why I think this, but I believe there's a mismatch > > between where the build file says to find Tidy.jar and its actual > > location. > > What is it's actual locati

Only deleting an empty directory (-tree)

2005-05-25 Thread Juergen Damke
I'm searching for a task which traverses a directorytree and removes all empty directories, but leaves those which have any contents. Should work unter *NIX and Windows, so a java Task is preferred. Mit freundlichen Grüßen / With best regards Jürgen Damke Portal Automated Function Verification T

Re: import Tidy jar, path to jar

2005-05-25 Thread Mark Lundquist
On May 24, 2005, at 11:15 AM, THUFIR HAWAT wrote: I can't pin down why I think this, but I believe there's a mismatch between where the build file says to find Tidy.jar and its actual location. What is it's actual location? —ml— --

Re: XSLT transofrmations

2005-05-25 Thread James Fuller
Ammar Hedi (stu) wrote: >Is there possible to make an xslt transformation by using the task JAVA? > > > you can either directly invoke the XSLT processor of your choice (if its on your machine), using the tag if its a Java processor or the or if it has a command line interface. alternately

AW: XSLT transofrmations

2005-05-25 Thread Jan . Materne
doesnt something else that your direct "java " call from command line. Jan > -Ursprüngliche Nachricht- > Von: Ammar Hedi (stu) [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 25. Mai 2005 14:26 > An: Ant Users List > Betreff: RE: XSLT transofrmations > > Is there possible to make

RE: XSLT transofrmations

2005-05-25 Thread Ammar Hedi \(stu\)
Is there possible to make an xslt transformation by using the task JAVA? .. Salutations / Mit freundlichem Gruß / Kind regards Hedi AMMAR (Stagiaire) Siemens VDO Automotive AG SV C BC 1, avenue Paul Ourliac B.P. 1149 Toulouse

RE: Problem with dual classloader.

2005-05-25 Thread Rainer Noack
Hi Tomasz, could you try the following: remove classpathref attribute from the typedefs (maybe in this case, the classloader-ref will be replaced) or remove ALL loaderref attributes and set prior to your taskdefs and typedefs. cheers Rainer > -Original Message- > From: Siwiec, Tomasz [ma

AW: XSLT transofrmations

2005-05-25 Thread Jan . Materne
? Jan > -Ursprüngliche Nachricht- > Von: Ammar Hedi (stu) [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 25. Mai 2005 11:31 > An: user@ant.apache.org > Betreff: XSLT transofrmations > > Hello, > I am a new user of Ant. > I want to optimize my XSLT transformations : > > " > set Jre

XSLT transofrmations

2005-05-25 Thread Ammar Hedi \(stu\)
Hello, I am a new user of Ant. I want to optimize my XSLT transformations : " set JrePath="%TS_LOCAL%\xml\jre1.4.1" set XercesPath="%TS_LOCAL%\xml\xerces2.6.2" set XalanPath="%TS_LOCAL%\xml\xalan2.6.0" %JrePath%\bin\java.exe -Djava.endorsed.dirs=%XercesPath%;%XalanPath% -Duser.language=en -Dor

Problem with dual classloader.

2005-05-25 Thread Siwiec, Tomasz
Guys, I have my own task and collection implemented and I use it like that: ... ... My task and collection jar file is located at std.classpath. The problem is the AntFileInfoSet class is load