Comment on GettingStarted in playn

306 views
Skip to first unread message

pl...@googlecode.com

unread,
Sep 25, 2011, 7:18:25 PM9/25/11
to playn-...@googlegroups.com
Comment by alexey.s...@gmail.com:

_*It's awesome!* Just a day before I was thinking what technologies to use
to build my facebook + flash game portal + android game. I have the answer
now and it's better than I could even imagine! *Thank you a lot for the
kick-ass game technology!*

For more information:
http://code.google.com/p/playn/wiki/GettingStarted

pl...@googlecode.com

unread,
Sep 30, 2011, 3:57:02 AM9/30/11
to playn-...@googlegroups.com
Comment by par.ekl...@gmail.com:

Great work!

There was one build failure though when compiling the PlayN Showcase Flash
project.

Apparently, the gwt-maven-plugin runs out of heap memory (most easily seen
by copying the generated command-line and running it "by hand").

My recommended solution is to change playn/sample/showcase/flash/pom.xml as
follows:

Prepend ${env.JAVA_OPTS} to the current extraJvmArgs value in the
gwt-maven-plugin configuration (line 100). (Or possibly use a static value
to avoid the environment dependence)

Environment used:

Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Java version: 1.6.0_13, vendor: Sun Microsystems Inc.
Default locale: sv_SE, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

pl...@googlecode.com

unread,
Sep 30, 2011, 5:30:34 AM9/30/11
to playn-...@googlegroups.com
Comment by par.ekl...@gmail.com:

Also, in Eclipse I get this error for every web-based project:

WAR source directory /playn-cute-html/src/main/webapp is missing
playn-cute-html Unknown Google Web App Problem

On closer inspection, Google Web Application settings for the project use
src/main/webapp as WAR directory, not war (as should be the case given your
current directory layout).

My guess is that the Google Eclipse plugin does not catch the non-standard
setting of the war directory location in the pom.xml for the project:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<webXml>war/WEB-INF/web.xml</webXml>
<warSourceDirectory>war</warSourceDirectory>
</configuration>
</plugin>

but instead, erroneously, uses the conventional location which does not
exist.

Am I missing something or is this correctly observed? If the latter, could
you please fix this? In general, using a directory layout as per Maven's
conventions would be the most desirable solution, but I guess there are
internal reasons for not doing so.

pl...@googlecode.com

unread,
Sep 30, 2011, 5:34:46 AM9/30/11
to playn-...@googlegroups.com
Comment by par.ekl...@gmail.com:

Oh, and I added the webXml element in the maven-war-plugin configuration.
Including/excluding it has no effect on the error. *Just to avoid confusion*

pl...@googlecode.com

unread,
Oct 1, 2011, 6:11:53 PM10/1/11
to playn-...@googlegroups.com
Comment by vkr...@gmail.com:

I am getting this error below doing 'right click on playn-project in the
Package Explorer and select Run as → Maven install. This will build PlayN
and install it into your local Maven repository.' Anyone have any ideas how
to fix it?>

[ERROR] Failed to execute goal on project playn-core: Could not resolve
dependencies for project com.googlecode.playn:playn-core:jar:1.0-SNAPSHOT:
Could not find artifact com.sun:tools:jar:1.6 at specified path C:\Program
Files (x86)\Java\jre6\..\lib\tools.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :playn-core

pl...@googlecode.com

unread,
Oct 3, 2011, 5:18:25 PM10/3/11
to playn-...@googlegroups.com
Comment by Davidraf...@gmail.com:

I got an error while building playn, using 'ant install' in the playn
directory:

{{{
/home/david/src/playn/build.xml:35: The following error occurred while
executing this line:
/home/david/src/playn/etc/build-common.xml:66: Test playn.tests.AssertsTest
failed
}}}

I just pulled from the git repository, so it's the most recent version
available.

pl...@googlecode.com

unread,
Oct 3, 2011, 6:33:07 PM10/3/11
to playn-...@googlegroups.com
Comment by charlie....@gmail.com:

David: The playn tests expect assertions to be enabled in your JVM, which I
think most people have accomplished by adding -ea to their ANT_OPTS. Rather
than adding that to the docs, I just pushed a change to the ant build that
turns on assertions for junit. If you pull again, this should be fixed.

pl...@googlecode.com

unread,
Oct 4, 2011, 9:42:32 AM10/4/11
to playn-...@googlegroups.com
Comment by Davidraf...@gmail.com:

