Paulo Jorge Guedes wrote:
Hi,
I created an enterprise project with NetBeans and I need to build it
with ant, from the command line.
I'm having a problem with the classpath. I need to import javax.ejb.*
but it won't find the proper jar (j2ee.jar).
The only way I can make ant to find it is setting the attribute
"classpathref" in the "javac" element, inside my target. The problem is
that I can't tweak the script file that defines the javac action because
it is automatically generated by netbeans. I can only hack a generic
file that calls the other file named build-impl.xml.
Do you have any suggestion?
run ant with -lib j2ee.jar to have it stuck on Ant's classpath.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]