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 <tjeli...@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" <bigclo...@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 > > > _______________________________________________ > 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