Re: failing any build

Varban <[email protected]>
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
It seems that you do not have the javac (and possibly java) commands on 
the path for the user running tomcat. Make sure that Tomcat is not 
running under a system account and then add the location of the java 
binaries to the path for that user. Restart Tomcat and see what happens.

Regards,
Varban

Tanguy Swinnen wrote:
> Hi,
> 
>  
> 
> I try to run anthill examples like the one that extract from the CVS 
> repository. It fails each time I build it, without being a Java freak. 
> So please don’t blame me be for beginner’s questions.
> 
>  
> 
> In Tomcat’s log, I indeed find some errors
> 
>  
> 
>  
> 
> 11:15:25:328 [Thread - AnthillBuildDaemon] ERROR 
> com.urbancode.anthill.adapter.CVSRepositoryAdapter  - CreateProcess: 
> javac -classpath "nullC:\Program Files\Apache Software Foundation\Tomcat 
> 5.5\bin\bootstrap.jar" 
> c:\Data\anthill\pagelets\Win32\win_cvs\getRevisionsSince_pgl.java 
> error=2 thrown in new catch
> 
> java.io.IOException: CreateProcess: javac -classpath "nullC:\Program 
> Files\Apache Software Foundation\Tomcat 5.5\bin\bootstrap.jar" 
> c:\Data\anthill\pagelets\Win32\win_cvs\getRevisionsSince_pgl.java error=2
> 
> what is quite strange to be is the null in from of the first classpath 
> element. I searches Anthill directory for any “tomcat†string to see 
> whether I wrongly specified a parameter (extra leading blank): nothing. 
> I searched registry: same result (or at least I didn’t find any leading 
> blank).
> 
>  
> 
> Is it indeed the source of my problem? Can any body tell me where I 
> wrongly specified a parameter?
> 
>  
> 
>  
> 
>  
> 
> Tanguy
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.