Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problem with classpath in ant/javac

843810Jan 9 2003 — edited Jan 13 2003
Hi,

I got a problem with ant,

I got the following code in my buildfile:

<target name="compile">
<mkdir dir="${build.classes.dir}"/>
<javac srcdir="${src.dir}"
destdir="${build.classes.dir}"
debug="on"
deprecation="on"
optimize="off"
classpath="lib.dir/*"
>
<include name="**/*.java" />
</javac>
</target>

Now my problem is, that it does ev'rything it should, it yust doesn't resolf the given classpath and according to this it gives a compilation error like "package javax.ejb does not exist"

Now my question is, what am I doing wrong?????

thx for your help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2003
Added on Jan 9 2003
4 comments
467 views