|Avoiding javac in pde build [message #516461]
||Wed, 24 February 2010 05:19
| Andrew Eisenberg
Registered: July 2009
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 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?
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.
Powered by FUDForum
. Page generated in 0.01802 seconds