<DIV><FONT color=#333333>Hi guys:</FONT></DIV>
<DIV>
<DIV><FONT color=#333333> I tested to complile rhevm <STRONG>engine</STRONG> from source pkg, but get some error.</FONT></DIV>
<DIV><FONT color=#333333> I have tested with same way in ovirt 3.4.4 and rhevm 3.4.3, there was no error, but just in rhevm 3.4.4 with some errors:</FONT></DIV>
<DIV><FONT color=#333333></FONT> </DIV>
<DIV>[INFO] <BR>[INFO] ------------------------------------------------------------------------<BR>[INFO] Building Common utilities 3.4.4<BR>[INFO] ------------------------------------------------------------------------<BR>[INFO] <BR>[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ utils ---<BR>[INFO] Deleting /root/rpmbuild/SOURCES/ovirt-engine/backend/manager/modules/utils/target<BR>[INFO] <BR>[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ utils ---<BR>[INFO] Using 'UTF-8' encoding to copy filtered resources.<BR>[INFO] Copying 2 resources<BR>[INFO] <BR>[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ utils ---<BR>[INFO] Compiling 163 source files to /root/rpmbuild/SOURCES/ovirt-engine/backend/manager/modules/utils/target/classes<BR>[INFO] -------------------------------------------------------------<BR>[ERROR] COMPILATION ERROR : <BR>[INFO] -------------------------------------------------------------<BR>[ERROR] /root/rpmbuild/SOURCES/ovirt-engine/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/pm/VdsFenceOptions.java:[329,44] error: cannot find symbol<BR>[INFO] 1 error<BR>[INFO] -------------------------------------------------------------<BR>[INFO] ------------------------------------------------------------------------<BR>[INFO] Reactor Summary:<BR>[INFO] <BR>[INFO] ovirt-root ......................................... SUCCESS [ 0.311 s]<BR>[INFO] oVirt Build Tools root ............................. SUCCESS [ 0.016 s]<BR>[INFO] oVirt checkstyle ................................... SUCCESS [ 1.176 s]<BR>[INFO] oVirt JBoss Modules Maven Plugin ................... SUCCESS [ 3.148 s]<BR>[INFO] oVirt Checkstyle Checks ............................ SUCCESS [ 0.849 s]<BR>[INFO] oVirt Modules - backend ............................ SUCCESS [ 0.010 s]<BR>[INFO] oVirt Manager ...................................... SUCCESS [ 0.009 s]<BR>[INFO] oVirt Engine dependencies .......................... SUCCESS [ 1.113 s]<BR>[INFO] oVirt Modules - manager ............................ SUCCESS [ 0.741 s]<BR>[INFO] CSharp Compatibility ............................... SUCCESS [ 2.789 s]<BR>[INFO] Common utilities ................................... FAILURE [ 2.956 s]<BR>[INFO] Common Code ........................................ SKIPPED<BR>[INFO] Data Access Layer .................................. SKIPPED<BR>[INFO] Vds broker ......................................... SKIPPED<BR>[INFO] engine scheduler bean .............................. SKIPPED<BR>[INFO] Search Backend ..................................... SKIPPED<BR>[INFO] Backend Logic @Service bean ........................ SKIPPED<BR>[INFO] oVirt RESTful API Backend Integration .............. SKIPPED<BR>[INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED<BR>[INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED<BR>[INFO] oVirt RESTful API Backend Integration Webapp ....... SKIPPED<BR>[INFO] oVirt RESTful API interface ........................ SKIPPED<BR>[INFO] oVirt Engine API Definition ........................ SKIPPED<BR>[INFO] oVirt Engine API Commom Parent POM ................. SKIPPED<BR>[INFO] oVirt Engine API Common JAX-RS ..................... SKIPPED<BR>[INFO] oVirt Engine Web Root .............................. SKIPPED<BR>[INFO] Branding package ................................... SKIPPED<BR>[INFO] ovirt-engine services .............................. SKIPPED<BR>[INFO] oVirt Engine Web Docs .............................. SKIPPED<BR>[INFO] ovirt-engine welcome ............................... SKIPPED<BR>[INFO] Backend Authentication ............................. SKIPPED<BR>[INFO] oVirt Engine Tools ................................. SKIPPED<BR>[INFO] oVirt Modules :: Frontend .......................... SKIPPED<BR>[INFO] oVirt Modules :: Webadmin .......................... SKIPPED<BR>[INFO] oVirt Modules - ui ................................. SKIPPED<BR>[INFO] Extensions for GWT ................................. SKIPPED<BR>[INFO] UI Utils Compatibility (for UICommon) .............. SKIPPED<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>[INFO] ------------------------------------------------------------------------<BR>[INFO] BUILD FAILURE<BR>[INFO] ------------------------------------------------------------------------<BR>[INFO] Total time: 14.340 s<BR>[INFO] Finished at: 2014-12-17T23:11:35+08:00<BR>[INFO] Final Memory: 51M/247M<BR>[INFO] ------------------------------------------------------------------------<BR>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project utils: Compilation failure<BR>[ERROR] /root/rpmbuild/SOURCES/ovirt-engine/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/pm/VdsFenceOptions.java:[329,44] error: cannot find symbol<BR>[ERROR] -> [Help 1]<BR>[ERROR] <BR>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.<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 read the following articles:<BR>[ERROR] [Help 1] <A href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException">http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</A><BR>[ERROR] <BR>[ERROR] After correcting the problems, you can resume the build with the command<BR>[ERROR] mvn <goals> -rf :utils</DIV>
<DIV> </DIV>
<DIV>some code of error file <STRONG>VdsFenceOptions.java</STRONG>: (I have node changed any codes)</DIV>
<DIV>...</DIV>
<DIV>319 /**<BR>320 * handles agent default options<BR>321 *<BR>322 * @param agent<BR>323 * @param fenceOptions<BR>324 * @return String the options after adding default agent parameters<BR>325 */<BR>326 public static String getDefaultAgentOptions(String agent, String fenceOptions, ArchitectureType architectureType) {<BR>327 String agentDefaultParams = (architectureType != null && architectureType == ArchitectureType.ppc64)<BR>328 ?<BR>329 Config.getValue(ConfigValues.FenceAgentDefaultParamsForPPC, ConfigCommon.defaultConfigurationVersion).toString()<BR>330 :<BR>331 Config.getValue(ConfigValues.FenceAgentDefaultParams, ConfigCommon.defaultConfigurationVersion).toString();<BR>332 ...</DIV>
<DIV> </DIV>
<DIV>My compilation tools env:</DIV>
<DIV>[root@localhost ~]# mvn -v<BR>Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-12T04:58:10+08:00)<BR>Maven home: /apache-maven<BR>Java version: 1.7.0_71, vendor: Oracle Corporation<BR>Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/jre<BR>Default locale: en_US, platform encoding: UTF-8<BR>OS name: "linux", version: "2.6.32-504.1.3.el6.x86_64", arch: "amd64", family: "unix"</DIV>
<DIV> </DIV>
<DIV>also I have test different tools:</DIV>
<DIV>maven 3.0.5 + java 1.7.0.45</DIV>
<DIV>
<DIV>maven 3.0.5 + java 1.7.0.71 </DIV>
<DIV>
<DIV>maven 3.1.1 + java 1.7.0.45 </DIV>
<DIV>
<DIV>maven 3.1.1 + java 1.7.0.71 </DIV>
<DIV>
<DIV>maven 3.2.3 + java 1.7.0.45</DIV>
<DIV>
<DIV>maven 3.2.3 + java 1.7.0.71</DIV>
<DIV> </DIV>
<DIV>all above had the same error.</DIV>
<DIV> </DIV>
<DIV>Who can give some idea to fix it?</DIV></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV>
<DIV></DIV></DIV>