Bug 58681 - -X should output available -X options
Summary: -X should output available -X options
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 1.2.1   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 12:19 EDT by Wes Isberg CLA
Modified: 2004-10-21 04:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wes Isberg CLA 2004-04-15 12:19:15 EDT
ajc should emit the available -X options on -help or -X request (the latter like
java) to get more traffic and feedback on the experimental options.
Comment 1 Adrian Colyer CLA 2004-07-27 11:56:40 EDT
Fixed following java compiler conventions.


==> ajc -?

AspectJ Compiler

	Usage: <options> <source file | @argfile>..

AspectJ-specific options:
	-inpath <list>      use classes in dirs and jars/zips in <list> as source
	                    (<list> uses platform-specific path delimiter)
	-injars <jarList>   use classes in <jarList> zip files as source
	                    (<jarList> uses classpath delimiter)
	                    deprecated - use inpath instead.
	-aspectpath <list>  weave aspects from <list> zip files into sources
	                    (<list> uses classpath delimiter)
	-outjar <file>      put output classes in zip file <file>
	-argfile <file>     specify line-delimited list of source files
	-incremental        continuously-running compiler, needs -sourceroots
	                    (reads stdin: enter to recompile and 'q' to quit)
	-sourceroots <dirs> compile all .aj and .java files in <dirs>
	                    (<dirs> uses classpath delimiter)
	-emacssym           generate .ajesym symbol files for emacs support
	-Xlint              same as '-Xlint:warning'
	-Xlint:<level>      set default level for crosscutting messages
	                    (<level> may be ignore, warning, or error)
	-Xlintfile <file>   specify properties file to set per-message levels
	                    (cf org/aspectj/weaver/XlintDefault.properties)
	-X                  print help on non-standard options

Standard Eclipse compiler options:
 Options enabled by default are prefixed with '+'
... 


==> ajc -X

AspectJ Compiler non-standard options:

	-XnoInline          don't inline advice
	-XlazyTjp           create thisJoinPoint objects lazily
	-Xreweavable        create class files that can be subsequently rewoven
	                    by AspectJ
	-Xreweavable:compress as above, but also compress the reweaving information
	-XnoWeave           compile classes but do not weave. Deprecated, use
	                    reweavable instead.

	
Comment 2 Adrian Colyer CLA 2004-07-27 12:09:29 EDT
and I even managed to mess it up. -XserializableAspects now added too...
Comment 3 Adrian Colyer CLA 2004-10-21 04:31:43 EDT
Fix released as part of AspectJ 1.2.1