[kepler-dev] class file location

Chad Berkley berkley at nceas.ucsb.edu
Fri Oct 19 09:51:36 PDT 2007


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
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev


More information about the Kepler-dev mailing list