Re: available does not support *

2006-09-05 Thread Stefan Bodewig
On Tue, 05 Sep 2006, Dirk Starke <[EMAIL PROTECTED]> wrote: > I would like to test whether or not a specified directory contains > some files. Apart from Jan's suggestion, which should work for Ant 1.6, Ant 1.7beta comes with a new condition Stefan ---

JUnit4.1 support in Ant 1.7 Beta

2006-09-05 Thread Mirko.Zieroth
Hi, I have some problems in testing java classes with Junit 4.1 and Ant 1.7 Beta. The classes to be tested are Singletons written with AspectJ and Java 1.5. The test-classes are pure Junit 4 tests with anotations and without JUnit4TestAdapter. If I run the ant script I get the exception: "No r

Re: Dealing with failed target

2006-09-05 Thread Alexey N. Solofnenko
You can use try/catch from Ant-Contribs or -keep-going option. The later will still fail the build, but it will execute as much targets as possible. - Alexey. Daniel Winterstein wrote: How can I recover when an ant target fails? I have several ant targets, and I want the top-level target to ke

Dealing with failed target

2006-09-05 Thread Daniel Winterstein
How can I recover when an ant target fails? I have several ant targets, and I want the top-level target to keep running even if some of the sub-targets fail. Is this possible? Thanks, - Daniel - There are 3 types of mathematician: those who can count, and

Re: CVS checkout with ANT

2006-09-05 Thread Derrick Simpson
? I am using a windows machine, but the cvs server is on a unix platform, which I don't have access to. When you use "cvs" from the command line, you're using a cvs client. On 9/5/06, David TROGDON <[EMAIL PROTECTED]> wrote: You shouldn't need a "cvs client". If you are useing Windows, map t

Re: CVS checkout with ANT

2006-09-05 Thread David TROGDON
You shouldn't need a "cvs client". If you are useing Windows, map the server CVS is installed on in explorer. Then it becomes the "F:" drive or what ever. In advanced properties, add "F:\Programs Files\ CVS for NT" or where ever CVS is installed on the server to your path. Now if you type "cvs"

Re: Depending on varying target using param inside antcall

2006-09-05 Thread Daniel Blaukopf
Hi Holger, How about ? You are then running the configuration target and text in the same project. Daniel Holger Rauch wrote: > Hi, > > I would like to have a target depend on another target whose name is > specified as the value of a param used inside an . Is this > pos

Re: CVS checkout with ANT

2006-09-05 Thread Derrick Simpson
David, I am using eclipse, and everything works fine from there. However, I'm trying to automate some tasks. I don't have a command line cvs client on my pc. Thanks, Derrick On 9/5/06, David TROGDON <[EMAIL PROTECTED]> wrote: I'm not sure of how you are useing/accessing CVS or your opera

.JUnit41 support in Ant 1.7 Beta

2006-09-05 Thread Mirko.Zieroth
Hi, I have some problems in testing java classes with Junit 4.1 and Ant 1.7 Beta. The classes to be tested are Singletons written with AspectJ and Java 1.5. The test-classes are pure Junit 4 tests with anotations and without JUnit4TestAdapter. If I run the ant script I get the exception: "No r

Depending on varying target using param inside antcall

2006-09-05 Thread Holger Rauch
Hi, I would like to have a target depend on another target whose name is specified as the value of a param used inside an . Is this possible? If not, can this functionality be achieved in another way? If so, which one? Below is an example that (hopefully) clarifies what I'm trying to do. It consis

JUnit4.1 support in Ant 1.7 Beta

2006-09-05 Thread Mirko.Zieroth
Hi, I have some problems in testing java classes with Junit 4.1 and Ant 1.7 Beta. The classes to be tested are Singletons written with AspectJ and Java 1.5. The test-classes are pure Junit 4 tests with anotations and without JUnit4TestAdapter. If I run the ant script I get the exception: "No r

Re: CVS checkout with ANT

2006-09-05 Thread Derrick Simpson
Yes, there is a CVSROOT directory under /usr/local/cvsroot/ . I'm not sure why I'm getting that error. I dont't think I'm getting properly authenticated. When I try doing a commit, I get: [cvs] Using cvs passfile: C:\Documents and Settings\dsimp0\.cvspass [cvs] The server's host key

Re: CVS checkout with ANT

2006-09-05 Thread David TROGDON
I'm not sure of how you are useing/accessing CVS or your operating system. I would think you could do "test" check out from a command window. Once you have a command line you know works from the command window, you should be able to implement the same command from Ant. I do something similar to

Re: XML_CATALOG_FILES with multiple entries

2006-09-05 Thread Scot P. Floess
You may need to escape the colon after the protocol...something like: XML_CATALOG_FILES=file\://etc/catalog:http\://catsrv/catalog Chris Chiasson wrote: Hello ant users. I know ant can acquire environment variables by using the following construct: I was thinking it would be great to use t

gentoo java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison

2006-09-05 Thread Chris Chiasson
For anyone that encouters this error on gentoo with ant > 1.6, I believe I located [1] the solution: emerge -uDNav ant-tasks [1] http://forums.java.net/jive/thread.jspa?messageID=103089 Of course, now I have a new problem where xalan is telling me that it can't locate a template for . I guess t