Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho + Eclipse IDE

IDE only resolve bundles that are set up in the workspace's target platform. it can't get them from any maven repo (only mvn tycho do that).
The best way to deal with this resolution problem on IDE (my point of view) is:

 - create one eclipse-repository project where all your project dependencies will be concentrated. tycho will do that automatically for you, including getting any bundle from any maven repo.

- create one target definition file and pointing it to the created p2repo.

- set up your workspace to use this target definition 

this way your IDE will be ok, with no compilation errors..

ps. the unique problem that you could have sometimes (mostly when you rebuilds the p2 repo) is some errors that coud appear on the EclipseAPP/OSGi launcher Plugins tab... To fix it you will need to refresh and reapply the target file again...

cheers

Cristiano

cheers

2011/7/7 Gianluca Chiodaroli <chiodus@xxxxxxxxx>
Hi to all, 
I have a problem resolving generated plugin in eclipse ide.
Example: I have a project A with a dependency to project B. I build A and B with "mvn clean deploy" and everiting works nicely.
I delete project B from my workspace, maven don't resolve the dependecy even if the artifact exist in maven repo.
 
Thanks


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
"Tudo vale a pena se a alma não é pequena..."

Back to the top