[jboss-as7-dev] Why can't I build, please help.

Vimal Kansal vkansal at redhat.com
Thu Oct 27 02:25:05 EDT 2011


But that is building it without running the tests. I am after the build 
with tests.

On 27/10/2011 4:56 PM, Nicklas Karlsson wrote:
> mvn clean install -Dmaven.test.skip=true on upstream master works for 
> me now on Win 7 JDK 6
>
> On Thu, Oct 27, 2011 at 2:10 AM, Vimal Kansal <vkansal at redhat.com 
> <mailto:vkansal at redhat.com>> wrote:
>
>     I just got the latest changes and I am still getting the same error :
>
>     [ERROR] Failed to execute goal
>     org.codehaus.mojo:javacc-maven-plugin:2.3-jboss-1:jjtree
>     (jjtree-jbossql) on project jboss-as-cmp: Execution jjtree-jbossql of
>     goal org.codehaus.mojo:javacc-maven-plugin
>     :2.3-jboss-1:jjtree failed: basedir
>     C:\jboss-as\cmp\C:\jboss-as\cmp\src\main\jjtree does not exist ->
>     [Help 1]
>     [ERROR]
>
>     git log shows the following (which confirms I have the latest fix)
>
>     C:\jboss-as>git log
>     commit a43ad29164b5f0d1a418dbfa5b3673b6f874e37d
>     Author: Jason T. Greene <jason.greene at redhat.com
>     <mailto:jason.greene at redhat.com>>
>     Date:   Wed Oct 26 15:39:42 2011 -0500
>
>         Revert "[AS7-2326] Fix windows error in the javacc plugin in the
>     cmp module"
>         This reverts commit d0ea1a2a00f9fb19f0b76c765032736d1ca75354.
>
>     commit d0ea1a2a00f9fb19f0b76c765032736d1ca75354
>     Author: Paul Gier <pgier at redhat.com <mailto:pgier at redhat.com>>
>     Date:   Wed Oct 26 14:56:13 2011 -0500
>
>         [AS7-2326] Fix windows error in the javacc plugin in the cmp
>     module
>
>
>     Vimal
>
>
>
>     On 27/10/2011 5:52 AM, Dimitris Andreadis wrote:
>     > I think I've fixed that here:
>     > https://github.com/jbossas/jboss-as/pull/510
>     >
>     > On 24/10/2011 10:44, Dimitris Andreadis wrote:
>     >> Yeap, that's it, thanks.
>     >>
>     >> On 24/10/2011 00:45, Stuart Douglas wrote:
>     >>> You also need to remove the cmp subsystem and extension from
>     standalone.xml/domain.xml for the server to be able to boot.
>     >>>
>     >>> Stuart
>     >>>
>     >>> On 24/10/2011, at 4:55 AM, Dimitris Andreadis wrote:
>     >>>
>     >>>> If you comment out 'cmp' from:
>     >>>>
>     >>>> pom.xml
>     >>>> build/build.xml
>     >>>> build/pom.xml
>     >>>>
>     >>>> You should be able to build.
>     >>>>
>     >>>> Although, for me, it gets stuck now to:
>     >>>> Running
>     org.jboss.as.arquillian.container.managed.IntegrationTestCase
>     >>>>
>     >>>> On 23/10/2011 04:51, Vimal Kansal wrote:
>     >>>>> David,
>     >>>>>
>     >>>>> I looked at the commit logs and find the following on 21st
>     of Oct :
>     >>>>>
>     >>>>>
>     ============================================================================
>     >>>>> commit 2efc25bbf5e899ee6351dc5f0f5fee39bc7d87c6
>     >>>>> Author: kabir<kkhan at redhat.com <mailto:kkhan at redhat.com>>
>     >>>>> Date: Fri Oct 21 16:23:29 2011 +0100
>     >>>>>
>     >>>>> *Revert "Exclude cmp from build since it does not build"*
>     >>>>>
>     >>>>> This reverts commit 5c9db4c0188f0492b91f6786340e9261eec3db09.
>     >>>>>
>     >>>>> commit a865280cb9b41e3d9bd821591f0cbbddba7ccd37
>     >>>>>
>     =============================================================================
>     >>>>>
>     >>>>> That, to me indicates that "exclusion of cmp from build" was
>     reverted because inclusion of
>     >>>>> "cmp" no longer was breaking the build. But I am finding
>     that on my Windows 7 machine it is
>     >>>>> still breaking the build.
>     >>>>>
>     >>>>> Btw, is there anyway I can keep downloading the AS 7.1.0 as
>     built by Jenkins, rather than
>     >>>>> building it on my local machine ?
>     >>>>>
>     >>>>> Thx
>     >>>>>
>     >>>>> Vimal
>     >>>>>
>     >>>>>
>     >>>>> On 23/10/2011 12:57 AM, Vimal Kansal wrote:
>     >>>>>> Thx David. Any idea when can we expect this fix?
>     >>>>>>
>     >>>>>> On 23/10/2011 12:55 AM, David M. Lloyd wrote:
>     >>>>>>> We determined that this is due to different javacc plugin
>     and dependency
>     >>>>>>> versions.  A fix is being worked on, last I heard.
>     >>>>>>>
>     >>>>>>> On 10/22/2011 04:34 AM, Vimal Kansal wrote:
>     >>>>>>>> I have now tried everything :
>     >>>>>>>>
>     >>>>>>>> (1) Blew away my local maven repository, build still fails.
>     >>>>>>>>
>     >>>>>>>> (2) Blew away my github fork, created new fork and cloned
>     it, built it
>     >>>>>>>> and it still fails with same rror.
>     >>>>>>>>
>     >>>>>>>> Can somebody please help.
>     >>>>>>>>
>     >>>>>>>> Thx
>     >>>>>>>>
>     >>>>>>>> Vimal
>     >>>>>>>>
>     >>>>>>>> On 22/10/2011 2:38 PM, Vimal Kansal wrote:
>     >>>>>>>>> Hi,
>     >>>>>>>>>
>     >>>>>>>>> I have checked out the latest code and while building it
>     on my Windows 7
>     >>>>>>>>> m/c(Java 1..6.27, 64 bit), the build fails with the
>     following error :
>     >>>>>>>>>
>     >>>>>>>>> [ERROR] Failed to execute goal
>     >>>>>>>>> org.codehaus.mojo:javacc-maven-plugin:2.3-jboss-1:jjtree
>     >>>>>>>>> (jjtree-jbossql) on project jboss-as-cmp: Execution
>     jjtree-jbossql of
>     >>>>>>>>> goal org.codehaus.mojo:javacc-maven-plugin
>     >>>>>>>>> :2.3-jboss-1:jjtree failed: basedir
>     >>>>>>>>>
>     C:\vkk\JBoss-AS7\jboss-as\cmp\C:\vkk\JBoss-AS7\jboss-as\cmp\src\main\jjtree
>     >>>>>>>>> does not exist ->        [Help 1]
>     >>>>>>>>> [ERROR]
>     >>>>>>>>> [ERROR] To see the full stack trace of the errors,
>     re-run Maven with the
>     >>>>>>>>> -e switch.
>     >>>>>>>>> [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 read the following articles:
>     >>>>>>>>> [ERROR] [Help 1]
>     >>>>>>>>>
>     http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
>     >>>>>>>>> [ERROR]
>     >>>>>>>>> [ERROR] After correcting the problems, you can resume
>     the build with the
>     >>>>>>>>> command
>     >>>>>>>>> [ERROR]   mvn<goals>        -rf :jboss-as-cmp
>     >>>>>>>>> C:\vkk\JBoss-AS7\jboss-as>
>     >>>>>>>>>
>     >>>>>>>>> I am not sure why the base dir is being picked up as :
>     >>>>>>>>>
>     >>>>>>>>> basedir
>     >>>>>>>>>
>     C:\vkk\JBoss-AS7\jboss-as\cmp\C:\vkk\JBoss-AS7\jboss-as\cmp\src\main\jjtree
>     >>>>>>>>>
>     >>>>>>>>> it should be
>     >>>>>>>>>
>     >>>>>>>>> basedir C:\vkk\JBoss-AS7\jboss-as\cmp\src\main\jjtree
>     >>>>>>>>>
>     >>>>>>>>> Can somebody please help.
>     >>>>>>>>>
>     >>>>>>>>> Thx
>     >>>>>>>>>
>     >>>>>>>>> Vimal
>     >>>>>>>>>
>     >>>>>>>>>
>     >>>>>>>>>
>     >>>>>>>>> _______________________________________________
>     >>>>>>>>> jboss-as7-dev mailing list
>     >>>>>>>>> jboss-as7-dev at lists.jboss.org
>     <mailto:jboss-as7-dev at lists.jboss.org>
>     >>>>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>     >>>>>>>> _______________________________________________
>     >>>>>>>> jboss-as7-dev mailing list
>     >>>>>>>> jboss-as7-dev at lists.jboss.org
>     <mailto:jboss-as7-dev at lists.jboss.org>
>     >>>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>     >>>>>> _______________________________________________
>     >>>>>> jboss-as7-dev mailing list
>     >>>>>> jboss-as7-dev at lists.jboss.org
>     <mailto:jboss-as7-dev at lists.jboss.org>
>     >>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>     >>>>>
>     >>>>> _______________________________________________
>     >>>>> jboss-as7-dev mailing list
>     >>>>> jboss-as7-dev at lists.jboss.org
>     <mailto:jboss-as7-dev at lists.jboss.org>
>     >>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>     >>>> --
>     >>>> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>     >>>> Dimitris Andreadis
>     >>>> Software Engineering Manager
>     >>>> JBoss Application Server
>     >>>> by Red Hat
>     >>>> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>     >>>>
>     >>>> http://dandreadis.blogspot.com/
>     >>>> _______________________________________________
>     >>>> jboss-as7-dev mailing list
>     >>>> jboss-as7-dev at lists.jboss.org
>     <mailto:jboss-as7-dev at lists.jboss.org>
>     >>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>     _______________________________________________
>     jboss-as7-dev mailing list
>     jboss-as7-dev at lists.jboss.org <mailto:jboss-as7-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
>
>
> -- 
> ---
> Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20111027/0b3dd549/attachment.html 


More information about the jboss-as7-dev mailing list