cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rosenstrauch <dar...@dti.net>
Subject Re: Problems installing Cocoon2 = Win98 machine
Date Sat, 03 Nov 2001 13:56:47 GMT
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" <lmorley@WPI.EDU>
>To: <cocoon-users@xml.apache.org>
>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:scuba@comnet.ca]
> > Sent: Friday, November 02, 2001 5:54 PM
> > To: cocoon-users@xml.apache.org
> > 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: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> >
> > ---------------------------------------------------------------------
> > 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: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> >
>
>
>---------------------------------------------------------------------
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org> 

Mime
View raw message