java-5

Using EclipseLink MOXy with Java 1.5

Has anyone got EclipseLink MOXy (I'm using eclipselink 2.1.0) to work with Java 5? Whenever I try to unmarshal I get a null pointer exception in org.eclipse.persistence.oxm.record.UnmarshalRecord, in the startCDATA() method (xPathNode is null). The exact same code and XML works wonderfully in Java6. ...

How to disable testng test based on a condition

Hey Guys, Is there currently a way to disable Testng test based on a condition I know you can currently disable test as so in Testng: @Test(enabled=false, group={"blah"}) public void testCurrency(){ ... } I will like to disable the same test based on a condition but dont know how. something Like this: @Test(enabled={isUk() ? false ...