Has anyone ever used Ant to generate, compile and link a library for use
with JNI? (ie. ...).
Ie. I have an existing validated C library I wish to use (for the moment).
I'd like to be able to automatically build the java classes, generate the .c
and .h files, and produce the shared library for
Whats wrong with ?
When prepending to java sources, you have to ensure that the license infos
are inside a java comment (/* ... */).
Jan
> -Ursprüngliche Nachricht-
> Von: Kannan V [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 16. September 2004 19:54
> An: [EMAIL PROTECTED]
> Betr
See also the FAQ [1].
Jan
[1] http://ant.apache.org/faq.html#NoClassDefFoundError
> -Ursprüngliche Nachricht-
> Von: Travis Quarterman [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 16. September 2004 20:52
> An: Ant Users List
> Betreff: Re: Exceptions
>
> This is really bizarre,
Mike,
Thanks. Having ext in my package structure was causing the problem ..
thanks for the help.
Satish
-Original Message-
From: Murray, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 4:15 PM
To: Ant Users List
Subject: RE: javac ant task
It is probably because ext i
DOH!
I always miss the obvious solution... ;-)
> -Original Message-
> From: Murray, Mike [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 16, 2004 2:15 PM
> To: Ant Users List
> Subject: RE: javac ant task
>
>
> It is probably because ext is part of your package structure.
>
Oh, I misread your original message. The problem is that it ALWAYS
compiles ALL the files in that one source directory, regardless if
you've made any changes?
Here's what the manual says:
[quote]
The source and destination directory will be recursively scanned for
Java source files to compile. On
It is probably because ext is part of your package structure.
http://ant.apache.org/faq.html#always-recompiles
Drop "/ext" from the src, and add it as an includes filter.
includes="ext/**"
-Original Message-
From: Satish Jeejula [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Charles,
I have changed the javac task to use nested src elements. But the
problem still persists. It compiles all the java files under
${wt_home}/src/ext every time even though no file has been changed.
Still puzzled..
Thanks for your help,
Satish
-Original Message-
From: Charles Hudak