[Anthill] Can't get anthill-example to build
Eric Minick
eric at urbancode.com
Mon Nov 1 11:15:28 CST 2004
David,
Things that don't work in Anthill but do work from the command line are
almost always user permission / settings related. Putting it on the path
is a good approach. If you are running Tomcat as a service, the default
user has some pretty bad settings. You might want to change the user in
the windows services manager.
While you're still trying to get a feeling for the tool, it might just
make sense to run Tomcat from the batch file. That way you know it's got
the same environment as you do.
-- Eric
David Schmitz wrote:
>Hi Eric, thanks for getting back to me, after looking into it a little
>further I found a log with a meaningful error in it. I've never seen this
>error before with ant and my javac is in my system path, so I'm not sure why
>I'm getting this error.
>
>C:\programs\anthill-\work\Anthill-Example\build\build.xml:118: Unable to
>find a javac compiler;
>com.sun.tools.javac.Main is not on the classpath.
>Perhaps JAVA_HOME does not point to the JDK
>
>If I run the javac command from the command line it finds it. Is there
>somewhere else I have to set it's location up inside anthill?
>
>
>
>----- Original Message -----
>From: "Eric Minick" <eric at urbancode.com>
>To: "Anthill user list" <anthill at lists.urbancode.com>
>Sent: Monday, November 01, 2004 10:25 AM
>Subject: Re: [Anthill] Can't get anthill-example to build
>
>
>
>
>>Hi David,
>>
>>Thanks for writing to the list. The logging in Anthill could probably
>>use some work, but a good deal is logged to the servlet containers
>>standard out. Run as a service / daemon Tomcat usually will use
>>catalina.out. You might want to tail that to see if there are more
>>useful messages there.
>>
>>Your error message suggests that Ant was called and the returned error
>>code from the shell was 1.
>>
>>Both the junit and jdepend jars are provided as part of the 1.5.1 vesion
>>of Ant which is included with Anthill. Is it possible that you changed
>>your Ant settings in the system to use a differant copy of Ant on your
>>sytstem?
>>
>>Regards,
>>
>>Eric
>>
>>David Schmitz wrote:
>>
>>
>>
>>>I've struggled for two day trying to get the anthill-example project
>>>just to build and have been completely unsuccessful. Nothing is
>>>printed in anyof of the log files and the only error I get in the
>>>server is...
>>>
>>>
>>>10:04:45:386 [Thread - AnthillBuildDaemon] ERROR
>>>com.urbancode.anthill.BuildManager - Failed to Build project. Error: 1
>>>java.lang.Exception: Failed to Build project. Error: 1
>>> at
>>>com.urbancode.anthill.BuildManager.buildProject(BuildManager.java:497)
>>> at
>>>
>>>
>com.urbancode.anthill.BuildManager.runBuild(BuildManager.java:403)
>
>
>>> at com.urbancode.anthill.BuildManager.build(BuildManager.java:187)
>>> 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)
>>>10:04:45:386 [Thread - AnthillBuildDaemon] INFO
>>>com.urbancode.anthill.BuildManager - Step 6) Tag project (if set to
>>>success):
>>>
>>>
>>>which really doesn't help me at all. What might i be doing wrong, I
>>>follow the setup instruction and the code is being pulled from CVS. I
>>>do seem the be missing some jar, junit and jdepend. Does anyone have
>>>any ideas? I can't afford to devote anymore time to this is I can't
>>>even get the example to build.
>>>
>>>
>>>_______________________________________________
>>>Anthill mailing list
>>>Anthill at lists.urbancode.com
>>>http://lists.urbancode.com/mailman/listinfo/anthill
>>>
>>>
>>>
>>>
>>_______________________________________________
>>Anthill mailing list
>>Anthill at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>
>>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>
>
More information about the Anthill
mailing list