<div dir="ltr">Please try to clean your target directories and rebuild using:<div><br></div><div>make clean install-dev PREFIX="$HOME/ovirt-engine"<br></div><div><br></div><div style>It is always good to check <a href="http://www.ovirt.org/OVirt_Engine_Development_Environment">http://www.ovirt.org/OVirt_Engine_Development_Environment</a> and look at Usage section.</div>
<div style>There is a bit of information which can help solving similar issues.</div><div style><br></div><div style>Piotr</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 9:31 AM, Tomas Jelinek <span dir="ltr"><<a href="mailto:tjelinek@redhat.com" target="_blank">tjelinek@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hey,<br>
<br>
I have tried to build the current master and it works fine.<br>
Which exact git commit are you trying to build?<br>
<br>
BTW for this kinds of errors I could suspect that there is some mess<br>
from older builds which causes the problems. If this happens to you also on the current HEAD<br>
please try to:<br>
<br>
delete ~/.m2/repository/org/ovirt/*<br>
delete all the targets: cd <engine workspace>; find . -name target -exec rm -rf {} \;<br>
<br>
Tomas<br>
<div><div class="h5"><br>
----- Original Message -----<br>
> From: "bigclouds" <<a href="mailto:bigclouds@163.com">bigclouds@163.com</a>><br>
> To: "engine-devel" <<a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>><br>
> Sent: Friday, October 25, 2013 5:03:56 AM<br>
> Subject: [Engine-devel] fails when build engine source code<br>
><br>
> hi,all<br>
> look at the error. UI Utils Compatibility part fails.<br>
> [INFO] UI Utils Compatibility (for UICommon) ............. FAILURE [0.385s]<br>
> [INFO] Frontend for GWT UI Projects ...................... SKIPPED<br>
> [INFO] UICommonWeb ....................................... SKIPPED<br>
> [INFO] oVirt GWT UI common infrastructure ................ SKIPPED<br>
> [INFO] WebAdmin .......................................... SKIPPED<br>
> [INFO] UserPortal ........................................ SKIPPED<br>
> [INFO] oVirt Server EAR .................................. SKIPPED<br>
> [ERROR] Failed to execute goal<br>
> org.codehaus.mojo:gwt-maven-plugin:2.5.1:compile (default) on project<br>
> uicompat: GWT Module org.ovirt.engine.core.SearchBackend not found in<br>
> project sources or resources. -> [Help 1]<br>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute<br>
> goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:compile (default) on project<br>
> uicompat: GWT Module org.ovirt.engine.core.SearchBackend not found in<br>
> project sources or resources.<br>
> at<br>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)<br>
> at<br>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)<br>
> at<br>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)<br>
> at<br>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)<br>
> at<br>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)<br>
> at org.apache.maven.lifecycle.internal.L<br>
> ifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)<br>
> at<br>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)<br>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)<br>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)<br>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)<br>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)<br>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> at<br>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
> at sun.reflect.DelegatingMethodAccessorImpl<br>
> .invoke(DelegatingMethodAccessorImpl.java:43)<br>
> at java.lang.reflect.Method.invoke(Method.java:606)<br>
> at<br>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)<br>
> at<br>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)<br>
> at<br>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)<br>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)<br>
> Caused by: org.apache.maven.plugin.MojoExecutionException: GWT Module<br>
> org.ovirt.engine.core.SearchBackend not found in project sources or<br>
> resources.<br>
> at<br>
> org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:495)<br>
> at org.codehaus.mojo.gwt.shell.CompileMojo.compil e(CompileMojo.java:356)<br>
> at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:280)<br>
> at<br>
> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:172)<br>
> at<br>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)<br>
> at<br>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)<br>
> ... 19 more<br>
> Caused by: org.codehaus.mojo.gwt.utils.GwtModuleReaderException: GWT Module<br>
> org.ovirt.engine.core.SearchBackend not found in project sources or<br>
> resources.<br>
> at<br>
> org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:205)<br>
> at org.codehaus.mojo.gwt.GwtModule.getLocalInherits(GwtModule.java:189)<br>
> at org.codehaus.mojo.gwt.GwtModule.getInherits(GwtModule.java:149)<br>
> at org.codehaus.mojo.gwt.GwtModule.getEntryPoints(GwtModule.java:114)<br>
> at<br>
> org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:409)<br>
> ... 24 more<br>
> [ERROR]<br>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>
> [ERROR]<br>
> [ERROR] For more information about the errors and possible solutions, please<br>
> read the following articles:<br>
> [ERROR] [Help 1]<br>
> <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a><br>
> [ERROR]<br>
> [ERROR] After correcting the problems, you can resume the build with the<br>
> command<br>
> [ERROR] mvn <goals> -rf :uicompat<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Engine-devel mailing list<br>
> <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
><br>
_______________________________________________<br>
Engine-devel mailing list<br>
<a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
</blockquote></div><br></div>