Re: Ant to collect 3rd party libraries

2003-08-29 Thread Charlie Cano
I'm intrigued by your suggestion and eager to take a look, but the webcvs is still down. Could you email me the relevant sections and incl file? On Fri, 2003-08-29 at 14:37, Jacob Kjome wrote: > The Tomcat build has a nifty way to do this and I mirrored their technique > in the build I did for

Re: how to create a custom mapper programmatically

2003-08-29 Thread Antoine Levy-Lambert
I have never done it, but looking at the API of Copy, I would do it this way : "Matt Koss" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > Let's say I use sth. like this : > > java.io.File srcDir = new java.io.File( archiveDirName ); > java.io.File destDir = new java.

Re: Ant to collect 3rd party libraries

2003-08-29 Thread Jacob Kjome
The Tomcat build has a nifty way to do this and I mirrored their technique in the build I did for the open source project called Prevayler... http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/prevayler Their webcvs seems down right now, so try a bit later. When it come up, look at the "Dependency

Target executes despite 'unless'

2003-08-29 Thread Jack J. Woehr
[Apache Ant version 1.5] In an overly complex build.xml authored by another, I have a target init of the form: This target always seems to execute every time it's referenced in a dependency despite the (echo'ed) setting of was.inited

Re: Ant to collect 3rd party libraries

2003-08-29 Thread Charlie Cano
Maven looks interesting, but is almost overwhelming at first glance. It also seems overkill for something like this. Perhaps I should move this discussion to the maven list, but is there a simple example somewhere for using Maven JUST for collecting third party libraries? On Fri, 2003-08-29 at

expanding properties in custom task

2003-08-29 Thread Jon Madison
sorry if i missed this--i guess a pointer would be helpful: from the manual on creating a task: --- If the task should support character data (text nested between the start end end tags), write a public void addText(String) method. Note that Ant does not expand properties on the text it passes

Re: help -- can't run ant -- solved

2003-08-29 Thread Jen
I figured it out. The problem is I only set JAVACMD to jdk1.3, but JAVA_HOME still point to jdk1.4, so the ant try to put the jdk1.4 tools.jar in the classpath. Once I set JAVA_HOME in ant.bat, it works. --- Jen <[EMAIL PROTECTED]> wrote: > Thanks. I used to use ant1.5 binary with jdk1.3. > Then >

Re: Ant to collect 3rd party libraries

2003-08-29 Thread Jeffery B. Rancier
Charlie Cano <[EMAIL PROTECTED]> writes: Use the optional ftp task and it's depends attribute. Note that it depends on netcomponents.jar from http://www.savarese.org/oro/downloads. Jeff > I would like to use Ant to automate the "gathering" of 3rd party > libraries (jars, etc) from a remote ftp

Re: New Task and Classpath

2003-08-29 Thread Aloizio Pereira da Silva
It's good. Now, my new ant class is working. Thanks. * * Federal University of Minas Gerais* * Department of Computer Science * * Master Degree in Computer