Re: [aspectwerkz-dev] Re: [aspectwerkz-user] Re: problems with ant task
the_mindstorm <[email protected]> Wed, 06 Oct 2004 14:20:46 +0300
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Quote [Jonas Bonér]:
> Thanks a lot.
>
> I have added the task to the cvs now. Only head for now, will put it
> in the 1.0 branch later today.
I wasn't able to retrieve it :-(.
./the_mindstorm
>
> Syntax is:
>
> <taskdef name="annotationc"
> classname="org.codehaus.aspectwerkz.annotation.AnnotationCTask"
> classpathref="project.class.path"/>
> <target name="annotations" depends="init">
> <annotationc
> verbose="true"
> clsdir="${basedir}/target/samples-classes"
> srcdir="${basedir}/src/samples"
> destdir="${basedir}/target/samples-classes"
> properties="${basedir}/src/samples/annotation.properties">
> </annotationc>
> </target>
>
> Do we agree on this?
>
> /Jonas
>
> On Tue, 05 Oct 2004 22:25:15 +0300, the_mindstorm
> <[email protected]> wrote:
>
>>Hi!
>>
>>Attached is the new version of the OfflineWeaverTask.
>>The changes I made:
>>
>>- directly call AnnotationC
>>- support multiple source dirs
>>
>>Addition:
>>- I also added support for providing source filesets (this is way I have changed a little the
>>implementation of AnnotationC and also AnnotationManager - added one method: public void
>>addSource(final String srcFile).
>>
>>Proposals:
>>1. supporting as input a file containing the list of sources to be processed (as in AspectJ)
>>2. support multiple directories for classdir.
>>
>>These 2 features will allow highly configurability of offline weaving. Their implementation is quite
>>simple and doesn't require many changes in the AspectWerkz classes.
>>
>>I wait with interest your comments.
>>
>>./the_mindstorm
>>
>>
>>
>
>