10 Jul 18:07
anthill, jboss, ant and classpath
Hello,
I have some problem and I don't know what is wrong.
I cannot add jar files to classpath of ANT.
<FAQ>
To add your own jar files to the classpath when executing Ant, copy
those jar files into the location pointed to by the "anthill.ant.home"
property.
</FAQ>
My ant.home for anthill:
$ cat /opt/anthill/projects/anthill.registry | grep ant.home
anthill.ant.home = lib/apache-ant-1.7.0
I have required JAR files in ANT directory:
$ ls /opt/anthill/lib/apache-ant-1.7.0/*.jar
/opt/anthill/lib/apache-ant-1.7.0/ejb3-persistence.jar
/opt/anthill/lib/apache-ant-1.7.0/jboss-ejb3x.jar
All files are readable by everyone, for our example is required
ejb3-persistence.jar only.
When I compile my file manually then it works -> file is correct:
$javac -classpath /opt/anthill/lib/apache-ant-1.7.0/ejb3-persistence.jar
Dluznik.java
But anthill fails:
-do-compile:
[javac] Compiling 1 source file
(Continue reading)
RSS Feed