[kepler-dev] class file location

Chad Berkley berkley at nceas.ucsb.edu
Mon Oct 22 10:21:00 PDT 2007


Sorry, since I don't use eclipse, I can't answer this question.  This 
all works fine if you just use ant.  Can someone who uses eclipse answer 
this question or have you seen this problem?

chad

Izabell Caraconcea wrote:
> Hello All,
> I'm facing a similar problem...
> I have created my own project (scicop) under kepler/src/org  and 
> developed one actor.
> Then, I went through project building, karlib cleaning and re-building. 
> Nothing wrong so far. I can see my actor under kepler/kar/actors.
> However, when I launch Kepler, I'm getting the error below:
>  
> " Error building tree model: Error building tree model: Error building 
> tree model: Could not clone actor 'Time Series File Reader' from the 
> 'org.scicop.TSReader' class, the actor null, meaning it was not found? 
> Perhaps there is a classpath problem of the karlib needs to be flushed? "
>  
>  
> Any suggestions?
>  
> Thank you very much,
> Izabell
>  
> PS  It seems that moving my project in a different folder does not solve 
> the issue. 
> I'm using Eclipse. Do I have to add my project's path somewhere in 
> the environment settings?
>  
>  
>  
>  
>  
> 
>  
> On 10/19/07, *Chad Berkley* <berkley at nceas.ucsb.edu 
> <mailto:berkley at nceas.ucsb.edu>> wrote:
> 
>     Looks like you have it in the right place.  Are you sure the class isn't
>     defined twice somehow?  Do you have it in a jar and in the src tree?
>     Try doing an 'ant clean' and see if that helps.
> 
>     chad
> 
>     [BE] Ufuk Utku Turuncoglu wrote:
>      > Hi,
>      >
>      > I need to create new class but when i create it in our project
>     directory
>      > (such as src/edu/tutorial/turuncu), i get following error
>     messages in
>      > building kepler,
>      >
>      >     [javac] Compiling 12 source files to /opt/kepler/build/classes
>      >     [javac]
>     /opt/kepler/build/src/edu/tutorial/turuncu/Sphere.java:20:
>      > duplicate class: Sphere
>      >     [javac] class Sphere{
>      >     [javac] ^
>      >
>      > i found that "package edu.tutorial.turuncu;" line causes error
>     and when
>      > i delete this line from my own actor code, it works successfully. I
>      > wonder that what is the best place to put such class files in kepler?
>      > The class is not actor and it will only defines new kind of
>     object that
>      > i use in my actors.
>      >
>      > best regards,
>      >
>      > --ufuk
>      > _______________________________________________
>      > Kepler-dev mailing list
>      > Kepler-dev at ecoinformatics.org <mailto:Kepler-dev at ecoinformatics.org>
>      >
>     http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
> 


More information about the Kepler-dev mailing list