Greetings, This is most likely an issue with my Forte setup, but being relatively new to both worlds I was hoping that a helpful Cocoonite could point me in the right direction.
Cocoon 2.0.3 Forte CE J2SE 1.4.1 Win2K Building Cocoon from command line => everything works fine. Building Cocoon from inside Forte => the Ant script fails when attempting to do a "Build All" - at the compilation stage. Ive included the build output below. I'm presuming the problem lies the fact that the command line build executes a couple of batch files first, which setup extra classpaths, before letting Ant take over... Whereas Forte doesn't unless I make it. The problem is that I don't know the best/easiest way to configure this. Help appreciated!! Thankyou and regards, Dave. <----------snip----------> init: -------------------------------------------------------------- Apache Cocoon 2.0.3 [1999-2002] -------------------------------------------------------------- Building with Ant version 1.4.1 compiled on October 11 2001 using build file D:\Apache Group\cocoon-2.0.3\build.xml -------------------------------------------------------------- WARNING: This build is targetted for use with JVM 1.4 Using this build on a virtual machine other than the one it is targetted for may result in runtime errors. -------------------------------------------------------------- </----------snip----------> <----------snip----------> Created dir: D:\Apache Group\cocoon-2.0.3\build\cocoon generate-java-code-check: generate-java-code: Transforming into D:\Apache Group\cocoon-2.0.3\build\cocoon\src\org\apache\cocoon\components\browser Transforming into D:\Apache Group\cocoon-2.0.3\build\cocoon\src\org\apache\cocoon\components\browser Loading stylesheet D:\Apache Group\cocoon-2.0.3\src\java\org\apache\cocoon\components\browser\Browser Impl.xsl filter-jdbc: nofilter-jdbc: prepare-jdbc: prepare-src-main: Created dir: D:\Apache Group\cocoon-2.0.3\build\cocoon\classes Copying 661 files to D:\Apache Group\cocoon-2.0.3\build\cocoon\src Copied 1 empty directory to D:\Apache Group\cocoon-2.0.3\build\cocoon\src Created dir: D:\Apache Group\cocoon-2.0.3\build\cocoon\scratchpad\src Created dir: D:\Apache Group\cocoon-2.0.3\build\cocoon\scratchpad\classes Copying 183 files to D:\Apache Group\cocoon-2.0.3\build\cocoon\scratchpad\src compile: Copying 28 files to D:\Apache Group\cocoon-2.0.3\build\cocoon\classes Compiling with Java 1.4, debug on, optimize off, deprecation off Compiling 607 source files to D:\Apache Group\cocoon-2.0.3\build\cocoon\classes build/cocoon/src/org/apache/cocoon/components/language/programming/java/ Javac.java [111] package sun.tools.javac does not exist sun.tools.javac.Main compiler = new sun.tools.javac.Main(err, "javac"); ^ build/cocoon/src/org/apache/cocoon/components/language/programming/java/ Javac.java [111] package sun.tools.javac does not exist sun.tools.javac.Main compiler = new sun.tools.javac.Main(err, "javac"); ^ 2 errors build.xml [704] Compile failed, messages should have been provided. BUILD FAILED Total time: 41 seconds </----------snip----------> UTS CRICOS Provider Code: 00099F DISCLAIMER ======================================================================== This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. ======================================================================== --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>