Re: Bug in 'basename'?

2002-09-27 Thread Stefan Bodewig
On Thu, 26 Sep 2002, Andy Hunt [EMAIL PROTECTED] wrote: What I'm expecting to be returned is '1.1.1'. Is there a way around this? This is a known bug in Ant 1.5 that has been fixed in CVS (to be verified by using a nightly build) and will be fixed in 1.5.1. Stefan -- To unsubscribe, e-mail:

Re: Junit task not locating Test classes

2002-09-27 Thread Stefan Bodewig
On Thu, 26 Sep 2002, B. Manikandan [EMAIL PROTECTED] wrote: The following is my build.xml. Iam always getting a ClassNotFoundError for the test class. $src.test.dir points to the parent directory of com.schwab.test.MoneyTest. To get that straight, you have a file

Re: [Q:] Writing a simple Ant task?

2002-09-27 Thread David M. Smith
In message [EMAIL PROTECTED], Stefan Bodewig [EMAIL PROTECTED] writes http://jakarta.apache.org/ant/manual/develop.html#nested-elements Now that was a useful link! I guess that's from the 1.5 documentation? I am sticking with 1.4.1 until NetBeans supports 1.5 so I haven't seen that before.

ANT CVS tagging

2002-09-27 Thread Geoff Meakin
Hi all you Ant/CVS experts, Is there any way to actual tag my CVS tree with a tag as part of an ANT build process (without using exec obviously...) I note the CVS tasks available but they seem to be more geared to getting stuff out of CVS. Any help would be appreciated Thanks Geoff -- To

RE: ANT CVS tagging

2002-09-27 Thread Craig Ciquera
!-- tag the source tree with tag -- target name=src-tag description=Tags source tree in CVS, from a given branch with the given tag. echo message=tagging source from CVS... / cvs cvsRoot=${repository_root} command=rtag -F -r ${cvs_branch} ${tag} mymodule / echo

RE: ANT CVS tagging

2002-09-27 Thread Craig Ciquera
!-- tag the source tree with tag -- target name=src-tag description=Tags source tree in CVS, from a given branch with the given tag. echo message=tagging source from CVS... / cvs cvsRoot=${repository_root} command=rtag -F -r ${cvs_branch} ${tag} mymodule / echo

Re: Bug in 'basename'?

2002-09-27 Thread Andy Hunt
At 8:44 AM +0200 9/27/02, Stefan Bodewig wrote: On Thu, 26 Sep 2002, Andy Hunt [EMAIL PROTECTED] wrote: What I'm expecting to be returned is '1.1.1'. Is there a way around this? This is a known bug in Ant 1.5 that has been fixed in CVS (to be verified by using a nightly build) and will be

Copy files to output, but a directory higher...

2002-09-27 Thread Richard Tasker
I am trying to copy files from /src/blah/I18N - /output/blah for my whole source hierarchy using the glob mapper, I saw some postings on cross platform problems, but cannot get it to work. I am using ant1.4.1 on Windows. Here is the task: copy todir=${output} fileset dir=${src}

failed Junit test - file permission error? Ant 1.5 bug?

2002-09-27 Thread otisg
Hello, I am running JUnit tests via Ant 1.5 on Windows, and whenever a test fails Ant reports it as file permission error, which is completely incorrect. Here is an example: [junit] Running net.wgen.amp.model.AmpUserTest [junit] java.security.AccessControlException: access denied

RE: include jpeg/gifs in a jar

2002-09-27 Thread McHenry, Matt
Sorry for the tardy reply, but in case anyone is interested ... Mel's suggestion will fix the problem. The reason for this is bug #4214785 in Sun's bug parade (Plug-in doesn't load images from JAR files). Matt McHenry Software Developer Carnegie Learning -Original Message-

Re[2]: Can't get linkoffline to work with javadoc task

2002-09-27 Thread Jacob Kjome
Hello joel, Are you sure that the URL's that point to the classes in the Java API are valid when you do this? In my build.properties file, I set the following: javadoc.jdk.offline=true javadoc.jdk.packagelistLoc=C:/j2sdk1.4.1/docs/api/ note that I tried the above packagelistLoc with and

newbie question: start an asynch process

2002-09-27 Thread Erik.Ostermueller
Hi all, Didn't see this in the faq. I want to write an ant task that will start an appserver followed by a process that will start a web server. How can I use ant to start the first process, the appserver, asynchronously? The attribute fork='true' doesn't seem to do the trick. I'm running

Re: newbie question: start an asynch process

2002-09-27 Thread otisg
Lok at parallel, but it's got some restrictions. You can use 2 build files or at least call 2 separate targets what start 2 different processes... Otis On Fri, 27 Sep 2002, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi all, Didn't see this in the faq. I want to write an ant task

javac in multiple threads?

2002-09-27 Thread Mr. Tomcat
As of 1.4.1, javac is now threadsafe. Does Ant (as of 1.5) support multiple compilation threads? If it did, a dual-CPU machine might be able to compile almost twice as fast using ant, which would be cool of course, and which might influence me to get a dewlie for my next desktop machine. --

Re: javac in multiple threads?

2002-09-27 Thread Steve Loughran
- Original Message - From: Mr. Tomcat [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Saturday, September 28, 2002 04:01 Subject: javac in multiple threads? As of 1.4.1, javac is now threadsafe. so they say. New GCs too. Does Ant (as of 1.5) support multiple