Hi all,

I'm struggling here a bit. I'm trying to build Trinidad and am using Maven
for the first
time. I get exactly the same error messages as Matt. I've tried using a
selection of JDK
from 1.5.06 to 1.5.17 and always get the same messages. 

Do I perhaps have to make a "profile" entry in the settings.xml of maven? 

Thanks
Achim



Matt Cooper-2 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Trinidad--JDK-build-issue-tp22446042p22866964.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.

Reply via email to