[Engine-devel] fails when build engine source code

------=_Part_69431_572265507.1382670236563 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit 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.LifecycleStarter.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.compile(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 ------=_Part_69431_572265507.1382670236563 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit <div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div><div>hi,all</div><div>look at the error. <span style="line-height: 1.7;">UI Utils Compatibility part fails.</span></div><div>[INFO] UI Utils Compatibility (for UICommon) ............. FAILURE [0.385s]</div><div>[INFO] Frontend for GWT UI Projects ...................... SKIPPED</div><div>[INFO] UICommonWeb ....................................... SKIPPED</div><div>[INFO] oVirt GWT UI common infrastructure ................ SKIPPED</div><div>[INFO] WebAdmin .......................................... SKIPPED</div><div>[INFO] UserPortal ........................................ SKIPPED</div><div>[INFO] oVirt Server EAR .................................. SKIPPED</div></div><div>[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]</div><div>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.</div><div> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)</div><div> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)</div><div> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)</div><div> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)</div><div> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)</div><div> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)</div><div> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)</div><div> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)</div><div> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)</div><div> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)</div><div> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)</div><div> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)</div><div> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div> at java.lang.reflect.Method.invoke(Method.java:606)</div><div> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)</div><div> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)</div><div> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)</div><div> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)</div><div>Caused by: org.apache.maven.plugin.MojoExecutionException: GWT Module org.ovirt.engine.core.SearchBackend not found in project sources or resources.</div><div> at org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:495)</div><div> at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:356)</div><div> at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:280)</div><div> at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:172)</div><div> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)</div><div> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)</div><div> ... 19 more</div><div>Caused by: org.codehaus.mojo.gwt.utils.GwtModuleReaderException: GWT Module org.ovirt.engine.core.SearchBackend not found in project sources or resources.</div><div> at org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:205)</div><div> at org.codehaus.mojo.gwt.GwtModule.getLocalInherits(GwtModule.java:189)</div><div> at org.codehaus.mojo.gwt.GwtModule.getInherits(GwtModule.java:149)</div><div> at org.codehaus.mojo.gwt.GwtModule.getEntryPoints(GwtModule.java:114)</div><div> at org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:409)</div><div> ... 24 more</div><div>[ERROR] </div><div>[ERROR] Re-run Maven using the -X switch to enable full debug logging.</div><div>[ERROR] </div><div>[ERROR] For more information about the errors and possible solutions, please read the following articles:</div><div>[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</div><div>[ERROR] </div><div>[ERROR] After correcting the problems, you can resume the build with the command</div><div>[ERROR] mvn <goals> -rf :uicompat</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span> ------=_Part_69431_572265507.1382670236563--

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@163.com> To: "engine-devel" <engine-devel@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Please try to clean your target directories and rebuild using: make clean install-dev PREFIX="$HOME/ovirt-engine" It is always good to check http://www.ovirt.org/OVirt_Engine_Development_Environment and look at Usage section. There is a bit of information which can help solving similar issues. Piotr On Fri, Oct 25, 2013 at 9:31 AM, Tomas Jelinek <tjelinek@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
From: "bigclouds" <bigclouds@163.com> To: "engine-devel" <engine-devel@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
----- Original Message ----- 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
... 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,
org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:409) 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

------=_Part_184104_1852617395.1382698489937 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit 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@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@redhat.com> commit 042c17ddadb05dfa33bf5384163d1090fd3747f0 Author: Tomas Jelinek <tjelinek@redhat.com> Date: Wed Oct 16 15:33:21 2013 +0200 At 2013-10-25 15:31:21,"Tomas Jelinek" <tjelinek@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@163.com> To: "engine-devel" <engine-devel@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
------=_Part_184104_1852617395.1382698489937 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit <div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><br>error reamins. the code is latest today, i update when build.<div>i download a tar package ovirt-engine-3.3.0.1.tar.gz from internet. this tar works</div><div><br></div><div>thanks.<br><br><br>git log:</div><div><div>commit c821e8ffdd4b06683fc2089bb0d60c0d9619fb0a</div><div>Author: Alon Bar-Lev <alonbl@redhat.com></div><div>Date: Thu Oct 24 22:28:57 2013 +0300</div><div><br></div><div> packaging: fix typo in java detection caused only version match</div><div> </div><div> Change-Id: Ia0224b3bd1172ef5167c7085d2dd29aba72abaff</div><div> Signed-off-by: Alon Bar-Lev <alonbl@redhat.com></div><div><br></div><div>commit 042c17ddadb05dfa33bf5384163d1090fd3747f0</div><div>Author: Tomas Jelinek <tjelinek@redhat.com></div><div>Date: Wed Oct 16 15:33:21 2013 +0200</div><div><br></div><br><div></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2013-10-25 15:31:21,"Tomas Jelinek" <tjelinek@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@163.com> >> To: "engine-devel" <engine-devel@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@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/engine-devel >> </pre></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span> ------=_Part_184104_1852617395.1382698489937--

Can you please start from scratch? git checkout master git clean -dxf make install-dev PREFIX=`pwd`/xxx
participants (4)
-
Alon Bar-Lev
-
bigclouds
-
Piotr Kliczewski
-
Tomas Jelinek