[Avrora] -monitors=demo.MyMonitor
Ben L. Titzer
titzer at cs.ucla.edu
Fri Apr 29 12:48:20 PDT 2005
Marco,
Try unpacking the jar file with the "jar xvf" command. You should get a
directory with a bunch of class files. Try running avrora from that
directory by running "java -cp <directory above avrora>:<directory
above demo> avrora.Main -monitors=demo.MyMonitor ...
I think there is a problem when trying to run avrora directly from the
jar file and adding external monitors.
-B
On Apr 29, 2005, at 11:39 AM, marco.lopez at dibemail.dibe.unige.it wrote:
> Ok,
> my problem is still without solution and I hope some body can help me,
> because
> I'm starting to feel so frustrated.
>
> Description:
>
> 1. avrora is in:
>
> /tmp/avrora/avrora.jar
>
> I've created the jar file from the most updated programs in the CVS.
>
> 2. the MyMonitor.class is in:
>
> ~/programs/java/tests/monitors/bin/demo/
>
> I've modified the Makefile to compile the MyMonitor.class, so it
> contains the
> following directives:
>
> all:
> javac -d ../bin -classpath /tmp/avrora/avrora.jar
> MyMonitor.java
>
> this Makefile creates the MyMonitor.class and the MyMonitor$Mon.class.
>
> 3. I execute avrora in the following maner:
>
> [marco at newton monitors]$ java -classpath
> ~/programs/java/tests/monitors/bin/
> -jar /tmp/avrora/avrora.jar -monitors=demo.MyMonitors simple.od
>
> from ~/programs/java/tests/monitors/, where is the simple.od file.
>
>
> but I got:
>
> Avrora [Beta 1.4.0] - (c) 2003-2005 UCLA Compilers Group
>
> This simulator and analysis tool is provided with absolutely no
> warranty,
> either expressed or implied. It is provided to you with the hope that
> it be
> useful for evaluation of and experimentation with microcontroller and
> sensor
> network programs. For more information about the license that this
> software is
> provided to you under, specify the "license" option.
>
> Monitor class not found: "demo.MyMonitor"
>
> so, what could be the problem?
>
> help... me... please...
> --marco.
>
> _______________________________________________
> Avrora mailing list
> Avrora at lists.ucla.edu
> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>
>
======================================================
Imagination is more important than knowledge.
-- Albert Einstein
More information about the Avrora
mailing list