You still can add some check-points even though you run a workflow
which contains the EcogridWriter actor in a kepler GUI that is
started from the Eclipse.
Yes, the user needs to add the jar files which contains the custom
actor class and other needed classes to his kepler. We use the
module and suite management system to handle this case.
Regards,
Jing
On 03/07/2012 10:16 AM, Bina Philip wrote:
Hi Jing,
I just wanted to try and see the progress of the program by
putting some check-points in eclipse. I was thinking it would be
similar to running the HelloWorld actor from Eclipse like
mentioned in the link for coding the HelloWorld actor.
I want to see how this EcogridWriter actor is behaving according
to its code and I am trying to see if I can find something that I
can use from the way Ecogrid actor is coded.
The reason why I want to see this is because after I code for my
custom actor in Eclipse I want to know how I can run this custom
actor and use it in Kepler (will this be similar to the HelloWorld
actor example?).
Another question linked to this is going to be, how another user
who does not have the code for my actor will be able to use my
custom actor? Does that user need to add any jar or get the source
code for that custom actor to be able to use it in his version of
Kepler?
I never ran an actor from the main class in Eclipse. The
EcogridWriter class doesn't have a main method at all, so it
is impossible to run it in this way. Is there any special
reason you want to do this way?
What I am trying to do now is run the EcogridWriter
Actor from Eclipse (as opposed to opening kepler
directly and using the component) and when I run this
EcogridWriter actor from Eclipse I get an exception
that says main class cannot be found. I am attaching a
couple screen shots for your reference. The first
screen shot shows the what I am trying to do in
Eclipse, and in the next screen shot the error that
comes up on the console.
If you can start the Kepler, you may search
"EcogridWriter" on the Component Search panel
(the left side of the kepler windows). Then you
may drag the actor from the search result panel
to the canvas. The actor will be instantiate
during the dragging.
Hope this is helpful.
Regards,
Jing
On 03/07/2012 06:18 AM, Bina Philip wrote:
Hello,
I have the code base checked out from the
kepler trunk and I have set this up in
eclipse. I wanted to know how I can run
this particular actor of EcogridWriter and
instantiate it in Kepler (like the example
process of HelloWorld). Right now I
receive an error that says Main class not
found in eclipse console.
Best
--
Regards,
Bina
Indiana University Bloomington
Dept Of Computer Science (Master's).
Contact:- 812-327-4780