[kepler-users] How to run EcogridWriter from eclipse?

Bina Philip binabhas at umail.iu.edu
Wed Mar 7 10:16:13 PST 2012


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?

Best


On Wed, Mar 7, 2012 at 12:57 PM, jing <tao at nceas.ucsb.edu> wrote:

> **
> Hi, Bina:
>
> 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?
>
> Regards,
>
> Jing
>
>
> On 03/07/2012 09:31 AM, Bina Philip wrote:
>
> Hi Jing,
>
> I followed all the steps mentioned in the link and tried the HelloWorld
> program (actor) using eclipse referring to the following link.
> https://kepler-project.org/developers/teams/build/documentation/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse
> .
> 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.
>
> 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.
>
> Best
>
>
> On Wed, Mar 7, 2012 at 12:12 PM, jing <tao at nceas.ucsb.edu> wrote:
>
>>  Hi, Bina:
>>
>> May you start up Kepler on Eclipse? If you can't, please see the
>> instruction at:
>>
>> https://kepler-project.org/developers/reference/kepler-and-eclipse/?searchterm=eclipse
>>
>> 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
>>
>>
>> _______________________________________________
>> Kepler-users mailing listKepler-users at kepler-project.orghttp://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>
>>
>>
>
>
> --
> Regards,
> Bina
> Indiana University Bloomington
> Dept Of Computer Science (Master's).
> Contact:- 812-327-4780
>
>
>


-- 
Regards,
Bina
Indiana University Bloomington
Dept Of Computer Science (Master's).
Contact:- 812-327-4780
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120307/ab7a102e/attachment.html>


More information about the Kepler-users mailing list