Hi Jing,<br>
<br>
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. <br>
<br>
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. <br><br>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?). <br><br>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?<br><br>Best <br><br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 12:57 PM, jing <span dir="ltr"><<a href="mailto:tao@nceas.ucsb.edu">tao@nceas.ucsb.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div text="#000000" bgcolor="#ffffff">
Hi, Bina:<br>
<br>
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?<br>
<br>
Regards,<br><font color="#888888">
<br>
Jing</font><div><div></div><div class="h5"><br>
<br>
On 03/07/2012 09:31 AM, Bina Philip wrote:
<blockquote type="cite">Hi Jing,<br>
<br>
I followed all the steps mentioned in the link and tried the
HelloWorld program (actor) using eclipse referring to the
following link. <a href="https://kepler-project.org/developers/teams/build/documentation/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse" target="_blank">https://kepler-project.org/developers/teams/build/documentation/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse</a>.<br>
Once I program this HelloWorld and run this from Eclipse Kepler
starts up and then I go to Instantiate Component and follow those
instructions and this actor runs successfully.<br>
<br>
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. <br>
<br>
Best<br>
<br>
<br>
<div class="gmail_quote">On Wed, Mar 7, 2012 at 12:12 PM, jing <span dir="ltr"><<a href="mailto:tao@nceas.ucsb.edu" target="_blank">tao@nceas.ucsb.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#ffffff"> Hi, Bina:<br>
<br>
May you start up Kepler on Eclipse? If you can't, please see
the instruction at:<br>
<a href="https://kepler-project.org/developers/reference/kepler-and-eclipse/?searchterm=eclipse" target="_blank">https://kepler-project.org/developers/reference/kepler-and-eclipse/?searchterm=eclipse</a><br>
<br>
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.<br>
<br>
Hope this is helpful.<br>
<br>
Regards,<br>
<br>
Jing
<div>
<div><br>
<br>
<br>
On 03/07/2012 06:18 AM, Bina Philip wrote: </div>
</div>
<blockquote type="cite">
<div>
<div>Hello,<br>
<br>
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.<br>
<br>
Best<br clear="all">
<br>
-- <br>
Regards,<br>
Bina<br>
Indiana University Bloomington<br>
Dept Of Computer Science (Master's).<br>
Contact:- <a href="tel:812-327-4780" value="+18123274780" target="_blank">812-327-4780</a><br>
<br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Kepler-users mailing list
<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Regards,<br>
Bina<br>
Indiana University Bloomington<br>
Dept Of Computer Science (Master's).<br>
Contact:- <a href="tel:812-327-4780" value="+18123274780" target="_blank">812-327-4780</a><br>
<br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Bina<br>Indiana University Bloomington<br>Dept Of Computer Science (Master's).<br>Contact:- 812-327-4780<br><br>