Zala,

I'll attach a message I wrote not too long ago that dealt with this.

This really should go into an FAQ somewhere.

(Or actually, someone should report this as a bug to the dev group and get the batch 
file fixed).

===

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 (email me if you need it and I'll send 
it to you).  Once I finally ran that batch file, the WAR was generated fine and 
everything went smoothly.


Hope this helps.  Email if not.


DR


At 12:31 AM 11/10/01 +0530, you wrote:
>hi
>
>i have just downloaded cocoon 2.0
>my os is windows me
>i have jdk1.3 and tomcat 4.0 beta 7.0 on my computer
>
>now my trouble starts as cannot build cocoon.
>i tried the following instructions but does not work
>
>instructions:
>
>[win32] SET JAVA_HOME=c:\path\to\java
>
>i typed  C:\Cocoon2> SET JAVA_HOME=c:\jdk1.3;
>
>then C:\Cocoon2>build
>says bad command or file name
>and does not work.
>
>my tomcat is under c:\proram-files\jakarta_tomcat4.0 directory
>jdk is under c:\jdk1.3 directory and cocoon2
>is under c:\cocoon2 directory
>
>
>can you please tell me exactly what to type on my command line?
>in which directory i should type?
>what other path is to be set and how?
>
>your help can give me a great push in my project.
>please reply soon.
>
>thanks
>
>zala
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>---------------------------------------------------------------------
>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]>

Reply via email to