Re: does "property" could have several values?

2005-12-03 Thread ye huaiguang
hi Thanks ddevienne, now I can resolve my problem, but I still have a question, if my JARs even in a drivers, like "D:\java\lib" & "e:\java\lib", How could I do in this situation? 2005/12/4, Dominique Devienne <[EMAIL PROTECTED]>: > > > but now my value should be "D:/Java/hibernate" > &="D:/Java/

Re: does "property" could have several values?

2005-12-03 Thread Dominique Devienne
> but now my value should be "D:/Java/hibernate" &="D:/Java/hibernate/lib", > should I write them like this? >value="D:/Java/hibernate;D:/Java/hibernate/lib" /> > or > > > > I know I could copy all the jars to one directory, but I think it's quirk, > so I came he

Re: jar update does not work

2005-12-03 Thread Dominique Devienne
> When I manually run > jar ufM ${my.location}/applications/a.ear myclient.jar The command line jar command always does what you tell it to do. Ant's tries to be smarter, and does something when timestamp checking tells it something needs to be done, to enable incremental builds. > it works fin

Re: bug of feature?

2005-12-03 Thread Dominique Devienne
> I was a bit confused with the behavior of dirname when the file > property was that of an unset parameter. >QUESTION: Is this a bug of feature? It's a feature ;-) Or more precisely, it's the expected behavior... > I suspect that the new File object gets constructed before calling > setFile

Re: Building external modules with Ant

2005-12-03 Thread Dominique Devienne
> 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 libra

Re: Inheriting patternset refid

2005-12-03 Thread Dominique Devienne
> 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 a

bug of feature?

2005-12-03 Thread Cyril Sagan
I was a bit confused with the behavior of dirname when the file property was that of an unset parameter. QUESTION: Is this a bug of feature? Here's my full example: $ cd /tmp/Ant_Mystery $ ant -version Apache Ant version 1.6.5 compiled on June 2 2005 $ cat build.xml

does "property" could have several values?

2005-12-03 Thread ye huaiguang
hi, 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 coul