I don't have much experience with ant, but pulling the latest build fixed
it. I managed to build and run the samples. However, from what I read in
the Guide, it seems that using Maven is recommended, so I will stop using
ant.

Thank you very much! Time to start exploring playn now.

pl...@googlecode.com

unread,
Oct 7, 2011, 3:47:22 PM10/7/11
to playn-...@googlegroups.com
Comment by nick.heiner:

How can I run the HTML5 from Eclipse? I have the project set up (using
Maven), but I'm not sure how to actually make it work. Could you update the
wiki with instructions on how to do this?

Thanks.

pl...@googlecode.com

unread,
Oct 14, 2011, 4:52:10 PM10/14/11
to playn-...@googlegroups.com
Comment by Davidraf...@gmail.com:

Failed to execute goal
com.jayway.maven.plugins.android.generation2:maven-android-plugin:3.0.0-alpha-2:apk
(default-apk) on project playn-showcase-android: Could not copy native
dependency.
Source '/home/david/src/playn/sample/showcase/android/target/libs' and
destination '/home/david/src/playn/sample/showcase/android/target/libs' are
the same

I can actually build playn with Maven once, but the second time it never
works because of the above error.

pl...@googlecode.com

unread,
Oct 18, 2011, 6:20:04 AM10/18/11
to playn-...@googlegroups.com
Comment by mrudhaya...@gmail.com:

its showing artifact missing tools:1.6 error and an error in first line in
pom.xml file please clear this issue its happening in eclipse only

pl...@googlecode.com

unread,
Oct 18, 2011, 6:24:05 AM10/18/11
to playn-...@googlegroups.com
Comment by mrudhaya...@gmail.com:

Hi all,
i am getting artifact missing:tools:1.6, and error in all the pom
files this is happening in eclipse only please provide me a solution.... . .

pl...@googlecode.com

unread,
Oct 22, 2011, 1:54:03 AM10/22/11
to playn-...@googlegroups.com
Comment by m.bharat...@gmail.com:

@mrudhaya..
your eclipse installation must be pointing to standalone jre instead of jdk.
change it to jdk by Window>Preferences>Java>Installed JRE's
Click Add and point it to jdk installation folder. It is under
programFiles\Java if in windows.
That should fix your problem

pl...@googlecode.com

unread,
Oct 23, 2011, 10:09:57 AM10/23/11
to playn-...@googlegroups.com
Comment by eurigjo...@gmail.com:

@m.bharat. I have the same problem, and specifying the JDK does not fix the
problem.

pl...@googlecode.com

unread,
Oct 24, 2011, 12:09:29 PM10/24/11
to playn-...@googlegroups.com
Comment by alex.j.m...@gmail.com:

@eurigjo & @m.bharat aye specifying the jdk in eclipse doesn't work (well
it didn't for me). In the eclipse.ini file (in your eclipse folder) add
the lines:

-vm
C:/Program Files/Java/jdk1.6.0_16/bin/javaw.exe

{putting in your own path for the jdk}

pl...@googlecode.com

unread,
Oct 24, 2011, 12:13:36 PM10/24/11
to playn-...@googlegroups.com

pl...@googlecode.com

unread,
Oct 24, 2011, 12:26:21 PM10/24/11
to playn-...@googlegroups.com
Comment by alex.j.m...@gmail.com:

How do I overcome this error when I try to do a maven-install of playn-cute
(I get the same thing when I do it on playn-project)?


[INFO]
------------------------------------------------------------------------
[INFO] Building PlayN Cute Flash 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:unpack (unpack) @ playn-cute-flash
---
[INFO] Configured Artifact: com.adobe.flex:flex-sdk:4.1.0.16076_mpl:zip
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
Downloading:
http://forplay.googlecode.com/svn/mavenrepo/com/adobe/flex/flex-sdk/4.1.0.16076_mpl/flex-sdk-4.1.0.16076_mpl.zip
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PlayN Cute Metaproject ............................ SUCCESS [0.625s]
[INFO] PlayN Cute Core ................................... SUCCESS [5.781s]
[INFO] PlayN Cute HTML ................................... SUCCESS [54.125s]
[INFO] PlayN Cute Flash .................................. FAILURE
[23:58.047s]
[INFO] PlayN Cute Android ................................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 25:01.422s
[INFO] Finished at: Mon Oct 24 17:20:07 BST 2011
[INFO] Final Memory: 9M/17M
[INFO]
------------------------------------------------------------------------


