Woop: from the root DIRECTORY (not "direction").
On Wed, 29 Dec 2004 20:09:57 -0500, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> From the root direction, execute "ant" or "ant install". This will
> compiled the source code, and generate the hivemind libraries (which
> appear to be missing).
>
>
> On Wed, 29 Dec 2004 16:13:34 -0800, Jensen, James B
> <[EMAIL PROTECTED]> wrote:
> > First, although deploying web apps is not by day job, I have been following
> > Tapestry for some time. This is how I stumbled into Hivemind. I am
> > excited to see so much progress in such a relatively short period. Thanks
> > to Howard and team for their efforts.
> >
> > I have attempted to run the examples that I downloaded with
> > hivemind-1.0.zip. Being new, I'm sure I am making simple errors, but have
> > not been able to find an answer on the mailing list archive.
> >
> > I am using Ant 1.6.2
> >
> > The first problem I encountered was that the file "grabber" could not open
> > the URL's. I assume that this is because of my firewall. I was unable to
> > find a proxy setting, so I downloaded the required files by hand and put
> > them in {hivemind}/ext-package/lib. This allowed me to continue. I was
> > then able to build the "compile" target sucessfully using Ant from the
> > command line.
> >
> > However, I am unable to invoke the "run-calculator" target while running
> > Ant from the command line, or through Eclipse. I get the following error:
> >
> > Buildfile: C:\data\Download\java\hivemind-1.0\examples\build.xml
> > run-calculator:
> > [java] java.lang.NoClassDefFoundError:
> > org/apache/hivemind/ClassResolver
> > [java] at
> > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:172)
> > [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:705)
> > [java] at
> > org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177)
> > [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
> > [java] at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > [java] at org.apache.tools.ant.Task.perform(Task.java:364)
> > [java] at org.apache.tools.ant.Target.execute(Target.java:341)
> > [java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
> > [java] at
> > org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> > [java] at
> > org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> > [java] at
> > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:377)
> > [java] at
> > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
> > [java] Caused by: java.lang.NoClassDefFoundError:
> > org/apache/hivemind/ClassResolver
> > [java] at
> > org.apache.hivemind.examples.CalculatorMain.main(CalculatorMain.java:32)
> > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> > Source)
> > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> > [java] at java.lang.reflect.Method.invoke(Unknown Source)
> > [java] at
> > org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:193)
> > [java] at
> > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:130)
> > [java] ... 11 more
> > [java] --- Nested Exception ---
> > [java] java.lang.NoClassDefFoundError:
> > org/apache/hivemind/ClassResolver
> > [java] at
> > org.apache.hivemind.examples.CalculatorMain.main(CalculatorMain.java:32)
> > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> > Source)
> > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> > [java] at java.lang.reflect.Method.invoke(Unknown Source)
> > [java] at
> > org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:193)
> > [java] at
> > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:130)
> > [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:705)
> > [java] at
> > org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177)
> > [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
> > [java] at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > [java] at org.apache.tools.ant.Task.perform(Task.java:364)
> > [java] at org.apache.tools.ant.Target.execute(Target.java:341)
> > [java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
> > [java] at
> > org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> > [java] at
> > org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> > [java] at
> > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:377)
> > [java] at
> > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
> > BUILD SUCCESSFUL
> > Total time: 1 second
> >
> > If I attempt to run the example directly through Eclipse, I get this error.
> >
> > java.lang.NoClassDefFoundError: org/apache/hivemind/ClassResolver
> > at
> > org.apache.hivemind.examples.CalculatorMain.main(CalculatorMain.java:32)
> > Exception in thread "main"
> >
> > Any suggestions would be welcomed.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work. http://howardlewisship.com
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]