Re: [aspectwerkz-dev] : new version

Jonas BonĂ©r <[email protected]> Thu, 7 Oct 2004 15:44:36 +0200
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
Hi.

thanks a lot for your contributions, I like it. committed to head.
I was just wondering if it would be more intuitive to use 'classpath'
instead of 'cls' or 'clsdir' and to use 'srcdir' and not 'src'.

so we have: 

<annotationc
            verbose="true"
            destdir="${basedir}/target/samples-classes"
            properties="${basedir}/src/samples/annotation.properties">
            <srcdir path="${basedir}/src/samples"/>
            <srcdir path="${basedir}/src/test"/>
            <classpath path="${basedir}/target/samples-classes"/>
            <classpath path="${basedir}/target/test-classes"/>
            <classpath path="${basedir}/target/classes"/>
        </annotationc>

/Jonas

Ps. We are in high need of an ant task for the offline compiler
(AspectWerkzC) as well, care to help out with one? We have a maven
goal, but it might be outdated by now. Thanks a lot. Ds.





On Thu, 07 Oct 2004 05:46:28 +0300, the_mindstorm
<[email protected]> wrote:
> 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
> 
> 
>