[ERROR] Failed to execute goal

org.apache.maven.plugins:maven-dependency-plugin:2.1:unpack (unpack) on
project playn-cute-flash: Unable to resolve artifact. Could not transfer
artifact com.adobe.flex:flex-sdk:zip:4.1.0.16076_mpl from/to forplay-legacy
(http://forplay.googlecode.com/svn/mavenrepo): No response received after
60000
[ERROR] com.adobe.flex:flex-sdk:zip:4.1.0.16076_mpl
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] forplay-legacy (http://forplay.googlecode.com/svn/mavenrepo,
releases=true, snapshots=true),
[ERROR] central (http://repo1.maven.org/maven2, releases=true,
snapshots=false)
[ERROR] -> [Help 1]


[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR] mvn <goals> -rf :playn-cute-flash

pl...@googlecode.com

unread,
Oct 24, 2011, 12:30:23 PM10/24/11
to playn-...@googlegroups.com

pl...@googlecode.com

unread,
Oct 24, 2011, 1:41:47 PM10/24/11
to playn-...@googlegroups.com
Comment by samskiv...@gmail.com:

Please post trouble shooting questions to
http://stackoverflow.com/questions/tagged/playn

pl...@googlecode.com

unread,
Nov 1, 2011, 7:48:10 AM11/1/11
to playn-...@googlegroups.com
Comment by sangohan...@gmail.com:

Just in case anyone else had problems getting the mvn archetype working,
here is what worked for me. Install playn by checking out the source, and
running either ant or mvn as instructed. Then

`>mvn -DarchetypeGroupId=com.googlecode.playn
-DarchetypeArtifactId=playn-archetype -DarchetypeVersion=1.0-SNAPSHOT
org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate`

pl...@googlecode.com

unread,
Nov 8, 2011, 2:37:32 PM11/8/11
to playn-...@googlegroups.com
Comment by lars...@gmail.com:

In the section on setting up Eclipse, you should change the order of the
Android and Google plugins. The Google plugins (if you install all packages
at least) depends on the ADT being installed first.

pl...@googlecode.com

unread,
Nov 14, 2011, 11:56:42 AM11/14/11
to playn-...@googlegroups.com
Comment by prageeth...@gmail.com:

I was looking around to get a version of creating the skeleton project via
Ant, but couldn't find any.
Hence I created my own port from the given mavern skeleton project creation.

http://ez-playn.googlecode.com/files/playn-ant-project-creation.zip

pl...@googlecode.com

unread,
Dec 22, 2011, 2:50:07 PM12/22/11
to playn-...@googlegroups.com
Comment by danielmg...@gmail.com:

The "Generating a skeleton project with Eclipse" section says nothing about
adding/selecting an archetype... as someone new to Maven, I'm confused. I
selected "nexus" configuration. Selected the latest version of playn I
could see 1.0.3 and clicked next.
I have no idea if this is/isn't correct and whether it will bite me in the
ass later.

pl...@googlecode.com

unread,
Dec 22, 2011, 4:03:51 PM12/22/11
to playn-...@googlegroups.com
Comment by fre...@google.com:

I clarified the Eclipse instructions

pl...@googlecode.com

unread,
Dec 25, 2011, 8:02:26 PM12/25/11
to playn-...@googlegroups.com
Comment by ivan.kuc...@gmail.com:

I think I followed all the instructions for installing it with Eclipse, but
I don't have "playn.*" namespace available. I just write import playn. and
it says "this compilation unit is not in the build path...". What should I
do?

pl...@googlecode.com

unread,
Jan 2, 2012, 3:44:17 PM1/2/12
to playn-...@googlegroups.com
Comment by Hirsi...@gmail.com:

+1 @ "Note: Instructions for testing the Android backend from Eclipse are
forthcoming."

I can't even get the thing to deploy by command line to my nexus s

pl...@googlecode.com

unread,
Jan 2, 2012, 3:48:19 PM1/2/12
to playn-...@googlegroups.com
Comment by Hirsi...@gmail.com:

+1 @ "Note: Instructions for testing the Android backend from Eclipse are

forthcoming." - I'm desperately waiting for this!

I can't get it to deploy with maven either... it compiles but can't deploy
it

pl...@googlecode.com

unread,
Jan 2, 2012, 4:01:30 PM1/2/12
to playn-...@googlegroups.com
Comment by exnix....@gmail.com:

HTTP ERROR: 404
RequestURI=/HelloGame.html

