[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Plugin Fragment & External Jars

"George Karabotsos" <g_karab@xxxxxxxxxxxxxxx> wrote in message 
news:epaffs$u09$1@xxxxxxxxxxxxxxxxxxxx
> Hi guys,
>
> I am making a fragment that extents the CompilationParticipant of the jdt.
>
> I have two jars that my code is dependent upon.  However, I can't seem to 
> be able to package them together with my plugin when I am building its 
> jar.  I am aware I can only use the code from other plugins but changing 
> those jars into plugins does not seem to be an option ATM.


Out of interest, what will you be using CompilationParticipant for?

I ask because it's a fairly specialized and somewhat dangerous interface; 
for most needs, the right answer is to create a Builder. 
CompilationParticipant injects you right into the middle of the Java 
compilation, so that you can create new Java types and have them be compiled 
in the same compilation.  Its primary use case is in Java annotation 
processing.