Building external modules with Ant

2005-12-02 Thread Tommy Nordgren
I wonder how to build external (jni) modules with the help of Ant, in particular do ant include any tool for controlling the gcc/g++ compiler, when building a JNI tool. If not, are there any tool that can control the gnu autotool set, for building and linking against an external library

Inheriting patternset refid

2005-12-02 Thread Brown, Carlton
Is it possible to declare a patternset with a reference id in a build file, and be able to dereference that id in another build file called by the task? There's a patternset that I keep using over and over in my build files, and it would be nice if there were a way to specify it once and be able

Does "property" could have several values?

2005-12-02 Thread ye huaiguang
hi,all I'm a newbie of Ant, now I have a question, I want to define classpath, but they aren't in one place, like this but now my value should be "D:/Java/hibernate" &="D:/Java/hibernate/lib", should I write them like this? or I know I

jar update does not work

2005-12-02 Thread Anand Krishniyer
Hi I am trying to update an ear file using jar update. includes="myclient.jar" update="true"/> Now here is the background. a.ear may already contain myclient.jar(along with other jar files) and could be newer, but I want the jar task to update the ear with myclient.jar fro

Re: removing file from jar

2005-12-02 Thread Jochen Wurster
Hi Antoine, thanks this worked for me. If you want to keep the MANIFEST you have to use the zip task. Bye Jochen On Thursday 01 December 2005 22:16, Antoine Levy-Lambert wrote: > Hello Jochen, > > with ant you can do something like > > > >

RE: ant not recognizing command line argument

2005-12-02 Thread Dick, Brian E.
No need for any utility. for /f %i in ("ant.bat") do @echo %~$path:i -Original Message- From: Bill Rich [mailto:[EMAIL PROTECTED] Sent: Thursday, December 01, 2005 7:24 PM To: 'Ant Users List' Subject: RE: ant not recognizing command line argument Attached is a little utility I have ha

Re: idiom to pass ant command line args to java task?

2005-12-02 Thread Dominique Devienne
> $0 refers to the first argument. Where is the end? Is $9 the last > accessible argument or $10...? Then using that reference must be followed by > a split character. >ant -- one two eleven >$10HelloWorld >a) two0HelloWorld >b) elevenHelloWorld Did you apply the patch? AFAI

Re: Tar with original permission setting

2005-12-02 Thread Jeffrey E Care
This has been discussed many times before. Until JSR 203 (http://www.jcp.org/en/jsr/detail?id=203) is delivered it's basically impossible to do, as java.io.File does not provide access to the file attributes from the underlying native file system. If you absolutely need to preserve the existing

Tar with original permission setting

2005-12-02 Thread Leon Pu
Hi all, could anybody tell me how to use Ant's tar task to tar files and directories with their original permission setting in Linux? Best regards, Leon __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo

Re: ant not recognizing command line argument

2005-12-02 Thread Safak Ökmen
? Ray Tayek wrote: At 04:23 PM 12/1/2005, you wrote: Attached is a little utility... nice program. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---

Re: ant not recognizing command line argument

2005-12-02 Thread Steve Loughran
Safak Ökmen wrote: CLASSPATH=.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;d:\PROGRA~1\JMF21~1.1\lib\sound.jar;d:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\WINDOWS\DOWNLO~1\corteai.zip;C:\WINDOWS\DOWNLO~1\classes.zip;C:\WINDOWS\java\classes;D:\programme\jdbc\mysql-connector-java