[Anthill] AntHill Newbie : Build Failure

Eric Minick eric at urbancode.com
Fri Jul 16 08:29:53 CDT 2004


Vijaykrishna,

It looks like javac is not on the path. I would take a look at the user 
who Tomcat runs as and see if they have javac available.

Eric

K. Vijayakrishna wrote:

> Dear All,
>
> I face the following message in my log file when I run my build.
>
> 08:31:32:602 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.BuildManager  - step 2) is project up to date?
> 08:31:32:603 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.BuildManager  - Set version:
> 08:31:32:603 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter  - setting 
> version file: 
> /usr/local/anthill/../../../home/vijayakrishna/work/xyz/TestProj.version
> 08:31:32:603 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - Preparing 
> file: TestProj.version for editing.
> 08:31:32:603 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.util.Execute  - [prepareForEdit] sh 
> /usr/local/anthill/conf/profiles/Unix/unix_cvs/preEditPagelet.sh 
> /usr/local/anthill/../../../home/vijayakrishna/work/xyz 
> :pserver:build@<server name>: <Repository> TestProj.version
> 08:31:32:667 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - Post file 
> edit on file: TestProj.version
> 08:31:32:670 [Thread - AnthillBuildDaemon] *ERROR 
> com.urbancode.anthill.BuildManager  - unlock failed: 
> java.io.IOException: javac: not found*
> java.io.IOException: java.io.IOException: javac: not found
>         at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)
>         at java.lang.Runtime.execInternal(Native Method)
>         at java.lang.Runtime.exec(Runtime.java:566)
>         at java.lang.Runtime.exec(Runtime.java:428)
>         at java.lang.Runtime.exec(Runtime.java:364)
>         at java.lang.Runtime.exec(Runtime.java:326)
>         at 
> com.urbancode.pagelet.PageletCompiler.compile(PageletCompiler.java:82)
>         at com.urbancode.pagelet.Pagelet.compile(Pagelet.java:214)
>         at com.urbancode.pagelet.Pagelet.service(Pagelet.java:154)
>         at com.urbancode.pagelet.Pagelet.service(Pagelet.java:122)
>         at 
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter.postFileEdit(ProfileRepositoryAdapter.java:338)
>         at 
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.doPostVersionFileModify(UrbanCodeVersionAdapter.java:272)
>         at 
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.setCurrentVersion(UrbanCodeVersionAdapter.java:185)
>         at com.urbancode.anthill.BuildManager.build(BuildManager.java:140)
>         at 
> com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
>         at 
> com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
>         at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>
> My path contains Java.
>
> My anthill is at /usr/local/anthill and my tomcat is at /usr/local/tomcat.
>
> The module "xyz" was successfully checked out from the repository to 
> the working
>
> Do I need to give any more info ?
>
>-- 
>Thanks & Regards,
>Vijayakrishna K
>
>"You are just one evening away from greatness"
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>



More information about the Anthill mailing list