-
Actually my problem was different, and the this genjar task will wrap a derby database in a jar file properly:
<resource>
<fileset dir="derby" includes="docentries/">
</fileset>
</resource>
If derby is the derby.system.home and docentries the database directory.
François.
2009-11-03 13:06:25 UTC by frappaz
-
Hi
I would like to jar a database made with derby and tried
<code>
<resource><br>
<fileset dir="derby" includes="docentries/"> </fileset>
</resource>
</code>
With derby beeing the derby system directory and docentries the directory of the database. It's seems almost ok...
2009-10-30 11:31:37 UTC by frappaz
-
steveo@steveo:~/hello$ ls -lah which ant
lrwxrwxrwx 1 root root 20 2009-07-25 08:30 /usr/bin/ant -> ../share/ant/bin/ant
steveo@steveo:~/hello$ ls -lah /usr/share/ant/lib/GenJar.jar
-rw-r--r-- 1 root root 32K 2009-10-26 13:24 /usr/share/ant/lib/GenJar.jar
steveo@steveo:~/hello$ cat Hello.java
public class Hello {
public static void main(String[] args){.
2009-10-27 13:46:13 UTC by deadsea
-
Preview indicated that would be formatted better. Let me try again.
<pre>
steveo@steveo:~/hello$ ls -lah which ant
lrwxrwxrwx 1 root root 20 2009-07-25 08:30 /usr/bin/ant -> ../share/ant/bin/ant
steveo@steveo:~/hello$ ls -lah /usr/share/ant/lib/GenJar.jar
-rw-r--r-- 1 root root 32K 2009-10-26 13:24 /usr/share/ant/lib/GenJar.jar
steveo@steveo:~/hello$ cat Hello.java
public...
2009-10-27 13:44:52 UTC by deadsea
-
I can't even get hello world to work. Can anybody shed any light on my problem?
<pre>
<b>steveo@steveo</b>:~/hello$ ls -lah `which ant`
lrwxrwxrwx 1 root root 20 2009-07-25 08:30 /usr/bin/ant -> ../share/ant/bin/ant
steveo@steveo:~/hello$ ls -lah /usr/share/ant/lib/GenJar.jar
-rw-r--r-- 1 root root 32K 2009-10-26 13:24 /usr/share/ant/lib/GenJar.jar...
2009-10-27 13:42:07 UTC by deadsea