简体   繁体   中英

Where do I specify ajc compiler options when using Eclipse?

I would like to troubleshoot my aspects. http://www.eclipse.org/aspectj/doc/released/pdguide/messages.html suggests to start by passing certain flags (like -verbose or -XLint or -showWeaveInfo) to the compiler.

How do I specify these in Eclipse? Thanks.

Go to Preferences -> AspectJ Compiler -> Other to set this globally. You can also have per-project settings. Project -> Properties -> AspectJ Compiler -> Other.

There are lots of options there, you just need to play around with things until you get this right.

To see the compiler output, go to Window -> Show view -> AJDT Event trace. I'm not sure if the proper filters are selected by default, so if you don't see what you want to see, click on the filters icon and click "Select All".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM