[prev in list] [next in list] [prev in thread] [next in thread]
List: ant-user
Subject: [newbie] Why =?UTF-8?B?ZG9lc27igJl0IG15IGZpbGVzZXQgZ2V0IGRlbGV0ZQ==?=
From: Hendrik Maryns <qwizv9b02 () sneakemail ! com>
Date: 2008-07-25 14:12:01
Message-ID: g6cmvh$kfl$1 () ger ! gmane ! org
[Download RAW message or body]
Hi,
I am struggling to set up my JNI project with Ant.
I already have makefiles for the C part and for now, I resort to using
<target name="c-build" description="Build the C files">
<mkdir dir="${bindir}/Mona"/>
<exec executable="make" dir="makefiles" />
</target>
but I'd be happy if people could point me to other ways to to this.
make invokes gcc, sets some platform-dependent compiler options and
invokes swig. Not easy to do in Ant, as far as I can tell.
But now to my real question: my clean target does not do as expected. I
have the following:
<property name="srcdir" value="src" />
<property name="bindir" value="bin" />
<target name="clean">
<delete dir="${bindir}" />
<delete>
<fileset dir="${srcdir}/de/uni_tuebingen/sfb/lichtenstein/binarytrees">
<patternset id="swig.java.files">
<include name="Mona.java,MonaJNI.java,mg*.java" />
</patternset>
</fileset>
</delete>
</target>
The bin directory gets deleted as expected, but those java files are
not. Why?
Buildfile: /home/hendrik/workspace/MonaSearch/build.xml
clean:
[delete] Deleting directory /home/hendrik/workspace/MonaSearch/bin
BUILD SUCCESSFUL
Total time: 383 milliseconds
TIA, H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic