Thanks, I got it working. Seems Windows doesn't care if you do SET JAVA_HOME=c:\path\to\java
from the command line. It takes whatever you have set JAVA_HOME to in your System Control Panel. In fact, I had to set it in the Control panel, and then reboot to get the build script to use the new path. Someone might want to think about updating the install.txt document, as is, it doesn't work as written (at least not for me). OK, no I'll see if I can run my new transformer. Thanks, Jeff -----Original Message----- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 2:01 PM To: users@cocoon.apache.org Subject: Re: Custom Transformer Schmitz, Jeffrey A napisaĆ(a): > Sorry to be a pain, but the build still isn't working. > > What exactly does the JAVA_HOME need to be set to? I'm setting it to: > > 'C:\Program Files\Java\jdk1.5.0_07' > > But it says it can't find tools.jar, or the javac compiler. The > folder does exist, and tools.jar is in JAVA_HOME/lib and javac is in > JAVA_HOME/bin > > Oups, it always helped me under linux, not windows. I've confused things more than needed, sorry. I've just tried svn checkout of 2.1.x and run: G:\cocoon-2.1.x>echo %JAVA_HOME% C:\Program Files\Java\jdk1.6.0 G:\cocoon-2.1.x>build Buildfile: build.xml prepare: ==================================================================== Apache Cocoon 2.1.11-dev [1999-2007] ==================================================================== Building with Apache Ant version 1.6.5 compiled on June 2 2005 -------------------------------------------------------------------- Using build file G:\cocoon-2.1.x\build.xml -------------------------------------------------------------------- Compiler options: - debug ......... [on] - optimize ...... [on] - deprecation ... [off] ==================================================================== compile-core: Compiling jdk 1.4 core classes [...] BUILD SUCCESSFUL Total time: 2 minutes 41 seconds So it works as is, without any special adjustments. I cannot help you much with this issue as it's tightly related to your environment . You should have started any work with having Cocoon's build working as it's crucial, really. -- Grzegorz Kossakowski --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]