[jboss-jira] [JBoss JIRA] Resolved: (AS7-1773) Upstream master doesn't build on Windows

James Perkins (JIRA) jira-events at lists.jboss.org
Mon Sep 12 13:23:26 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins resolved AS7-1773.
--------------------------------

    Resolution: Rejected


This is actually a JDK 7 bug. It's been fixed in IcedTea. The issue is in the Java tools.jar. See https://issues.jboss.org/browse/LOGTOOL-23 and http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=767.

You can use the work-around from LOGTOOL-23, but the simplest solution will be to build with Java 6. It's a compile-time only bug, so no runtime issues.

> Upstream master doesn't build on Windows
> ----------------------------------------
>
>                 Key: AS7-1773
>                 URL: https://issues.jboss.org/browse/AS7-1773
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Nicklas Karlsson
>            Assignee: James Perkins
>
> A new error message since the tooling upgrade
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.1:compile (default-compile) on project jboss-as-transactions: Compilation fail
> ure
> [ERROR] Failure executing javac, but could not parse the error:
> [ERROR] warning: [options] bootstrap class path not set in conjunction with -sou
> rce 1.6
> [ERROR] error: Cannot read org.jboss.as.txn package files, cause : java.io.FileN
> otFoundException: org.jboss.as.txn/TransactionLogger
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacFiler.getResource(JavacFiler.java
> :464)
> [ERROR]
> [ERROR] at org.jboss.logging.generator.apt.TranslationClassGenerator.findTransla
> tionFiles(TranslationClassGenerator.java:129)
> [ERROR]
> [ERROR] at org.jboss.logging.generator.apt.TranslationClassGenerator.processType
> Element(TranslationClassGenerator.java:92)
> [ERROR]
> [ERROR] at org.jboss.logging.generator.apt.LoggingToolsProcessor.process(Logging
> ToolsProcessor.java:152)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcess
> or(JavacProcessingEnvironment.java:793)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAnd
> RunProcs(JavacProcessingEnvironment.java:722)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700
> (JavacProcessingEnvironment.java:97)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(J
> avacProcessingEnvironment.java:1029)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessin
> g(JavacProcessingEnvironment.java:1163)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler
> .java:1106)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:417)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:331)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:322)
> [ERROR]
> [ERROR] at com.sun.tools.javac.Main.compile(Main.java:94)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:57)
> [ERROR]
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> [ERROR]
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
> [ERROR]
> [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
> acCompiler.java:549)
> [ERROR]
> [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
> r.java:156)
> [ERROR]
> [ERROR] at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
> Mojo.java:605)
> [ERROR]
> [ERROR] at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
> [ERROR]
> [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
> BuildPluginManager.java:107)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:209)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:153)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:145)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
> ct(LifecycleModuleBuilder.java:84)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
> ct(LifecycleModuleBuilder.java:59)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
> ild(LifecycleStarter.java:183)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
> eStarter.java:161)
> [ERROR]
> [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> [ERROR]
> [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> [ERROR]
> [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
> [ERROR]
> [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> [ERROR]
> [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:57)
> [ERROR]
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> [ERROR]
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
> cher.java:290)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
> a:230)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
> uncher.java:409)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> 352)
> [ERROR]
> [ERROR] error: Cannot read org.jboss.as.txn package files, cause : java.io.FileN
> otFoundException: org.jboss.as.txn/TransactionMessages
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacFiler.getResource(JavacFiler.java
> :464)
> [ERROR]
> [ERROR] at org.jboss.logging.generator.apt.TranslationClassGenerator.findTransla
> tionFiles(TranslationClassGenerator.java:129)
> [ERROR]
> [ERROR] at org.jboss.logging.generator.apt.TranslationClassGenerator.processType
> Element(TranslationClassGenerator.java:92)
> [ERROR]
> [ERROR] at org.jboss.logging.generator.apt.LoggingToolsProcessor.process(Logging
> ToolsProcessor.java:152)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcess
> or(JavacProcessingEnvironment.java:793)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAnd
> RunProcs(JavacProcessingEnvironment.java:722)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700
> (JavacProcessingEnvironment.java:97)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(J
> avacProcessingEnvironment.java:1029)
> [ERROR]
> [ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessin
> g(JavacProcessingEnvironment.java:1163)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler
> .java:1106)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:417)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:331)
> [ERROR]
> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:322)
> [ERROR]
> [ERROR] at com.sun.tools.javac.Main.compile(Main.java:94)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:57)
> [ERROR]
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> [ERROR]
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
> [ERROR]
> [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
> acCompiler.java:549)
> [ERROR]
> [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
> r.java:156)
> [ERROR]
> [ERROR] at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
> Mojo.java:605)
> [ERROR]
> [ERROR] at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
> [ERROR]
> [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
> BuildPluginManager.java:107)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:209)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:153)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
> .java:145)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
> ct(LifecycleModuleBuilder.java:84)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
> ct(LifecycleModuleBuilder.java:59)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
> ild(LifecycleStarter.java:183)
> [ERROR]
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
> eStarter.java:161)
> [ERROR]
> [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> [ERROR]
> [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> [ERROR]
> [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
> [ERROR]
> [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> [ERROR]
> [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR]
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:57)
> [ERROR]
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> [ERROR]
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
> cher.java:290)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
> a:230)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
> uncher.java:409)
> [ERROR]
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> 352)
> [ERROR]
> [ERROR] 2 errors
> [ERROR] 1 warning
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please rea
> d the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :jboss-as-transactions

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list