In the build.xml, the target to run the caculator
example is
<target name="run-calculator" description="Execute the
Calculator example.">
<java
classname="org.apache.hivemind.examples.CalculatorMain">
<classpath refid="runtime.classpath"/>
<sysproperty key="PROJECT_ROOT"
value="${project.dir}"/>
<arg line="28 4.75"/>
</java>
</target>
The classname should be
org.apache.examples.CalculatorMain
(CalculatorMain.java is not in the hivemind
subdirectory.)
Shing
--- [EMAIL PROTECTED] wrote:
> I'm trying to get cranking on HiveMind, but it seems
> something might be
> broken.
>
>
>
> I downloaded HiveMind-1.1.1.zip and exploded it, ran
> Ant, it build
> itself and passed all the tests.
>
>
>
> However, then I "cd"d into the examples directory
> and ran Ant. Also
> good.
>
>
>
> But when I try to run the examples themselves (e.g.
> "ant
> run-calculator") I get a ClassNotFoundException. Not
> surprising since
> the "runtime.classpath" path seems to be referencing
> an undefined
> "moduile.lib.dir".
>
>
>
> help?
>
>
>
> Tim Holloway
>
> EverBank
>
>
>
>
>
>
> -----------------------------------------
> This electronic communication and any files
> transmitted with it, or
> attached to it, are confidential and are intended
> solely for the
> use of the individual or entity to who it is
> addressed and may
> contain information that is confidential, legally
> privileged,
> protected by privacy laws, or otherwise restricted
> from disclosure
> to anyone else. If you are not the intended
> recipient or the
> person responsible for delivering the e-mail to the
> intended
> recipient, be advised that you have received this
> e-mail in error,
> and that any use, dissemination, forwarding,
> printing, or copying
> of this e-mail is strictly prohibited.
>
> If you received this e-mail in error, please return
> the e-mail to
> the sender, delete it from your computer and destroy
> any printed
> copy of it. Although our company attempts to sweep
> e-mail and
> attachments for viruses, it does not guarantee that
> either are
> virus-free and accepts no liability for any damage
> sustained as a
> result of viruses.
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
24 FIFA World Cup tickets to be won with Yahoo! Mail http://uk.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]