[opencms-dev] Problems compiling the News Module

Nico Krause Nico.Krause at nsc.eu.com
Wed Nov 13 11:24:51 CET 2002


Search it within the tomcat common/libs directory ...
Servlet.jar I think.



-----Original Message-----
From: Gabriele Vanni [mailto:Gabriele.Vanni at paconsulting.com] 
Sent: Mittwoch, 13. November 2002 11:18
To: 'opencms-dev at www.opencms.org'
Subject: RE: [opencms-dev] Problems compiling the News Module

Hi,

Thanks for that. It worked a tread.... I should have realised that one.

Now it's only complaining about not being able to find
"javax.servlet.http.*", I should be able to find it somewhere.

Thanks again

Gabe  8 )

-----Original Message-----
From: Stephan Hartmann [mailto:beffe at beffe.de]
Sent: 12 November 2002 18:45
To: opencms-dev at www.opencms.org
Subject: Re: [opencms-dev] Problems compiling the News Module


Hi,

you also have to add the directory where your news module's source files
are located in to the classpath, i.e. the one containig the com
directory.

Bye,
Stephan

Am Die, 2002-11-12 um 18.09 schrieb Gabriele Vanni:
> Hi, I'm relatively new to OpenCMS and a bit rusty on Java.
> 
> I've manually retrieved the source files for the news modules from the
> online CVS, but find I can't compile them.
> There seems to be a cross dependency between
> NewsChannelContentDefinition.java and NewsContentDefinition.java.
> When I try to compile one, it complains that it can't find the definition
of
> the other.
> 
> I hope someone can help.
> 
> Other useful bits...
> o JDK 1.3.1_5 on Win2K
> o
>
http://www.opencms.org/cgi-bin/cvsweb.cgi/opencms/modules/news/src/com/openc
> ms/modules/homepage/news/
> o I'm trying to compile the files individually using this batch file:
>    javac -classpath
>
C:\jakarta-tomcat-4.1.12\webapps\opencms\WEB-INF\oclib\opencms.jar;C:\jakart
> a-tomcat-4.1.12\webapps\opencms\WEB-INF\oclib\xerces-1_4_4.jar %1
> o I can't seem to find a build.xml for the news module to use with ant
> 
> Thanks in advance
> 
> Gabe  8 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021113/b335743d/attachment.htm>


More information about the opencms-dev mailing list