Re: [aspectwerkz-dev] : new version

the_mindstorm <[email protected]> Thu, 07 Oct 2004 05:46:28 +0300
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
Hi!

Attached are the latest versions for the AnnotationCTask (and related).

Modifications:
1. the verbose parameter was not transmitted to AnnotationC: FIXED
2. the execute method never threw BuildException (a stupid printStackTrace()): FIXED
3. AnnotationC.printUsage printed old information: FIXED

Features:
1. The sources can be provided in 4 ways:
	- srcdir attribute (1 directory)
	- inner element (<src path>): multiple directories
	- srcfileset: fileset of sources (the corresponding in AnnotationC main is comma separated list)
	- srcincludes: a file containing the source names (one per line)

2. The classes dir can be provided in 2 ways:
	- clsdir attribute: 1 directory
	- inner element (<cls path>): multiple directories
This feature required a little change in AttributeEnhancer (respectively AsmAttributeEnhancer). The 
method initialize(String, String) was changed to initialize(String, URL[]).

Fixes:
1. Fixed the build.xml to produce the same result as the initial test:annotationc


Unfortunately I had no time to write down the doc for the task. I like xdocs (even if I dislike 
maven ;-) ). I will come back later with the doc and a complete set of examples of task usage.

./the_mindstorm
AnnotationCTask.zip (application/zip, 16.2 KB) - not displayed