[Anthill] Can't get anthill-example to build
David Schmitz
djschmitz at hotmail.com
Mon Nov 1 10:57:38 CST 2004
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
>
More information about the Anthill
mailing list