Eclipse project configuration with gradlew

421 views
Skip to first unread message

cereal k

unread,
Feb 7, 2012, 4:42:04 AM2/7/12
to gae...@googlegroups.com

Hi everybody :)

I've tried to configure a gaelyk project in eclipse using the gradle script of the template project and always failed. to do this I use the following command: gradlew cleanEclipse eclipse

All the packeges seems correctly downloaded, the .project and .classpath files are created but I always fint this error on the project:

The App Engine SDK 'C:\Users\username\.gradle\caches\artifacts\com.google.appengine\appengine-api-1.0-sdk\c12498cf18507aa6433a94eb7d3e77d5\jars\appengine-api-1.0-sdk-1.6.1.jar' on the project's build path is not valid
(SDK location 'C:\Users\username\.gradle\caches\artifacts\com.google.appengine\appengine-api-1.0-sdk\c12498cf18507aa6433a94eb7d3e77d5\jars\appengine-api-1.0-sdk-1.6.1.jar' is not a directory)

It seems that the appengine SDK is specified uncorrectly in the .classpath/.project files. I've installed eclipse Indigo and the last version of the google plugin for eclipse

How can I fix it?

Guillaume Laforge

unread,
Feb 7, 2012, 4:48:32 AM2/7/12
to gae...@googlegroups.com
Hi,

I'm not an expert in Eclipse (I'm using IntelliJ IDEA), nor am I a strong Gradle guru...
Hopefully someone with more experience in the field than me will jump in here.

That said... what is there in those file paths that are referenced?
Shouldn't "username" be your own user name?

Guillaume

--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com
To show more options: http://groups.google.fr/group/gaelyk?hl=en



--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware


cereal k

unread,
Feb 7, 2012, 4:54:12 AM2/7/12
to gae...@googlegroups.com
Yup!

I modified my username in "username" for privacy reason (this is my "job" computer").

The paths seems to be correct: all the files are palced accordingly to the specified path. 

I've also noticed thet removing two entries in the .classpath file evrything works fine... but I'm not sure why it doesn't work "out of the box".

Thank you for your answer (and for your work on Gaelyk)

Vladimír Oraný

unread,
Feb 8, 2012, 3:00:32 AM2/8/12
to gae...@googlegroups.com
Hi,
please try to add gaelyk-eclipse plugin and tell me if it is better.


There are still a few bugs but it should work better,

Cheers,
Vladimir

cereal k

unread,
Feb 8, 2012, 4:22:04 AM2/8/12
to gae...@googlegroups.com
Thankyou Vladimir,
your plug-in fixed the problem.

I think now that the only thing missing is the update of the template project :)

Saluti
Paolo

2012/2/8 Vladimír Oraný <vladimi...@gmail.com>

--
Reply all
Reply to author
Forward
0 new messages