Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Aspectj eclipse properties for ant script
Aspectj eclipse properties for ant script [message #1155637] Sat, 26 October 2013 02:14 Go to next message
vipin aravind is currently offline vipin aravind
Messages: 2
Registered: October 2013
Junior Member
I have an aspectj eclipse project. I have setup the warning/error levels for various AJ compiler options. I have created an ant build script and can build using it. But I am not sure how to enforce the warning/error levels that I had setup in eclipse when building using ant.How can I do it?

Thanks,
Vipin
Re: Aspectj eclipse properties for ant script [message #1160315 is a reply to message #1155637] Tue, 29 October 2013 04:08 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew Eisenberg
Messages: 368
Registered: July 2009
Senior Member
Apologies for not responding earlier. Since ajc is based on ecj (Eclipse compiler for Java), the ajc task should accept all command line arguments of the JDT batch compiler (there are some that have no effect in ajc, but they will be accepted).

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm

Add settings here as command line arguments to ajc. I don't think there is any way to directly use your project settings in your ant build file, though.
Re: Aspectj eclipse properties for ant script [message #1209251 is a reply to message #1160315] Mon, 25 November 2013 12:14 Go to previous message
vipin aravind is currently offline vipin aravind
Messages: 2
Registered: October 2013
Junior Member
index.php/fa/16811/0/Hi,
I am refering to the settings here. attached is the screenshot. any quick way?

Thanks,
Vipin
  • Attachment: aj.bmp
    (Size: 1.04MB, Downloaded 124 times)
Previous Topic:AJDT is not working in eclipse
Next Topic:Equinox Weaving Missing Constraint
Goto Forum:
  


Current Time: Mon Oct 20 13:23:19 GMT 2014

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

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