I tried retrotranslator maven plugin [1]. All the class files were correctly transformed into java 1.3 equivalent. I found, however, that it did not translate enums etc into java 1.3 versions, even though the documentation[2] said it should.
Maybe the retroweaver works better. Best regards Erlend [1]: http://mojo.codehaus.org/retrotranslator-maven-plugin/ [2]: http://retrotranslator.sourceforge.net/ On Sun, May 16, 2010 at 8:11 PM, Fabrizio Giudici < [email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The idea of trying to reuse Java 5 code for JME has been on my mind > for more than one year, but I've never had the time to even seriously > thinking of it. Now it could be the time, as I'd like to try how much > of the Android code I've written so far can be reused in a JME > application (of course, I'm talking of some model classes that are not > depending on the Android API, not the UI). My idea is to use > RetroWeaver to make the code 1.3 compatible (mainly getting rid of > generics) and eventually using the Maven shade plugin to fix some > remainder stuff. Before I start, is there anybody that has tried it, > or has got a pointer? > > Thanks. > > - -- > Fabrizio Giudici - Java Architect, Project Manager > Tidalwave s.a.s. - "We make Java work. Everywhere." > java.net/blog/fabriziogiudici - www.tidalwave.it/people > [email protected] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkvwNV8ACgkQeDweFqgUGxc3OACfTbd/qFce6s7KjBW8mebP9s7/ > NnkAnRM2zVKhUkXXsRPKjjgmd69MeH2f > =OwnQ > -----END PGP SIGNATURE----- > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
