1 Questions in ANT

2006-03-02 Thread Karthik
Hi form I have 1 Questions 1)I have a "build.xml" file with many normal targets, But for LINUX - OS with same build.xml , Do i need to Add the FTP tasks for EACH of the targets or is there an feature avaliable in ANT. ex:- Source OS using ANT to Copy is : "windows

AW: Generating rotating file name?

2006-03-02 Thread Jan.Materne
>But definitely >seems like the way to go. I added the bsf jar and the js jar >(decided javascript was the easiest). But I'm apparently still >missing some other lib. I get the following exception. What >jar file do I still need to add? (Or am I somehow mismatched >on versions? Is the des

Re: Grep?

2006-03-02 Thread Greg Akins
That looks like a good start.. I don't see how to get the output from an ant task into the grep "in"... But I probably just need to read the documentation better ;-) Thanks! On 3/2/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > Hi Greg, > > before you roll your own grep task = > > there's alr

subant failonerror build successful

2006-03-02 Thread Kevin Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Saw a thread from 2004 where the user had multiple subant tasks that weren't dependent on each other so he set the failonerror="false" for those tasks so the build could run all the way to completion. At the end of the build, ANT reported BUIlD SUCC

RE: Generating rotating file name?

2006-03-02 Thread JWM
Jan, Haven't actually used scripts in ant before. But definitely seems like the way to go. I added the bsf jar and the js jar (decided javascript was the easiest). But I'm apparently still missing some other lib. I get the following exception. What jar file do I still need to add? (Or am I so

Generating PDF documentation .

2006-03-02 Thread nimish_chourey
Hi , Would like to know , how to generate the PDF documentation similar to what is found in ANT docs (appendix_e.pdf) . Nimish

RE: Invoking JUnit tests from Ant

2006-03-02 Thread Coup, Douglas (MED US)
Let me also ask a different question related to the same problem. In addition to specifying org.eclipse.test.coretestapplication, I've also tried specifying org.eclipse.pde.junit.runtime.coretestapplication as the application class. This approach doesn't give me the class not found error, but it

Re: propertyregex

2006-03-02 Thread Mark Lybarger
THANKS!!! On 3/2/06, bill/wilandra <[EMAIL PROTECTED]> wrote: > Try reg exp > > Sticky\s+Tag:\s+([^\s]+)\s.* > > or some variation of it. Replacement register 1 will contain the REL_1_0 > from the sample string. > > It says select the word "Sticky" followed by one or more whitespace elements > fol

RE: propertyregex

2006-03-02 Thread bill/wilandra
Try reg exp Sticky\s+Tag:\s+([^\s]+)\s.* or some variation of it. Replacement register 1 will contain the REL_1_0 from the sample string. It says select the word "Sticky" followed by one or more whitespace elements followed by the word "Tag" followed by a colon followed by one or more whitespac

Re: Delete a dir set

2006-03-02 Thread Jeffrey E Care
You need to play with the default excludes. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer Giovanni Mesturini <[EMAI

RE: Delete a dir set

2006-03-02 Thread bill/wilandra
>From the Ant Manual section: "There are a set of definitions that are excluded by default from all directory-based tasks. They are: **/*~ **/#*# **/.#* **/%*% **/._* **/CVS **/CVS/** **/.cvsignore **/SCCS **/SCCS/** **/vssver.scc **/.s

propertyregex

2006-03-02 Thread Mark Lybarger
i want to set a property using propertyregex from ant-contrib. i'm not a regex expert/novice. here's my string: Sticky Tag: REL_1_0 (branch: 1.3.2) I'd like to extract the REL_1_0 (third word, or word after Sticky Tag:) to a property. some help with the regexp of it would be helpfull.

Delete a dir set

2006-03-02 Thread Giovanni Mesturini
Hi Community, I have to remove all CVS references from a tree. I've tried this: in order to delete all CVS directories from my local module, but it doesn't work. How can I delete all CVS dirs spread inside my dir-tree? thanks very much Jo __

Re: Invoking JUnit tests from Ant

2006-03-02 Thread Steve Loughran
Coup, Douglas (MED US) wrote: I'm working with an Ant script that builds a collection of Java plug-ins and then tries to run some Junit tests against them. The running of the Junit tests is attempted using the task (). The -application parameter is set to "org.eclipse.test.coretestapplication

Re: declare tasks without taskdefs?

2006-03-02 Thread Steve Loughran
chuanjiang lo wrote: sorry this is with reference to this thread... http://marc.theaimsgroup.com/?l=ant-user&m=110936710309732&w=2 correct me if im wrong 1) Edit org.apache.tools.ant.taskdefs.defaults.properties in ant.jar to add in my custom task very brittle. Avoid. 2) Adding XML namesp

Invoking JUnit tests from Ant

2006-03-02 Thread Coup, Douglas (MED US)
I'm working with an Ant script that builds a collection of Java plug-ins and then tries to run some Junit tests against them. The running of the Junit tests is attempted using the task (). The -application parameter is set to "org.eclipse.test.coretestapplication". When the script gets to thi

declare tasks without taskdefs?

2006-03-02 Thread chuanjiang lo
sorry this is with reference to this thread... http://marc.theaimsgroup.com/?l=ant-user&m=110936710309732&w=2 correct me if im wrong 1) Edit org.apache.tools.ant.taskdefs.defaults.properties in ant.jar to add in my custom task 2) Adding XML namespace into the task. The jar file that im usin

RE: Grep?

2006-03-02 Thread Rebhan, Gilbert
Hi Greg, before you roll your own grep task = there's already a grep task in the Antelope Package. see = http://antelope.tigris.org/nonav/docs/manual/bk03ch22.html I've already used it to parse stuff, works fine. btw = It's a bit confusing, that this task isn't part of antcontrib, as it was