[kepler-dev] Help with Pop Up Box in Kepler

Derik Barseghian barseghian at nceas.ucsb.edu
Wed Apr 1 11:04:15 PDT 2009


Hi Subhav,

 From what I understand, you have two suites, UserDecision and UserIp,  
each with an actor of the same name inside each suite. I just ran a  
test, creating your UserIp actor, instantiating it in one suite, and  
then exporting it as a kar that includes the class file. I then  
imported the actor with Import Archive. Searching for and dragging the  
actor from the library works at this point. I quit kepler, then ran a  
change-to to switch to another suite, and launched kepler. If you  
search for the actor in the library at this point, it will show up,  
but will give an error if you drag it to canvas. Also, if you try to  
import the kar, you'll receive errors. I'm going to file this as a bug  
if one doesn't already exist. One solution for now, until we fix the  
problem, is to run ant clean-cache before you change-to to your second  
suite. You should then be able to import the kar in your second suite.  
This should also work if instead of a second suite you're using Kepler  
1.0, but let me know if it doesn't.

Thanks,
Derik

On Apr 1, 2009, at 12:28 AM, subhav mital wrote:

> Basically, the error I get is that the XML file not found relative  
> to the classpath.
> What is wrong? Please advise, how this can be resolved!
>
> Thanks!
>
> On Wed, Apr 1, 2009 at 2:33 AM, subhav mital  
> <mital.subhav at gmail.com> wrote:
> Hey,
>
> This does not work. When I created a new actor (UserDecision) and  
> finally enter ant change-to -Dsuite=UserDecision, then only this  
> single command controls what can be instantiated.
>
> If I type ant change-to -Dsuite=UserIp, then I can drag/drop this  
> actor saved in the library.
>
> I don't see any other way of solving this problem. Importing Kar  
> gives me a whole lot of errors.
>
> Please help.
>
> Thanks!
>
>
> On Mon, Mar 30, 2009 at 2:11 PM, Daniel Crawl <crawl at sdsc.edu> wrote:
>
> Hi Subhav,
>
> The problem is that the implementation of your actor is not
> available to the Kepler you installed from the installer.
> 'Save in Library' stores metadata about actors, but not
> their implementation.
>
> If you want to use your new actor in the installer version,
> you could export it as a KAR file using the svn version and
> then import the KAR file in the installer version.
>
>  --dan
>
>
>
>
> subhav mital wrote:
> "C:\Program Files\kepler-1.0.0\kepler.exe"
>
> This is the installer which I present on the site.
>
> I wanted to use the kepler trunk and get eclipse running, so I  
> checked out the trunk from ant command line, and started using it  
> that way.
>
> In David's tutorial, https://kepler-project.org/developers/teams/build/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse 
>  <https://kepler-project.org/developers/teams/build/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse 
> > [https://kepler-project.org/developers/teams/build/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse 
>  <https://kepler-project.org/developers/teams/build/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse 
> >]
>
> He says to check out version 1.0, for creating an actor, so I did  
> that. Now I wonder where I am going wrong. Only when I execute  
> kepler using ant run, it gives no error upon dragging and dropping  
> the actor. If I run it using the desktop icon, I get the error.
>
>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev



More information about the Kepler-dev mailing list