[kepler-dev] [kepler-users] IMPORTANT: new kepler-trunk module

tkd thinkalldifferently at gmail.com
Wed Apr 8 03:53:12 PDT 2009


Hi,

you juste changed the trunk version and it gives some errors on 
compilation with ant run :

ant run
Buildfile: build.xml

create-modules-bundle:

compile:
  [compile] Compiling common...
  [compile] Compiling directors...
  [compile] Compiling actors...
  [compile] Compiling ptolemy...
  [compile]  -- The module is ptolemy. Setting includes and excludes....
  [compile] Compiling 3134 source files to 
/local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/target/classes
  [compile] 
/local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/demo/ABP/DEMessageSource.java:57: 
duplicate class: ptolemy.domains.fsm.demo.ABP.DEMessageSource
  [compile] public class DEMessageSource extends RandomSource {
  [compile]        ^
  [compile] 
/local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/demo/ABP/DETimer.java:52: 
duplicate class: ptolemy.domains.fsm.demo.ABP.DETimer
  [compile] public class DETimer extends TypedAtomicActor {
  [compile]        ^
  [compile] 
/local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/kernel/FSMDirector.java:160: 
duplicate class: ptolemy.domains.fsm.kernel.FSMDirector
  [compile] public class FSMDirector extends Director implements
  [compile]        ^
  [compile] 
/local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/kernel/Transition.java:741: 
cannot access ptolemy.domains.modal.kernel.FSMDirector
  [compile] bad class file: 
/local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/kernel/FSMDirector.java
  [compile] file does not contain class 
ptolemy.domains.modal.kernel.FSMDirector
  [compile] Please remove or make sure it appears in the correct 
subdirectory of the classpath.
  [compile]     private FSMDirector _getDirector() {
  [compile]             ^
  [compile] Note: 
/local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/actor/gui/MoMLSimpleStatisticalApplication.java 
uses or overrides a deprecated API.
  [compile] Note: Recompile with -Xlint:deprecation for details.
  [compile] 4 errors

BUILD FAILED
/local/odrousse/eclipse/BioWIC/kepler/modules/build-area/build.xml:31: 
Compile failed; see the compiler error output for details.

2 days ago, it worked very well and now ... awful !
Thanks a lot to say me what to do to get something works ...

tkd ... desperated





Aaron Schultz wrote:
>
> OK, sounds good.
>
> I also notice that when moving classes between modules the old 
> compiled classes do not get removed after an
> "ant update" "ant run"
>
> At the moment you may need to clean loader, util, and core next time 
> you update.
>
> In my last commit I moved org.kepler.sms.util.OntologyConfiguration  
> from the loader module to the core module.  Which worked fine for me 
> from the machine I was working on, so I committed it.  From another 
> machine however, I do an "ant update" "ant run" and get an error 
> because the class file for OntologyConfiguration is still in 
> loader/target/classes/... and is overriding the 
> core/target/classes/... newer version of the class.
>
>
> David Welker wrote:
>> I am currently refactoring the build. When I am finished, such 
>> changes shall be much easier to implement. In the meantime, no.
>>
>> David
>>>
>>> Ah, yes I see...  David any way to update suites from "ant update" ???
>>>
>>> Daniel Crawl wrote:
>>>>
>>>> Hi Aaron,
>>>>
>>>> I ran both 'ant update' and 'ant change-to -Dsuite=kepler-trunk'
>>>> and didn't get the gui module. The problem is that neither of
>>>> those targets update the modules/kepler-trunk/ directory (and
>>>> get kepler-trunk's updated modules.txt).
>>>>
>>>> Maybe 'ant update' should update suites?
>>>>
>>>>  --dan
>>>>
>>>>
>>>> Aaron Schultz wrote:
>>>>>
>>>>> Hi everyone,  We have created a new module in the kepler-trunk 
>>>>> suite called gui.
>>>>>
>>>>> This means that you have to issue a change-to command the next 
>>>>> time you update.
>>>>>
>>>>> so next time you issue
>>>>>    ant update
>>>>> also issue an
>>>>>    ant change-to -Dname=<suite_you_are_working_with>
>>>>>
>>>>> where <suite_you_are_working_with> is the name of the suite you 
>>>>> are working with...
>>>>>
>>>>> Thanks,
>>>>> Aaron
>>>>>
>>>>> _______________________________________________
>>>>> Kepler-users mailing list
>>>>> Kepler-users at kepler-project.org
>>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>>
>>>
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at kepler-project.org
>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>>
>>
>
> _______________________________________________
> 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