Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Avoiding javac in pde build
Avoiding javac in pde build [message #604778] Wed, 24 February 2010 05:19
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 369
Registered: July 2009
Senior Member
When building plugins (either using a headless build or an export), javac is called to compile all sources in the plugin project. This happens in the @dot target (or some other target for different libraries).

The problem is that I do not want to use javac. I want to use ajc instead.

I am able to use a customBuildCallBack.xml script and calling the ajc task in the mailto:post.@dot target. In this, I delete the class files compiled in the @dot target and the recompile. This basically works and I am able compile my aspectj classes along with my java classes.

However, this feels quite hacky since pde is getting compile errors when calling javac (as it should because it can't compile the aspects). This also means that I need to set failOnError to false.

So, is there any way of avoiding the call to javac in the @dot target?

thanks,
--andrew

ps- AJDT does provide its own "Export plugin with AspectJ support", but there are a number of problems with this and I hope to avoid using it.
Previous Topic:Avoiding javac in pde build
Next Topic:How to set a warning message on WizardPage
Goto Forum:
  


Current Time: Thu Dec 18 11:33:23 GMT 2014

Powered by FUDForum. Page generated in 0.01871 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software