Checking version

2008-12-04 Thread Francisco Tolmasky
My build file depends on a certain executable on the system being up to date. I'd like to be able to check the version of the executable and see if it is at least a certain number. Is this possible? something like Any help is greatly appreciated! Thanks, Fra

How to call a task from a directory

2008-12-04 Thread madhu sudan
Hi, How to call target, say t1 from C:\abc\build.xml file into target, say x1 (D:\xyz\build.xml file)? Both build files are defined in two different directories. -- Looking forward to hear from you. Thanks & Regards Madhusudan Sharma

Re: How to call a task from a directory

2008-12-04 Thread Stefan Bodewig
On 2008-12-04, madhu sudan <[EMAIL PROTECTED]> wrote: > How to call target, say t1 from C:\abc\build.xml file into target, say x1 > (D:\xyz\build.xml file)? you place an task into the target that shall call the other build file, use the antfile attribute of that task to point to the other build

AW: Checking version

2008-12-04 Thread Jan.Materne
>My build file depends on a certain executable on the system being up >to date. I'd like to be able to check the version of the executable >and see if it is at least a certain number. Is this possible? > >something like > > > > > > > > > > > >Any help is greatly appreciated!

FW: question about clearcase api

2008-12-04 Thread Redmond, Nicole
I am trying to use the clearcase org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout tool and I get a null pointer error on line 43 "ckout.execute();". The code is attached below. Here is the Exception: Exception in thread "main" java.lang.NullPointerException at org.apac

AW: question about clearcase api

2008-12-04 Thread Jan.Materne
>I am trying to use the clearcase >org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout tool and I >get a null pointer error on line 43 "ckout.execute();". The code is >attached below. > > > >Here is the Exception: > > > >Exception in thread "main" java.lang.NullPointerException > >

RE: question about clearcase api

2008-12-04 Thread Redmond, Nicole
Setting project fixes it. Thank you so much. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 7:52 AM To: user@ant.apache.org Subject: AW: question about clearcase api >I am trying to use the clearcase >org.apache.tools.ant.taskdefs.

Re: [antlr-interest] Getting started with Antlr: Resolving a conflicting lexer rule

2008-12-04 Thread Howard Lewis Ship
It took a LONG time but I have my grammar working. Thanks for the pointer. Once I clean it up a little, I'll post it to this list or onto the wiki ... it's a much simpler and easier to follow example than the JavaFX one. On Wed, Dec 3, 2008 at 11:27 AM, Jim Idle <[EMAIL PROTECTED]> wrote: > On W

Re: AW: How can I figure out what JUnit test case is failing?

2008-12-04 Thread dave.alvarado
Hi, I have this plugin -- org.junit4_4.3.1 -- in my C:\Eclipse\plugins directory. Yes, I am running an Ant build file in Eclipse. What I would like is for the specific test case that is failing to be printed to my console. Right now, I only get this run-delete-add-test: [junit] Running D

Re: replaceregexp

2008-12-04 Thread Garrett Smith
On Tue, Dec 2, 2008 at 9:04 PM, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On 2008-12-02, Garrett Smith <[EMAIL PROTECTED]> wrote: >> Why does replaceregexp designed to not take a FileList? > > It is the other way around. replaceregexp like most any task in Ant > predates filelist and resource c

Re: [antlr-interest] Getting started with Antlr: Resolving a conflicting lexer rule

2008-12-04 Thread Howard Lewis Ship
I've taken the liberty of adding my example to the FAQ: http://www.antlr.org/wiki/pages/viewpage.action?pageId=13828121 On Thu, Dec 4, 2008 at 9:44 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > It took a LONG time but I have my grammar working. Thanks for the > pointer. Once I clean it up

Re: AW: How can I figure out what JUnit test case is failing?

2008-12-04 Thread David Weintraub
Okay, here are some "hints" that will help you: * Run all of your tests, then parse your test results. * Use the "plain" type for your formatter. It makes it easier to parse. * You can use the foreach task from the AntContrib scripts to go through each test result. * Use Resource Collections to fi

Re: exclude doesn't seem to quite work?

2008-12-04 Thread Benjamin Damm
I should add that this is 2.0.0rc2. -Ben On Wednesday 03 December 2008 05:16:22 pm Benjamin Damm wrote: > Hi gang, > > I'm running into a problem with ... my ivy.xml looks like this: > > > > > > > > > > > .

Re: exclude doesn't seem to quite work?

2008-12-04 Thread Maarten Coene
It seems like a bug to me. Please create a JIRA ticket. I think it could be caused because your war configuration extends the default configuration. Could you try to modify your ivy.xml so that this isn't the case any longer and try again? Maarten - Original Message From: Benjamin

AW: AW: How can I figure out what JUnit test case is failing?

2008-12-04 Thread Knuplesch, Juergen
If you have the plugin you can now run the DeleteAddSubscriberTest Using the plugin. You should open the Eclipse JUNIT view somewhere on your Eclipse IDE: This is a Eclipse gui for your Tests. Then you open the DeleteAddSubscriberTest.java in the Eclipse Editor. Then you use the right mousebutto