RE: New Maven AW plugin

"Vincent Massol" <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <01de01c3cb0f$e42da350$2502a8c0@vma>

> -----Original Message-----
> From: Vincent Massol [mailto:[email protected]]
> Sent: 24 December 2003 16:57
> To: 'aspectwerkz-devel-81qHHgoATdGxIXFVlbCvtR2eb7JE58TQ@public.gmane.org'
> Subject: New Maven AW plugin
> 
> Hi everyone,
> 
> I've just committed the start of an AW plugin for Maven:
> 
> Web site: http://maven.apache.org/reference/plugins/aspectwerkz/
> CVS: http://cvs.apache.org/viewcvs.cgi/maven-plugins/aspectwerkz/
> 
> ATM, it's located in maven-plugins CVS (we can always decide to host
it
> inside the aspectwerk project later on).
> 
> There is currently only one goal: aspectwerkz:attributec.
> 
> It's not working yet it seems. Help would be welcome as I cannot find
much
> doc and I'm not yet ready to read the source code... :-)
> 
> To try it, install the plugin by checking it out and typing "maven
> plugin:install". Then test it by typing "maven plugin:test". You
should
> see the following error:
> 
> aspectwerkz:attributec:
>     [mkdir] Created dir: E:\Dev\maven-plugins\aspectwerkz\src\plugin-
> test\target
>     [java] AspectWerkz - AttributeC
>     [java] Compiling XML definition...
>     [java]     UUID: test
>     [java] org.codehaus.aspectwerkz.exception.DefinitionException:
class
> pattern is not well formed:
>  java.lang.Object
>     [java]      at
>
org.codehaus.aspectwerkz.regexp.ClassPattern.parse(ClassPattern.java:81)
> [...]
> 

FYI. I've solved the problem by patching the DefinitionException
exception to display the wrapped exception. The reason was that I was
missing the jrexx jar in the CP... Nothing to do with a class pattern
problem or such...

Thanks
-Vincent

> Thanks
> 
> -Vincent
> Wanna see JUnit in Action?
> (http://manning.com/massol)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.