no one game is working through "web application" . whats wrong ??

pl...@googlecode.com

unread,
Jan 12, 2012, 10:55:33 AM1/12/12
to playn-...@googlegroups.com
Comment by edward.b...@gmail.com:

This install procedure is a car wreck. A messy one. There is no way people
will use PlayN with this level of complexity just to install it.

I'm fairly experienced with Eclipse and I can't get it to work. I get stuff
like this:
Could not calculate build plan: Error resolving version for
plugin 'org.apache.maven.plugins:maven-resources-plugin' from the
repositories [local (C:\Users\XYZ\.m2\repository), codehaus.snapshots
(http://snapshots.repository.codehaus.org/), central
(http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository

..and a ton more stuff. Not good, and no amount of Googling has helped, so
I am stuck. Can anyone help?

pl...@googlecode.com

unread,
Jan 19, 2012, 12:54:18 PM1/19/12
to playn-...@googlegroups.com

pl...@googlecode.com

unread,
Jan 26, 2012, 4:57:44 PM1/26/12
to playn-...@googlegroups.com
Comment by johsh...@gmail.com:

I'm following the instructions from _Generating a skeleton project with
Eclipse_ and onwards to _Running your new game on App Engine_. It works
well until the point of running `mvn gae:unpack`. Then I get the following
error message:

Could not find goal 'unpack' in plugin
org.codehaus.mojo:google-app-engine-maven-plugin:1.0-SNAPSHOT among
available goals requestLogs, run, update, updateIndexes, setup, check,
help, rollback, enhance

Any ideas how to fix that?

pl...@googlecode.com

unread,
Jan 26, 2012, 5:46:10 PM1/26/12
to playn-...@googlegroups.com
Comment by matthew....@gmail.com:

@joh I ran into the same issue. I had to modify the following plugin
entry as follows:

{{{
<build>
...
<plugin>
<groupId>net.kindleit</groupId>
<artifactId>maven-gae-plugin</artifactId>
<version>0.9.2</version>
<executions>
<execution>
<id />
<phase>validate</phase>
<goals>
<goal>unpack</goal>
</goals>
</execution>
</executions>
<dependencies>
<!--
Declare explicit dependency on gae-runtime here,
so we can specify the App Engine SDK version
-->
<dependency>
<groupId>net.kindleit</groupId>
<artifactId>gae-runtime</artifactId>
<version>${gae.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
...
</build>
}}}

And then I had to add some info to make m2e happy, as follows:

{{{
<build>
...
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e
settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>net.kindleit</groupId>
<artifactId>maven-gae-plugin</artifactId>
<versionRange>[0.9.2,)</versionRange>
<goals>
<goal>unpack</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
}}}

After that, gae:unpack ran just fine...

pl...@googlecode.com

unread,
Jan 26, 2012, 6:55:54 PM1/26/12
to playn-...@googlegroups.com
Comment by johsh...@gmail.com:

Thanks, random person on the internet! :) That certainly helps. Running
`mvn gae:run` doesn't work still, not sure why yet. This certainly is an
uphill battle. Thanks for the help, though.

pl...@googlecode.com

unread,
Jan 26, 2012, 9:44:55 PM1/26/12
to playn-...@googlegroups.com
Comment by matthew....@gmail.com:

Quick question -- did you add the changes above to the top level pom.xml or
to html/pom.xml?

pl...@googlecode.com

unread,
Jan 26, 2012, 9:48:57 PM1/26/12
to playn-...@googlegroups.com
Comment by matthew....@gmail.com:

@joh If you can submit a question with a detailed description of the
problem (i.e. maven output, etc.) at
http://stackoverflow.com/questions/tagged/playn, it's highly likely that
someone will be able to help you :)

pl...@googlecode.com

unread,
Jan 31, 2012, 10:04:31 AM1/31/12
to playn-...@googlegroups.com
Comment by leonardo...@gmail.com:

I am DeathSpank, hero of the downtroden!

pl...@googlecode.com

unread,
Feb 11, 2012, 1:57:20 PM2/11/12
to playn-...@googlegroups.com
Comment by gamedesi...@gmail.com:

Im the new kid... Where can I find API Documentation? Tutorials, etc...
Thank You

pl...@googlecode.com

unread,
Feb 17, 2012, 4:52:10 PM2/17/12
to playn-...@googlegroups.com
Comment by kritt...@gmail.com:

HI, I'm new to this.. can I get help please?
I'm not able to run as Java Application.

Right click on playn-showcase-java in the Package Explorer
Select Run as →

There is no Java App to select from. Any idea? Thanks a lot!!

pl...@googlecode.com

unread,
Feb 19, 2012, 5:31:46 PM2/19/12
to playn-...@googlegroups.com
Comment by bed...@yahoo.com:

TL;DR isn't working for me:
The POM for com.threerings:tripleplay:jar:1.1-SNAPSHOT is missing, no
dependency information available

Failed to execute goal on project playn-showcase-core: Could not resolve
dependencies for project
com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT: Could not find
artifact com.threerings:tripleplay:jar:1.1-SNAPSHOT in forplay-legacy
(http://forplay.googlecode.com/svn/mavenrepo)

pl...@googlecode.com

unread,
Feb 20, 2012, 6:31:37 PM2/20/12
to playn-...@googlegroups.com
Comment by Yoav.Zibin:

I have a similar error when I run:
mvn clean package
mvn -f android/pom.xml android:deploy

[ERROR] Failed to execute goal on project playn-showcase-android: Could not
reso
lve dependencies for project
com.googlecode.playn:playn-showcase-android:apk:1.0
-SNAPSHOT: Failure to find
com.googlecode.playn:playn-showcase-core:jar:1.0-SNAP
SHOT in http://forplay.googlecode.com/svn/mavenrepo was cached in the local
repo
sitory, resolution will not be reattempted until the update interval of
forplay-
legacy has elapsed or updates are forced -> [Help 1]

pl...@googlecode.com

unread,
Feb 20, 2012, 6:45:41 PM2/20/12
to playn-...@googlegroups.com
Comment by samskiv...@gmail.com:

Hrm. Unfortunately it seems that you have to do "mvn clean install" at
least once, then you can just use "mvn clean package" after that.

pl...@googlecode.com

unread,
Feb 20, 2012, 7:28:17 PM2/20/12
to playn-...@googlegroups.com
Comment by Yoav.Zibin:

I also can't GWT compile:
When I'm doing:
1) Right click on playn-showcase-html in the Package Explorer
2) Select Google → GWT Compile
It says:
playn-showcase-html is not a GWT project

pl...@googlecode.com

unread,
Feb 20, 2012, 10:27:21 PM2/20/12
to playn-...@googlegroups.com
Comment by kritt...@gmail.com:

I get the same problem as Yoav.Zibin,I get playn-showcase-html is not a
GWT project
Any idea?

pl...@googlecode.com

unread,
Feb 25, 2012, 3:16:22 AM2/25/12
to playn-...@googlegroups.com
Comment by Avi.Yaf...@gmail.com:

I saw that there is IOS support, anyone here managed to compile it to IOS.

I have manged to create a game and it is in the market
(https://market.android.com/details?id=com.idrosh.games.android.free&feature),

but i couldn't see how I can also support the IOS.

Thanks, Avi Yafe

pl...@googlecode.com

unread,
Feb 29, 2012, 4:21:31 AM2/29/12
to playn-...@googlegroups.com
Comment by swati...@gmail.com:

getting following error for playn-showcase project build
==================================================================================================
Failed to execute goal on project playn-showcase-java: Could not resolve
dependencies for project
com.googlecode.playn:playn-showcase-java:jar:1.0-SNAPSHOT: Failure to find
jlayer:mp3spi:jar:1.9.5 in
https://ec2-ncisfb-build01.sng.ubi.com/nexus/content/groups/public was
cached in the local repository, resolution will not be reattempted until
the update interval of Nexus has elapsed or updates are forced -> [Help 1]
====================================================================================================

Also when I compile and Run playn-showcase-html project, and browse it, on
clicking any demo link, getting errors:
====================================================================================================
(UnknownFileName:-1) 2012-02-29 14:37:44,252 [FATAL] Uncaught JavaScript
exception [uncaught exception: java.lang.IllegalArgumentException] in ,
line 0


==============================================================================================

Please help.

Thanks

pl...@googlecode.com

unread,
Mar 6, 2012, 5:24:16 PM3/6/12
to playn-...@googlegroups.com
Comment by bradle...@gmail.com:

Instructions for running HTML5 app from Eclipse appear to be incomplete. Do
I need to set up a server for that?

http://stackoverflow.com/questions/8275867/playn-html5-wont-run-from-eclipse

pl...@googlecode.com

unread,
Mar 6, 2012, 5:28:18 PM3/6/12
to playn-...@googlegroups.com
Comment by bradle...@gmail.com:

Instructions for running HTML app from Eclipse appear to be incomplete. Do

pl...@googlecode.com

unread,
Mar 14, 2012, 7:37:54 PM3/14/12
to playn-...@googlegroups.com
Comment by yasith.vidanaarachchi:

Whenever I type a .(dot) or try auto completion, Eclipse gives me an error.

"The compilation Unit is not on the build path of a Java Project"

I saw somewhere about a suggested VM image for the build system, something
like that would make it very easy for beginners like me to get started.

Thank you!
Yasith

pl...@googlecode.com

unread,
Mar 30, 2012, 12:10:01 PM3/30/12
to playn-...@googlegroups.com
Comment by obrien....@gmail.com:

Awesome, followed instructions and even got the sample showcase project to
publish to appengine.

AppEngine setup for me on Eclipse Indigo
http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven#Eclipse_Indigo_Java_IDE_(_not_Java_EE)

pl...@googlecode.com

unread,
Mar 30, 2012, 6:46:14 PM3/30/12
to playn-...@googlegroups.com
Comment by neokab...@gmail.com:

For everyone getting the error "Could not resolve dependencies for project
com.googlecode.playn:playn-showcase-java" in Eclipse, you can run the
project successfully by choosing to run it as a "Java Application", and
choose the class "ShowcaseJava".

pl...@googlecode.com

unread,
Apr 7, 2012, 6:11:32 PM4/7/12
to playn-...@googlegroups.com
Comment by johnsm...@anastasei.co.uk:

I'm starting to think that making separate native versions of a game will
actually be easier and less time-consuming than trying to get this to work.

pl...@googlecode.com

unread,
Apr 9, 2012, 5:22:30 AM4/9/12
to playn-...@googlegroups.com
Comment by gutterp...@gmail.com:

The Eclipse section could really benefit from an additional step :
Installing EGIT, pulling the PlayN source and selecting the pom.xml type to
install the archetype...

pl...@googlecode.com

unread,
Apr 17, 2012, 5:32:37 PM4/17/12
to playn-...@googlegroups.com
Comment by kritt...@gmail.com:

A side note : GWT Developer plugin doesn't support Firefox 11

pl...@googlecode.com

unread,
Apr 24, 2012, 8:25:24 AM4/24/12
to playn-...@googlegroups.com
Comment by n.bello...@gmail.com:

I was able to deploy sample apps to android device:
mvn eclipse:eclipse

followed by:
cd playn-samples/showcase
mvn clean install -pl core,android


mvn -f android/pom.xml android:deploy

This way I don't get the following problem anymore:

getting following error for playn-showcase project build

Failed to execute goal on project playn-showcase-java: Could not resolve
dependencies for project

com.googlecode.playn:playn-showcase-java:jar:1.0-SNAPSHOT: Failure to find
jlayer:mp3spi:jar:1.9.5 in
https://ec2-ncisfb-build01.sng.ubi.com/nexus/content/groups/public was
cached in the local repository, resolution will not be reattempted until

the update interval of Nexus has elapsed or updates are forced -> 1?

Also when I compile and Run playn-showcase-html project, and browse it, on
clicking any demo link, getting errors:

(UnknownFileName?:-1) 2012-02-29 14:37:44,252 FATAL? Uncaught JavaScript?
exception exception: java.lang.IllegalArgumentException? in , line 0

pl...@googlecode.com

unread,
May 26, 2012, 10:47:17 AM5/26/12
to playn-...@googlegroups.com
Comment by fouad2...@gmail.com:

No success :( tried both ubuntu 12.04 64bit and windows 7 64bit with
eclipse indigo classic and eclipse indigo EE...

pl...@googlecode.com

unread,
May 28, 2012, 8:55:44 PM5/28/12
to playn-...@googlegroups.com
Comment by ilopez...@gmail.com:

I can´t see the HTML showcase, I got this:
[WARNING] The requested profile "html" could not be activated because it
does not exist.

pl...@googlecode.com

unread,
Jul 3, 2012, 4:20:52 PM7/3/12
to playn-...@googlegroups.com
Comment by glenn...@gmail.com:

Rrrrrrhhh. Can't get PlayN working with eclipse. Followed directions a
million times. Won't create a skeleton PlayN project in Eclipse. Tried
http://stackoverflow.com/questions/tagged/playn no help! Is PlayN dead?

pl...@googlecode.com

unread,
Jul 6, 2012, 4:37:45 PM7/6/12
to playn-...@googlegroups.com
Comment by glenn...@gmail.com:

I found the easiest way to get started using PlayN was to follow this setup
guide
http://www.gamefromscratch.com/post/2012/05/24/Using-Netbeans-712-with-PlayN-13.aspx

pl...@googlecode.com

unread,
Jul 18, 2012, 10:21:50 AM7/18/12
to playn-...@googlegroups.com
Comment by badma...@gmail.com:

Probably type error :
Code snippet running showcase in maven says:

// cd playn-samples/showcase
// mvn test

While the tutorial of eclipse points out to showcase-java !!!
Running showcase in eclipse works great btw!!!

pl...@googlecode.com

unread,
Jul 27, 2012, 10:26:10 AM7/27/12
to playn-...@googlegroups.com
Comment by ezequiel...@gmail.com:

Instructions on section "Running the imported samples" doesn't seem to be
working correctly.

Right clicking on playn-showcase-html and running from there makes maven
try and fail to download
https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.pom

Solution is running from playn-showcase and setting html under Profiles
(see
http://stackoverflow.com/questions/10992066/i-cant-seem-to-run-playn-showcase-android-in-eclipse
)

pl...@googlecode.com

unread,
Aug 18, 2012, 3:53:37 PM8/18/12
to playn-...@googlegroups.com
Comment by michiel....@gmail.com:

I must use "mvn -Pjava test" to get the JVM to start. Just "mvn test" does
not conclude in showing me the showcase. (Fedora17, Java 1.7, Maven 3.0.4)

pl...@googlecode.com

unread,
Dec 6, 2012, 2:18:58 PM12/6/12
to playn-...@googlegroups.com
Comment by mkaba...@gmail.com:

Hello,

When I try to create a skeleton project in Eclipse I always get the
following error"

"Unable to create project from archetype
[com.googlecode.playn:playn-archetype:1.5]
The defined artifact is not an archetype"

Does anyone know how to fix this?

pl...@googlecode.com

unread,
Dec 23, 2012, 2:33:27 PM12/23/12
to playn-...@googlegroups.com
Comment by bosun...@gmail.com:

I am getting same error as mkaba

Unable to create project from archetype
[com.googlecode.playn:playn-archetype:1.5]

Help!

pl...@googlecode.com

unread,
Jan 3, 2013, 9:27:29 AM1/3/13
to playn-...@googlegroups.com
Comment by AnDan...@gmail.com:

How I go to google play

pl...@googlecode.com

unread,
Jan 4, 2013, 6:28:26 AM1/4/13
to playn-...@googlegroups.com
Comment by Glaciere...@gmail.com:

Thanks for making the getting started infinitely easier.
Got up and running in a couple of minutes.

pl...@googlecode.com

unread,
Jan 27, 2013, 10:06:33 AM1/27/13
to playn-...@googlegroups.com
Comment by heman...@nesorance.com:

Hi How can I use playn with my existing Gwt web application

pl...@googlecode.com

unread,
Jan 27, 2013, 10:08:13 AM1/27/13
to playn-...@googlegroups.com
Comment by heman...@nesorance.com:

Hi Can anyone tell me the steps to include the playn library with my
existing GWT webapplication in netbeans.

* My GWT webapplication is not mavenized

pl...@googlecode.com

unread,
Feb 3, 2013, 6:07:58 AM2/3/13
to playn-...@googlegroups.com
Comment by tdne...@gmail.com:

I could not start a new PlayN Maven project due to following error msg:
Failed to execute goal on project playn-showcase-android: Could not resolve
dependencies for project
com.googlecode.playn:playn-showcase-android:apk:1.0-SNAPSHOT: Failure to
find com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT in
http://forplay.googlecode.com/svn/mavenrepo was cached in the local
repository, resolution will not be reattempted until the update interval of
forplay-legacy has elapsed or updates are forced -> [Help 1]

For more information:
https://code.google.com/p/playn/wiki/GettingStarted

pl...@googlecode.com

unread,
Feb 8, 2013, 5:53:03 PM2/8/13
to playn-...@googlegroups.com
Comment by jessica....@gmail.com:

To td...@gmail.com, try to do "mvn -U" to force the update

pl...@googlecode.com

unread,
Apr 15, 2013, 1:25:19 AM4/15/13
to playn-...@googlegroups.com
Comment by rfab...@gmail.com:

Shouldn't the archetype version be updated to 1.6 now?
regards,
R.

pl...@googlecode.com

unread,
May 6, 2013, 10:53:26 PM5/6/13
to playn-...@googlegroups.com
Comment by coolbarb...@gmail.com:

hi mkaba,dec6,2012. Make a project using cmd prompt. that solved it for me.

pl...@googlecode.com

unread,
May 7, 2013, 11:24:51 AM5/7/13
to playn-...@googlegroups.com
Comment by ipods...@126.com:

Getting started guide

Source(s): http://www.downloadranking.com/privacypolicy.php

pl...@googlecode.com

unread,
Jun 19, 2013, 10:32:37 AM6/19/13
to playn-...@googlegroups.com

pl...@googlecode.com

unread,
Jun 22, 2013, 11:12:02 AM6/22/13
to playn-...@googlegroups.com
Comment by ton...@gmail.com:

i can run showcase as cmd line mode.

but run failed in eclipse.

i have import showcase-core,showcase-assets and showcase-java into eclipse.
when i run showcase-java as mavean test, it said
that "com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT is
missing" . how to solve this problem?

pl...@googlecode.com

unread,
Aug 13, 2013, 6:14:53 PM8/13/13
to playn-...@googlegroups.com
Comment by seppo.br...@gmail.com:

Hello,
I've tried to create a skeleton project ... but it seams to me that the
playn archetype no longer exists.

(Note: Everytime I've tried to create the skeleton project vie ecplipse, I
was able to select the playn-archetype ... but it seems to me, that it
doesn't exist)

Pls find below what command i've entered and the response i've got.


D:\development\maven\apache-maven-3.1.0\bin>mvn archetype:generate
-DarchetypeGroupId=com.googlecode.playn
-DarchetypeArtifactId=playn-archetype -DarchetypeVersion=1.7.2 -e

...

[ERROR] No plugin found for prefix 'archetype' in the current project and
in the
plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from
the
repositories [local (C:\Users\jbrunner\.m2\repository), central
(http://repo.mav
en.apache.org/maven2)] -> [Help 1]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin
found
for prefix 'archetype' in the current project and in the plugin groups
[org.apac
he.maven.plugins, org.codehaus.mojo] available from the repositories [local
(C:\
Users\jbrunner\.m2\repository), central
(http://repo.maven.apache.org/maven2)]
at
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.r
esolve(DefaultPluginPrefixResolver.java:93)

pl...@googlecode.com

unread,
Sep 29, 2013, 5:59:33 PM9/29/13
to playn-...@googlegroups.com
Comment by PudnikAt...@gmail.com:

Why do I always get this message when I try to clone something from google
code:
warning: code.google.com certificate with fingerprint
54:a7:34:39:1b:2a:ec:b8:92:68:dc:3a:3e:fe:2b:d3:91:ed:23:1f not verified
(check hostfingerprints or web.cacerts config setting)
abort: HTTP Error 404: Not Found

pl...@googlecode.com

unread,
Mar 27, 2014, 12:12:55 PM3/27/14
to playn-...@googlegroups.com
Comment by wuyan...@gmail.com:

nice...

a sincere blessing from hong kong..

god bless google and the earth..

^__^

pl...@googlecode.com

unread,
Jun 13, 2014, 3:15:28 PM6/13/14
to playn-...@googlegroups.com
Comment by darkfl...@gmail.com:

The setup doesn't seem to work for Flash right now. Has flash been removed
from support?

My eclipse is showing build path problems like;

The container 'Maven Dependencies' references non existing
library 'W:\Users\Tom\.m2\repository\com\googlecode\playn\playn-flash\1.8.5\playn-flash-1.8.5.jar'
playn-cute-flash Build path Build Path Problem

I suspect this is because, from what I can tell, there isnt a
playn-flash-1.8.5.jar
It doesnt exist. At least, no google results for it.

Last version seems 1.8
http://mvnrepository.com/artifact/com.googlecode.playn/playn-flash


So....how do we change this to use 1.8? Is that possible?
If not does flash need to be removed completely?

pl...@googlecode.com

unread,
Oct 23, 2014, 4:42:47 AM10/23/14
to playn-...@googlegroups.com
Comment by juliakim...@gmail.com:

Do you have documentation in Italian language?

volkswagen picture http://www.carasports.com/category/volkswagen/ picture
Reply all
Reply to author
Forward
0 new messages