-
I have a couple of jars that are based around ANTLR parsers and I currently just place them into a lib directory and my Eclipse IDE build is happy. Tycho is not as happy :-( I have read a few bits and pieces about different techniques to get a jar into your RCP build. Creating it as p2 entry via its own pom? A pom first build and then a manifest first build. Not sure I get this? There is a mechanism of adding it to the Target Platform and it is then wrapped. I can see the wrapped version but it does not seem to be used. Compile phase does not find the code. And so get compilation errors. Convert my parser project to a plugin project and add to the tycho build? Still then need the stage to generate the ANTLR files. What is the current and recommended way of supporting external jars? Can anyone enlighten me? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Just convert those to plugin projects and bind the ANTLR generation to the Beside that you should describe how the libs are currently used inside eclipse, again here sharing a simple example would make it easier to decide whats possible. |
Beta Was this translation helpful? Give feedback.
Just convert those to plugin projects and bind the ANTLR generation to the
generate-sources
phase should work without an issue.Beside that you should describe how the libs are currently used inside eclipse, again here sharing a simple example would make it easier to decide whats possible.