Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » 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 aravindFriend
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 EisenbergFriend
Messages: 382
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 aravindFriend
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 660 times)
Previous Topic:AJDT is not working in eclipse
Next Topic:Equinox Weaving Missing Constraint
Goto Forum:
  


Current Time: Fri Apr 26 05:03:24 GMT 2024

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

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

Back to the top