Hi Piotr,
Having a look at the code and the exception, I find this error relatively
strange. Googling a Little, I could see that Integer.compare was introduced in
Java 1.7 ... think I'll overwork this to make the mavenizer work in 1.6 too.
For now changing the line in the exception to this:
return
Integer.valueOf(versionSegments1.length).compareTo(versionSegments2.length);
should do the trick. Unfortunately I can't commit here at work and I'll have to
do this this eavening.
Chris
________________________________________
Von: piotr.zarzycki [[email protected]]
Gesendet: Montag, 4. November 2013 15:07
An: [email protected]
Betreff: Re: AW: Updated Mavenizer
Hi Christofer,
I'm getting exception when i try to generate FDK.
Exception in thread "main" java.lang.NoSuchMethodError:
java.lang.Integer.compare(II)I
at common.ConversionPlan$1.compare(ConversionPlan.java:29)
at common.ConversionPlan$1.compare(ConversionPlan.java:16)
at java.util.TreeMap.getEntryUsingComparator(Unknown Source)
at java.util.TreeMap.getEntry(Unknown Source)
at java.util.TreeMap.containsKey(Unknown Source)
at java.util.TreeSet.contains(Unknown Source)
at common.ConversionPlan.addVersion(ConversionPlan.java:38)
at SDKGenerator.buildAirConversionPlan(SDKGenerator.java:49)
at SDKGenerator.main(SDKGenerator.java:156)
-----
Flex/Air developer open to new job offers and challenges.
[email protected]
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/Updated-Mavenizer-tp31841p31882.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.