Thanks for explaining the real reason for the bug. I found a work around, but not the cause. It is not much fun when the default stuff that is supposed to work doesn't. I ususaly assume that I'm doing something wrong (generally a safe assumption).
Brian, thanks again for the answer. James -----Original Message----- From: Jamie Orchard-Hays [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 1:17 PM To: [email protected] Subject: Re: difficulties with example I ran into this when I simulated being a new user with Tapestry 3.0.1 in December. I got with Erik and we got a 3.0.2 mostly together--patching things, etc, but it's not out yet. I need to go see why... On Feb 4, 2005, at 4:07 PM, Brian K. Wallace wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I definitely understand your point. I've been working with HiveMind off > and on since it came to Apache and, aside from vague memories of how I > set everything up, had completely forgotten what it would be like to be > a new user. > When I decided to "start from scratch" recently, I hit the issues > again. > > Then I hit this list (thanks Knut and Howard) > Then I hit Jira and the Wiki. > > Someday I'd like to know the code well enough to handle more, but for > now I'm trying to be a Jira/Wiki conscious 'Joe User' (supplying > patches > when I can). > > Can't fix the past, but can definitely improve for the future. > > Brian > > Jamie Orchard-Hays wrote: > | My main gripe (besides the extra effort it takes to get going when > | things don't work right) is that it gives a bad face to these > projects > | when build files in the current distros don't work. If I'm Joe User > and > | I want to check out HiveMind and go download 1.0 distro and follow > | instructions and it doesn't work, I may give up and move on, or I > might > | think, "dang, if they can't make the build work, what about the rest > of > | the code?" Etc, etc. > | > | > | On Feb 4, 2005, at 2:30 PM, Jamie Orchard-Hays wrote: > | > |> Thanks. That did it. > |> <minor-rant> > |> I have yet to have a hivemind or tapestry build script work out > |> of the box. Very annoying. > |> </minor-rant> > |> > |> How about a HiveMind 1.0.1 With fixes? Hopefully it could be done > |> faster than the Tapestry 3.0.2 release I prompted is taking... > |> > |> > |> On Feb 4, 2005, at 2:18 PM, Brian K. Wallace wrote: > |> > | I believe this has been fixed in HEAD. The problem was the build.xml > in > | the examples directory. > | > | ~ <path id="runtime.classpath"> > | ~ <fileset dir="${module.lib.dir}"> > | - <include name="compile/*.jar"/> > | - <include name="run/*.jar"/> > | + <include name="compile/**/*.jar"/> > | + <include name="run/**/*.jar"/> > | ~ </fileset> > | > | Brian > | > | Jamie Orchard-Hays wrote: > | | Did anyone solve this? I'm having the exact same error (hm1.0). > | | > | | Jamie > | | > | | On Dec 29, 2004, at 8:36 PM, Jensen, James B wrote: > | | > | |> I had already done this. But for kicks, I did it again. From the > | |> hivemind root, I ran "ant install" this built the project and ran > | |> numerous unit tests successfully. > | |> > | |> When I cd down to examples and invoke ant run-calculator. > | |> > | |> 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.ja > | |> va: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.apache.tools.ant.Main.runBuild(Main.java:673) > | |> [java] at > org.apache.tools.ant.Main.startAnt(Main.java:188) > | |> [java] at > | |> org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) > | |> [java] at > | |> org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) > | |> [java] Caused by: java.lang.NoClassDefFoundError: > | |> org/apache/hivemind/Class > | |> Resolver > | |> [java] at > | |> org.apache.hivemind.examples.CalculatorMain.main(CalculatorMa > | |> in.java:32) > | |> [java] at > | |> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > | |> [java] at > | |> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces > | |> sorImpl.java:39) > | |> [java] at > | |> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet > | |> hodAccessorImpl.java:25) > | |> [java] at > java.lang.reflect.Method.invoke(Method.java:324) > | |> [java] at > | |> org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.jav > | |> a:193) > | |> [java] at > | |> org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava > | |> .java:130) > | |> [java] ... 13 more > | |> [java] --- Nested Exception --- > | |> [java] java.lang.NoClassDefFoundError: > | |> org/apache/hivemind/ClassResolver > | |> [java] at > | |> org.apache.hivemind.examples.CalculatorMain.main(CalculatorMa > | |> in.java:32) > | |> [java] at > | |> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > | |> [java] at > | |> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces > | |> sorImpl.java:39) > | |> [java] at > | |> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet > | |> hodAccessorImpl.java:25) > | |> [java] at > java.lang.reflect.Method.invoke(Method.java:324) > | |> [java] at > | |> org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.jav > | |> a: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.ja > | |> va: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.apache.tools.ant.Main.runBuild(Main.java:673) > | |> [java] at > org.apache.tools.ant.Main.startAnt(Main.java:188) > | |> [java] at > | |> org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) > | |> [java] at > | |> org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) > | |> > | |> BUILD SUCCESSFUL > | |> Total time: 1 second > | |> C:\data\Download\java\hivemind-1.0\examples> > | |> > | |> James > | |> > | |> > | |> -----Original Message----- > | |> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] > | |> Sent: Wednesday, December 29, 2004 5:10 PM > | |> To: [email protected] > | |> Subject: Re: difficulties with example > | |> > | |> > | |> 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(InternalA > | |>> ntRunner.java:377) > | |>> [java] at > | |>> > | > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(Internal > | |>> AntRunner.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(InternalA > | |>> ntRunner.java:377) > | |>> [java] at > | |>> > | > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(Internal > | |>> AntRunner.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 > | |> > | |> > | --------------------------------------------------------------------- > | |> To unsubscribe, e-mail: > [EMAIL PROTECTED] > | |> For additional commands, e-mail: > | [EMAIL PROTECTED] > | |> > | |> > | --------------------------------------------------------------------- > | |> To unsubscribe, e-mail: > [EMAIL PROTECTED] > | |> For additional commands, e-mail: > | [EMAIL PROTECTED] > | |> > | | > | | > | | > --------------------------------------------------------------------- > | | To unsubscribe, e-mail: > [EMAIL PROTECTED] > | | For additional commands, e-mail: > | [EMAIL PROTECTED] > | | > | | > | | > |>> > - --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > |>> > |> > |> > |> > --------------------------------------------------------------------- > |> To unsubscribe, e-mail: [EMAIL PROTECTED] > |> For additional commands, e-mail: > [EMAIL PROTECTED] > |> > > | --------------------------------------------------------------------- > | To unsubscribe, e-mail: [EMAIL PROTECTED] > | For additional commands, e-mail: > [EMAIL PROTECTED] > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFCA+QDaCoPKRow/gARAmwbAJ4w0k0agJbBxmjsbbGsVWAvcSwEfgCfRoa5 > fqHX/6UBALKikWfheUvzLc0= > =qEMH > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
