I presume that you are using ant to build? I use the following build script:
1. build.xml
<project name="User" default="compile">
<target name="compile">
<javac srcdir="../classes" --- directory you *java file(s) to be compiled are
destdir="../classes" -- destination where you want the compiled class file to live
debug="on"
>
<classpath>
<fileset dir="../lib"> --- destination of your classpath
<include name="*.jar"/> --- this line pulls in every jar in your classpath
</fileset>
</classpath>
</javac>
</target>
</project>
Amend as required
Andrew
On 20 Jan 2004, at 16:50, Dioc Vine wrote:
hi *
I’m a complete newbie to Cocoon and have troubles to compile actions.
I’m using the 2.1.3 distribution of cocoon and tried to compile the sample action HelloAction.java which comes with the source. Therefore I included the cocoon-2.1.3.jar and the avalon-framework-4.1.4.jar in the classpath as these are the only ones to be needed ... so I thought. But still the ServiceableAction class and the getLogger() method are unknown to the java compiler. What’s missing or wrong?
Thanx for your help,
Georg Göttlich
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
