Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to handle eclipse linked resources that change together with the main code.

Hi
I'm developing Arduino code with a the "arduino eclipse plugin" using RTC as version control.
Arduino use libraries but these libraries can not be delivered as compiled assets because they heavily rely on the C/C++ #define functionality which is interpreted at compile time.
Therefore the "Arduino eclipse plugin" uses the eclipse linked resource to work around this.
These libraries can be delivered by third parties in which case they are unlikely to change but I also have a lot of in-house libraries that I maintain together with my projects.
I noticed that RTC does not make change sets for the changes done in the linked resources. I looked for a way to have RTC monitor those files as if they are local files but I did not find a way to do so.
The question I have now is :"What is the best way to handle this situation."
I have been thinking about possible scenarios but I can't find any that would be workable. The closest I get is to have 2 work spaces. I containing the library folders and 1 to contain the Arduino projects with links to the libraries. Then I would have to work on the same work item in the 2 work spaces and not forget to deliver the change sets in both work spaces. This seems quite a brden and overhead to me.
Any ideas are welcomed.
Best regards
Jantje

0 votes



One answer

Permanent link
I solved this problem as follows
I created a new project and added all the libraries to this project makin the libraries internal to the workspace.
Then I changed the links to the external libraries to the internal ones.
I checked/delivered the new project with the libraries in a new component so I can use them in my other projects.

Best regards
Jan

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Oct 12 '12, 5:28 p.m.

Question was seen: 5,595 times

Last updated: Nov 08 '12, 8:00 a.m.

Confirmation Cancel Confirm