Yeah, the process is way broken. IIRC, these were some of the issues I dealt with:
* had to launch the build process from a DOS window that had environment memory set to 4096K (as you already noted) * some of the batch files were written on UNIX, and therefore use line-feeds as line terminators, instead of the DOS standard carriage-return/line-feed combo. DOS ignores LF's in batch files (sees them as whitespace), and therefore tried to process several lines of batch file as one single line. So I had to take the bin\ant.bat file and convert it CR/LF's using my editor. * The whole point of all the batch files is to finally build a "java" command to kick off ant. But even after all the stuff above it still didn't generate the right start-up command - put lots of extra space in the classpath. I wound up debugging the batch file, echoing out what it was trying to build, then taking it, fixing it by hand, and putting into a batch file of my own (attached to this msg). Once I finally ran that batch file, the WAR was generated fine and everything went smoothly. Hope this helps. Email if not. DR At 08:00 PM 11/2/01 -0500, you wrote: >Thanks. I saw the entry about the environment in the FAQ but since this was >a Java compile problem, I didn't give it much thought. > >Can someone please confirm that Cocoon-2.0rc1a compiles properly? After >making the changes, I still get the java compile error. But, Cocoon-2.0b2 >compiles properly with the same Win98 configuration. This leads me to >suspect that either 0rc1a uses a different Java version (ie. not 1.3) or has >a bug in it somewhere.... > > >----- Original Message ----- >From: "Liam Morley" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, November 02, 2001 7:03 PM >Subject: RE: Problems installing Cocoon2 = Win98 machine > > > > Doug, > > In the Cocoon FAQ, you'll see a solution for not enough environment > > memory. Changing it in the properties of the file doesn't seem to be > > enough- you'll need to edit your config.sys. After this you MUST use 8.3 > > naming conventions. > > > > Liam > > > > > > -----Original Message----- > > From: Doug [mailto:[EMAIL PROTECTED]] > > Sent: Friday, November 02, 2001 5:54 PM > > To: [EMAIL PROTECTED] > > Subject: Problems installing Cocoon2 = Win98 machine > > > > Can someone please help me install Cocoon? I am unable to build it. I > > keep > > on getting the following error and do not know why: > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > > > > I have a Win98 machine, increased the environment for the build.bat and > > ant.bat files. I have Jdk1.3 installed. I even installed Tomcat and can > > run > > it without problems. I added the "set JAVA_HOME=c:\jdk1.3" to both the > > build.bat and ant.bat files. > > > > I am trying to install Cocoon-2.0rc1a > > > > Thanks > > > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > >--------------------------------------------------------------------- >Please check that your question has not already been answered in the >FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > >To unsubscribe, e-mail: <[EMAIL PROTECTED]> >For additional commands, e-mail: <[EMAIL PROTECTED]>
c:\java\jdk1.3\bin\java -classpath "c:\java\jdk1.3\lib\tools.jar";".\lib\BSF.JAR";".\lib\JSTYLE.JAR";".\lib\JIMI-1~1.JAR";".\lib\JUNIT.JAR";".\lib\STYLEB~1.JAR";".\lib\TIDY.JAR";".\lib\AVALON~2.JAR";".\lib\HSQLDB~1.JAR";".\lib\XT.JAR";".\lib\RHINO.JAR";".\lib\DOM2.JAR";".\lib\JAKART~1.JAR";".\lib\AVALON~1.JAR";".\lib\ANT_1_~1.JAR";".\lib\RESOLVER.JAR";".\lib\FOP-0_~1.JAR";".\lib\LOGKIT~1.JAR";".\lib\XERCES~1.JAR";".\lib\XALAN-~1.JAR";".\lib\ANT_1_4.JAR";".\lib\BATIK-~1.JAR";".\lib\MAYBEU~1.JAR";".\lib\SERVLE~1.JAR";".\lib\VELOCI~1.JAR";".\lib\COCOON~1.JAR";".;..\classes;c:\java\jdk1.3\lib\classes.zip" -Dant.home="." org.apache.tools.ant.Main -Dinclude.webapp.libs yes -Dinstall.war c:\java\jakarta-tomcat-4.0\webapps install
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>