-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch for mvn eclipse:eclipse to work #5
Comments
mvn eclipse:eclipse works for me after creating default projects after the plan-archetype Once imported into Eclipse there are two errors in the mygame-html project though:
I don't see those errors if I instead just import the (existing maven) projects into Eclipse directly and let Eclipse create the .classpath, .settings, .project files Have you tried the latest archetype? |
Thanks for the reply. I'm not trying mvn eclipse:eclipse on generated playn Did a mvn eclipse:eclipse on PlayN project itself and it failed me while Cheers On Tue, Dec 6, 2011 at 9:11 AM, fredsa <
|
We don't support using "mvn eclipse:eclipse" to build PlayN itself. You have to use the m2eclipse plugin (which is built into the most recent versions of Eclipse). See http://code.google.com/p/playn/wiki/CheckoutReviewCommit mvn eclipse:eclipse is a primitive approach that doesn't handle all of the complexities needed for the PlayN build and if it isn't already broken, it will be in the future. |
Ok, nice. :-) On Wed, Dec 7, 2011 at 10:22 AM, Michael Bayne <
|
Analytics was only ever implemented on the HTML5 backend and was never going to be implemented meaningfully on any other backend. RegularExpression was Java's regexp on Java/Android and HTML's regexp on HTML5, which are incompatible. Better to leave games to fend for themselves (and do things safely in a per-platform manner) than to pretend that a cross-platform API for something as complex as regexps could possibly exist. If you need consistent cross platform behavior, bundle a pure Java regexp library with your game. If you need high performance, implement exactly what you need, tweaked specifically to work for HTML's regexps and Java's regexps in your own per-backend code. Or if you never plan to run your game in HTML5, then just use java.util.regex.Pattern directly. In theory these should have gone through a deprecation cycle, but they're both so half-assed that no one could possibly have been seriously relying on them.
Hi guys,
I know this is a very trivial patch, but it really helps me to get mvn eclipse:eclipse to work. Currently without the following mvn eclipse:eclipse failed with the following nasty error
Guessing that it got some internal conflict when no maven eclipse plugin is specified. The fix is pretty simple, just add specify a version of maven eclipse plugin in playn/pom.xml would fix it.
If someone could help patch this in that'd be great, else people would have to manually put this in everything they do a git pull which could be rather annoying at times. Cheers
The text was updated successfully, but these errors were encountered: