You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Fyler, Cody A" <Co...@financial.wellsfargo.com> on 2004/01/13 22:45:49 UTC
Ant can't find JUnit
Ok,
I've been trying to debug the following problem for about 3 hours:
Here is the error message I am getting (this is with Websphere on W2k):
!! no source information available !!
[javac] This compilation unit indirectly references the missing type
org.apache.log4j.Logger (typically some required class file is referencing a
type outside the classpath)
Now I have log4j.1.2.3.jar in an Ear and I also have the path to that Ear in
my classpath:
<path id="classpath" description="Set the classpath for the build">
<fileset dir="${checkout.destination}/${ear.module}">
<include name="**/*.jar"/>
</fileset>
etc. etc.
I have two different <javac> tasks that reference the same Ear. The first
one appears to work and the second one appears to fail. Any ideas what I may
be doing wrong?
For reference, I have a copy of this same build xml working elsewhere with
other projects, I simply change my properties file to reference each
specific project (all of my Webprojects are very similar in structure).
Cody
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Ant can't find JUnit
Posted by Matt Benson <gu...@yahoo.com>.
<Co...@financial.wellsfargo.com> wrote:
> <fileset
> dir="${checkout.destination}/${ear.module}">
> <include name="**/*.jar"/>
> </fileset>
I'm no expert on EAR files... but using one as the
base directory of a fileset doesn't strike me as being
"reasonable and customary." Are you sure that's
legal?
-Matt
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org