I believe it is not sufficient to set your CLASSPATH environment, as that
will only affect the CLASSPATH that ant itself sees and not the classpath
that ant sets when it invokes javac.
You will need to put j2ee.jar into the ./lib directory (where it will be
automatically added to the compilation classpath) OR edit build.properties
and assign ${j2ee.jar} to point to the location of the j2ee.jar file.
Hope this helps,
yuji
----
On Wed, 5 Mar 2003, Adam Griffiths wrote:
> Hi again,
> Thanks for your replies Thomas. I downloaded j2sdkee1.3.1, installed it to
> c:\j2sdkee1.3.1 and set my CLASSPATH to "C:\j2sdkee1.3.1\lib". I tried
> "bin\build prepare-tutorials" and got the same error as before. I also
> tried copying j2ee.jar to my C:\j2sdk1.4.1_01\lib and
> C:\j2sdk1.4.1_01\lib\ext but neither work. Is there something I'm not
> understanding?
>
> Adam
>
> The error again:
>
> BUILD FAILED
> file:C:/db-ojb-1.0.rc1/build.xml:184: j2ee.jar is missing! Please get it
> from ht
> tp://java.sun.com/j2ee/. Put it in lib or have the ant property j2ee.jars
> point
> at this jar file.
>
> ________________________________________________________
> s_p_a_m_t_r_a_p from:[EMAIL PROTECTED]
> Do not email the above address or remove these two lines
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2003 06:55
> To: OJB Users List
> Subject: Re: Does db-ojb-1.0.rc1.tgz depend on j2ee?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Yuji Shinozaki Computer Systems Senior Engineer
[EMAIL PROTECTED] Advanced Technologies Group
(804)924-7171 Information Technology & Communication
http://www.people.virginia.edu/~ys2n University of Virginia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]