[Engine-devel] fails when build engine source code

bigclouds bigclouds at 163.com
Fri Oct 25 10:54:49 UTC 2013


error reamins.  the code is latest  today, i update when build.
i  download a tar package ovirt-engine-3.3.0.1.tar.gz  from  internet.  this tar works


thanks.


git log:
commit c821e8ffdd4b06683fc2089bb0d60c0d9619fb0a
Author: Alon Bar-Lev <alonbl at redhat.com>
Date:   Thu Oct 24 22:28:57 2013 +0300


    packaging: fix typo in java detection caused only version match
    
    Change-Id: Ia0224b3bd1172ef5167c7085d2dd29aba72abaff
    Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>


commit 042c17ddadb05dfa33bf5384163d1090fd3747f0
Author: Tomas Jelinek <tjelinek at redhat.com>
Date:   Wed Oct 16 15:33:21 2013 +0200







At 2013-10-25 15:31:21,"Tomas Jelinek" <tjelinek at redhat.com> wrote:
>hey,
>
>I have tried to build the current master and it works fine. 
>Which exact git commit are you trying to build?
>
>BTW for this kinds of errors I could suspect that there is some mess
>from older builds which causes the problems. If this happens to you also on the current HEAD
>please try to:
>
>delete ~/.m2/repository/org/ovirt/*
>delete all the targets: cd <engine workspace>; find . -name target -exec rm -rf {} \; 
>
>Tomas
>
>----- Original Message -----
>> From: "bigclouds" <bigclouds at 163.com>
>> To: "engine-devel" <engine-devel at ovirt.org>
>> Sent: Friday, October 25, 2013 5:03:56 AM
>> Subject: [Engine-devel] fails when build engine source code
>> 
>> hi,all
>> look at the error. UI Utils Compatibility part fails.
>> [INFO] UI Utils Compatibility (for UICommon) ............. FAILURE [0.385s]
>> [INFO] Frontend for GWT UI Projects ...................... SKIPPED
>> [INFO] UICommonWeb ....................................... SKIPPED
>> [INFO] oVirt GWT UI common infrastructure ................ SKIPPED
>> [INFO] WebAdmin .......................................... SKIPPED
>> [INFO] UserPortal ........................................ SKIPPED
>> [INFO] oVirt Server EAR .................................. SKIPPED
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:gwt-maven-plugin:2.5.1:compile (default) on project
>> uicompat: GWT Module org.ovirt.engine.core.SearchBackend not found in
>> project sources or resources. -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:compile (default) on project
>> uicompat: GWT Module org.ovirt.engine.core.SearchBackend not found in
>> project sources or resources.
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>> 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:84)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> at org.apache.maven.lifecycle.internal.L
>> ifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at sun.reflect.DelegatingMethodAccessorImpl
>> .invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> Caused by: org.apache.maven.plugin.MojoExecutionException: GWT Module
>> org.ovirt.engine.core.SearchBackend not found in project sources or
>> resources.
>> at
>> org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:495)
>> at org.codehaus.mojo.gwt.shell.CompileMojo.compil e(CompileMojo.java:356)
>> at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:280)
>> at
>> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:172)
>> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> ... 19 more
>> Caused by: org.codehaus.mojo.gwt.utils.GwtModuleReaderException: GWT Module
>> org.ovirt.engine.core.SearchBackend not found in project sources or
>> resources.
>> at
>> org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:205)
>> at org.codehaus.mojo.gwt.GwtModule.getLocalInherits(GwtModule.java:189)
>> at org.codehaus.mojo.gwt.GwtModule.getInherits(GwtModule.java:149)
>> at org.codehaus.mojo.gwt.GwtModule.getEntryPoints(GwtModule.java:114)
>> at
>> org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:409)
>> ... 24 more
>> [ERROR]
>> [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/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR] mvn <goals> -rf :uicompat
>> 
>> 
>> 
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20131025/69c865a7/attachment-0001.html>


More information about the Devel mailing list