[kepler-dev] new eclipse build problems

ben leinfelder leinfelder at nceas.ucsb.edu
Tue Dec 23 15:31:27 PST 2008


Good news:
I added a property ("_alternateTopPackClass") to the the  
configuration.xml so that the custom Kepler menu mappings are used.  
Works using both Eclipse and ant to run.
-ben

On Dec 23, 2008, at 11:16 AM, Chad Berkley wrote:

> Strike what I said earlier.  After updating the kepler menu no  
> longer works with the ant build.  I'm looking into it.
>
> chad
>
>
> Chad Berkley wrote:
>> That usually means that the ptolemy stuff isn't last on the  
>> classpath so the exp files aren't overwriting the ptII code.  It  
>> works for me with the ant build, so it must be something with  
>> eclipse.
>> chad
>> ben leinfelder wrote:
>>> David,
>>> I've got a happy Eclipse workspace now! Thanks for straightening  
>>> that out.
>>>
>>> One thing Derik and I noticed during this process is that Kepler's  
>>> menu bar has dramatically changed. It now reads:
>>> File
>>> View
>>> Edit
>>> Graph
>>> Debug
>>> Help
>>>
>>> Any ideas on why that has changed?
>>>
>>> Thanks again for the Eclipse changes,
>>> -ben
>>>
>>>
>>>
>>> On Dec 22, 2008, at 9:43 PM, David Welker wrote:
>>>
>>>> Hi Derik,
>>>>
>>>> It would help if my commit went through correctly! Please update  
>>>> your
>>>> build-area and try again.
>>>>
>>>> David
>>>>> Hi David,
>>>>>
>>>>> I ran svn update against all 8 folders ( _kepler.build, actors,  
>>>>> common, core, directors, loader, ptolemy, and util) and didn't  
>>>>> see too many changes, and received the same error. So I quit  
>>>>> eclipse, deleted my workspace and kepler.modules, and started  
>>>>> the procedure, as described on the wiki, over again. However I  
>>>>> receive the same error message.
>>>>> Please let me know if I've missed something, or have ideas on  
>>>>> how to proceed,
>>>>>
>>>>> Derik
>>>>>
>>>>>
>>>>> On Dec 20, 2008, at 10:05 PM, David Welker wrote:
>>>>>
>>>>>> Derik,
>>>>>>
>>>>>> The build has been extended so that people working with vanilla- 
>>>>>> trunk are now supported. Please give it a try and let me know  
>>>>>> how it goes.
>>>>>>
>>>>>> David
>>>>>>> David,
>>>>>>>
>>>>>>> I don't seem to have ptolemy-r49472.jar or kepler-r7920.jar. I  
>>>>>>> also can't find a kepler-1.0-jar-tag folder.
>>>>>>> Beneath Project Explorer I see folders for: _kepler.build,  
>>>>>>> actors, common, core, directors, loader, ptolemy, and util.
>>>>>>>
>>>>>>> Have I missed an ant command before launching eclipse?
>>>>>>>
>>>>>>> I believe this was my procedure:
>>>>>>> mkdir kepler.modules
>>>>>>> cd kepler.modules
>>>>>>> svn co https://code.kepler-project.org/code/kepler/trunk/modules/build-area
>>>>>>> cd build-area
>>>>>>> ant change-to -Dsuite=vanilla-trunk
>>>>>>> ant run
>>>>>>> ant eclipse
>>>>>>> Then I followed the instructions in eclipse section that  
>>>>>>> pertain to using loader to run the vanilla configuration.
>>>>>>>
>>>>>>> Derik
>>>>>>>
>>>>>>>
>>>>>>> On Dec 19, 2008, at 1:20 PM, David Welker wrote:
>>>>>>>
>>>>>>>> Hi Derik,
>>>>>>>>
>>>>>>>> Eclipse support needs to be expanded to do certain things  
>>>>>>>> automatically when running vanilla-1.0. I am working on that  
>>>>>>>> now. The problem you are getting is because the jars  
>>>>>>>> containing ptolemy (ptolemy-r49472.jar) and kepler (kepler- 
>>>>>>>> r7920.jar) are not visible to the code that needs them. So,  
>>>>>>>> here is what you need to do.
>>>>>>>>
>>>>>>>> In the project pane, right click in the kepler-1.0-jar-tag  
>>>>>>>> folder and choose Properties. Select Java Build Path. Scroll  
>>>>>>>> down and click on the the checkboxes to the left of ptolemy- 
>>>>>>>> r49472.jar and kepler-r7920.jar so that these jars are  
>>>>>>>> visible to all the other projects.
>>>>>>>>
>>>>>>>> I am going to add the instructions to the documentation until  
>>>>>>>> I fix the eclipse support so that these two checkboxes are  
>>>>>>>> automatically checked for you.
>>>>>>>>
>>>>>>>> Let me know if you have any further issues.
>>>>>>>>
>>>>>>>> David
>>>>>>>>> Hi David,
>>>>>>>>>
>>>>>>>>> I'm following the instructions for eclipse (https://dev.kepler-project.org/developers/teams/build/documentation/the-new-build-system 
>>>>>>>>>  ) and having problems. When I try to run the vanilla  
>>>>>>>>> configuration, I get:
>>>>>>>>>
>>>>>>>>> ------
>>>>>>>>> Exception in thread "main" java.lang.Error: Unresolved  
>>>>>>>>> compilation problem:
>>>>>>>>> The method load(String, String[]) from the type Kepler  
>>>>>>>>> refers to the missing type IllegalActionException
>>>>>>>>> at org.kepler.loader.Kepler.main(Kepler.java:155)
>>>>>>>>> ------
>>>>>>>>>
>>>>>>>>> In Package Explorer, I also notice common, core, loader and  
>>>>>>>>> util all have errors. Any suggestions?
>>>>>>>>>
>>>>>>>>> I'd also like to suggest reorganizing the Using Eclipse  
>>>>>>>>> section of the instructions so that how to run the vanilla  
>>>>>>>>> configuration is explained first.
>>>>>>>>>
>>>>>>>>> Derik
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>> _______________________________________________
>> 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