activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <clebert.suco...@gmail.com>
Subject Re: Errors compiling Artemis on OS X
Date Fri, 29 Jul 2016 04:48:45 GMT
I run on Mac and everything is fine for me.  What JDK you have ?

On Thursday, July 28, 2016, John D. Ament <johndament@apache.org> wrote:

> For whatever reason, I need to make this change in the schemagen task.  Its
> been fine for a while and this hasn't changed, so I'm not sure whats
> different.
>
> -                 <schemagen srcdir="${basedir}/.."
> destdir="${project.build.directory}/schema/org.apache.activemq/dto"
> includeantruntime="false">
>
> +                 <schemagen srcdir="${basedir}"
> destdir="${project.build.directory}/schema/org.apache.activemq/dto"
> includeantruntime="false">
>
>
> John
>
> On Thu, Jul 28, 2016 at 7:44 PM John D. Ament <johndament@apache.org
> <javascript:;>> wrote:
>
> > I'm getting this error trying to compile Artemis.  Fails on DTO
> > generation.  Tried upgrading to latest Java 8 version as well.  This was
> > working fine a couple of days ago.
> >
> > main:
> >      [echo] Generating XSD to:
> >
> /Users/johnament/src/activemq-artemis/artemis-dto/target/schema/org.apache.activemq/dto
> > [schemagen] Generating schema from 20 source files
> > An exception has occurred in the compiler (1.8.0_101). Please file a bug
> > against the Java compiler via the Java bug reporting page (
> > http://bugreport.java.com) after checking the Bug Database (
> > http://bugs.java.com) for duplicates. Include your program and the
> > following diagnostic in your report. Thank you.
> > java.lang.AssertionError
> > at com.sun.tools.javac.util.Assert.error(Assert.java:126)
> > at com.sun.tools.javac.util.Assert.check(Assert.java:45)
> > at
> >
> com.sun.tools.javac.code.SymbolMetadata.setDeclarationAttributesWithCompletion(SymbolMetadata.java:161)
> > at
> >
> com.sun.tools.javac.code.Symbol.setDeclarationAttributesWithCompletion(Symbol.java:215)
> > at
> >
> com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:952)
> > at com.sun.tools.javac.comp.MemberEnter.access$600(MemberEnter.java:64)
> > at com.sun.tools.javac.comp.MemberEnter$5.run(MemberEnter.java:876)
> > at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:143)
> > at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
> > at com.sun.tools.javac.comp.Enter.complete(Enter.java:512)
> > at com.sun.tools.javac.comp.Enter.main(Enter.java:471)
> > at
> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:982)
> > at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:857)
> > at com.sun.tools.javac.main.Main.compile(Main.java:523)
> > at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
> > at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
> > at
> >
> com.sun.tools.jxc.ApBasedTask$InternalApAdapter.execute(ApBasedTask.java:127)
> > at com.sun.tools.jxc.ApBasedTask.compile(ApBasedTask.java:170)
> > at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
> > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at
> >
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> > at org.apache.tools.ant.Task.perform(Task.java:348)
> > at org.apache.tools.ant.Target.execute(Target.java:390)
> > at org.apache.tools.ant.Target.performTasks(Target.java:411)
> > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
> > at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
> > at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:327)
> > at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> > at
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> > at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> > at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> > at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> >
>


-- 
Clebert Suconic

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message