Hi there,

Hmm, using this I am getting compile errors due to compiling against 1.4 -
I usually avoid this by exporting the class files from Eclipse and using
those.  Looks like aspectj is trying to recompile everything and failing
with the funny error message below.  I'll see if I can get everything to
compile first and try again.  I really want to get this working!

Thanks,

     Mike





"Vincent Massol" <[EMAIL PROTECTED]> on 28/10/2002 13:22:33

Please respond to "Turbine Maven Users List"
      <[EMAIL PROTECTED]>



To:   "'Turbine Maven Users List'" <[EMAIL PROTECTED]>
cc:   Michael J. Brown/JPMCHASE@CHASE
Subject:  RE: Patterntesting

Hi Michael,

Hum ... Not sure what is happening. Does your aspects compile fine with
the Maven AspectJ plugin?

The ajcxml task is a pure extension to the AspectJ Ajc one so there
shouldn't be any difference actually ...

-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:Michael.J.Brown@;jpmorgan.com]
> Sent: 23 October 2002 13:26
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Patterntesting
>
> Hi all,
>
> Does anyone use the Maven plugin for PatternTesting?  I know Vincent
does
> and I'd really like to get it to work.  Unfortunately I'm having a bit
of
> bother getting the task to run.  I get the following output - any
ideas?
> The source files compile fine usually.
>
> One clue may be this.  I'm using the AspectJ Eclipse plugin and it's
> complaining about duplicate type names even though this is not the
case -
> might be a complete red herring though...
>
> Many thanks,
>
>      Mike
>
>  __  __
> |  \/  |__ Jakarta _ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|   v. 1.0-beta-7
>
> D:\Program Files\eclipse\workspace\Portfolio Analyser
>
> init-dvsl-tag:
>
> patterntesting:generate:
>     [echo] Compile code with Pattern Test Aspects ...
>     [ajcxml] Compiling 968 source and 0 arg files to D:\Program
> Files\eclipse\wo
> rkspace\Portfolio Analyser\target\classes-test-aspect
>     [ajcxml] [ERROR] An internal error occured in AspectJ-1.0.6
>     [ajcxml] [ERROR] Please copy the following text into an email
message
> and se
> nd it,
>     [ajcxml] [ERROR] along with any additional information you can add
to:
>
>     [ajcxml] [ERROR]
>
>     [ajcxml] [ERROR]        [EMAIL PROTECTED]
>     [ajcxml] [ERROR]
>
>     [ajcxml] [ERROR]
>     [ajcxml] [ERROR] java.lang.NullPointerException
>     [ajcxml] [ERROR] java.lang.NullPointerException
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.TypeExpr.checkSpec(Type
> Expr.java:72)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:44)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.ast.ASTObject.walk(ASTObjec
> t.java:264)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.SpecChecker.process(SpecChe
> cker.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.WalkerPass.transform(Walker
> Pass.java:51)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.WalkerPass.transformWorld(W
> alkerPass.java:45)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.JavaCompiler.internalCompil
> e(JavaCompiler.java:368)
>     [ajcxml] [ERROR]    at
> org.aspectj.compiler.base.JavaCompiler.compile(JavaCo
> mpiler.java:144)
>     [ajcxml] [ERROR]    at
org.aspectj.tools.ajc.Main.run(Main.java:187)
>     [ajcxml] [ERROR]    at
> org.aspectj.tools.ajc.Main.compile(Main.java:145)
>     [ajcxml] [ERROR]    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
> ethod)
>     [ajcxml] [ERROR]    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
> hodAccessorImpl.java:39)
>     [ajcxml] [ERROR]    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
> atingMethodAccessorImpl.java:25)
>     [ajcxml] [ERROR]    at
> java.lang.reflect.Method.invoke(Method.java:324)
>     [ajcxml] [ERROR]    at
> patterntesting.plugin.aspectj.AjcXmlTask.spoon(AjcXml
> Task.java:130)
>     [ajcxml] [ERROR]    at
> org.aspectj.tools.ant.taskdefs.Ajc.execute(Ajc.java:4
> 54)
>     [ajcxml] [ERROR]    at
> patterntesting.plugin.aspectj.AjcXmlTask.execute(AjcX
> mlTask.java:103)
>     [ajcxml] [ERROR]    at
> org.apache.tools.ant.Task.perform(Task.java:317)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag
> .java:220)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.impl.DynaTagScript.run(DynaT
> agScript.java:141)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptB
> lock.java:134)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSup
> port.java:190)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.
> java:92)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.impl.BeanTagScript.run(BeanT
> agScript.java:180)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptB
> lock.java:134)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSup
> port.java:190)
>     [ajcxml] [ERROR]    at
> org.apache.commons.jelly.tags.werkz.GoalTag$1.perform
> Action(GoalTag.java:119)
>     [ajcxml] [ERROR]    at com.werken.werkz.Goal.attain(Goal.java:524)
>     [ajcxml] [ERROR]    at
> com.werken.werkz.Goal.attainPrerequisites(Goal.java:4
> 27)
>     [ajcxml] [ERROR]    at com.werken.werkz.Goal.attain(Goal.java:492)
>     [ajcxml] [ERROR]    at
> org.apache.maven.app.Maven.runGoals(Maven.java:943)
>     [ajcxml] [ERROR]    at
> org.apache.maven.app.Maven.attainGoals(Maven.java:844
> )
>     [ajcxml] [ERROR]    at
org.apache.maven.app.App.doMain(App.java:379)
>     [ajcxml] [ERROR]    at org.apache.maven.app.App.main(App.java:892)
>     [ajcxml] [ERROR]    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
> ethod)
>     [ajcxml] [ERROR]    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
> hodAccessorImpl.java:39)
>     [ajcxml] [ERROR]    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
> atingMethodAccessorImpl.java:25)
>     [ajcxml] [ERROR]    at
> java.lang.reflect.Method.invoke(Method.java:324)
>     [ajcxml] [ERROR]    at
> com.werken.forehead.Forehead.run(Forehead.java:543)
>     [ajcxml] [ERROR]    at
> com.werken.forehead.Forehead.main(Forehead.java:573)
>     [ajcxml] [ERROR]
>     [ajcxml] [ERROR] The error occured in checking for language
errors.
>     [ajcxml] [ERROR]
>     [ajcxml] [ERROR] If possible, please include a small fragment of
code
> that c
> an
>     [ajcxml] [ERROR] reproduce the error, provided that code isn't
> confidential.
>
>     [ajcxml] [ERROR]
>
> [ERROR] BUILD FAILED
> [ERROR] File...... C:
> \Utils\Maven\plugins\maven-patterntesting-plugin-0.2\plugin
> .jelly
> [ERROR] Element... ajcxml
> [ERROR] Line...... 34
> [ERROR] Column.... 60
> [ERROR] Compilation error: -2
> Total time: 1 minutes 26 seconds
>
>
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <
mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <
mailto:turbine-maven-user-help@;jakarta.apache.org>







--
To unsubscribe, e-mail:   <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>

Reply via email to