Hi all,

I've noticed lately that in order to build Trinidad, I have to use jdk6 on
the command line (though the settings.xml uses jdk5).

My ~/.m2/settings.xml has the following:

  <profiles>
    <profile>
      <id>java5.home</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>

<jdk5.home>/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home</jdk5.home>
      </properties>
    </profile>
  </profiles>

If I try to build using a jdk5 JAVA_HOME on the command line, I get these
test errors:

Tests in error:

initializationError0(org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitTest)

testEscapeInQuoteJS(org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest)

testDoubleEscapeInQuoteJS(org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest)

  JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home

However, if I build using a jdk6 JAVA_HOME (and keep the jdk5 setting in the
settings.xml file), it builds fine.

  JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

Has anyone else noticed that Trinidad requires this strange build quirk (if
so what OS are you using)?

It might be a Mac-specific issue or perhaps something else strange on my
machine.

Thank you,
Matt

Reply via email to