grails / grails-gradle-plugin-archived

142 stars 40 forks source link

GGTS/Eclipse IDE support issue #109

Open jeevatkm opened 10 years ago

jeevatkm commented 10 years ago

I have tried with

gradle grails-intergate-with -PgrailsArgs="--eclipse"

and Using gradle eclispe plugin, just for possibilities

gradle eclipse

still no luck. How to make it happen?

johnrengelman commented 10 years ago

Someone will probably need to add integration with this plugin and Eclipse (just like the current integration with IDEA). I don't use Eclipse, so I think this is a perfect opportunity for someone to contribute the support.

jeevatkm commented 10 years ago

Could you please point me in the direction and provide to details around current IDEA integration? I will give it a try for Eclipse. Since GGTS usage important for me and my team.

johnrengelman commented 10 years ago

Look here: https://github.com/grails/grails-gradle-plugin/blob/master/src/main/groovy/org/grails/gradle/plugin/idea/GrailsIdeaConfigurator.groovy

jeevatkm commented 10 years ago

Thanks, I have forked the plugin and trying build in my macbook pro. Issued a gradle build command

Getting following error:

Execution failed for task ':signArchives'.
> Cannot perform signing task ':signArchives' because it has no configured signatory

Any specific config is needed to sort out this? (something in gradle.properties)

For now I have skipped signArchives task gradle build -x signArchives

johnrengelman commented 10 years ago

That's what you'll need to do. The signArchives is only for publishing the build.

jeevatkm commented 10 years ago

Any idea on this?

I'm always getting null value on grailsVersion and groovyVersion properties. It seems value is not persisted in object instance.

In progress implementation of Eclipse IDE support is here https://github.com/jeevatkm/grails-gradle-plugin/compare/eclipse-ide-support

johnrengelman commented 10 years ago

You'll probably need to use something like project.afterEvaluate to access those values after they have been set in the build file.

jeevatkm commented 10 years ago

Will try this one. thanks!

jeevatkm commented 10 years ago

I'm done with eclipse/ggts ide integration. Planning to begin writing test cases; once test cases is done. I will submit pull request.

In the meantime, can you please have a look https://github.com/jeevatkm/grails-gradle-plugin/compare/eclipse-ggts-ide

johnrengelman commented 10 years ago

It's best if you just create a pull request and i can review that. Then you can keep pushing changes to that branch and the pull request will update automatically.

jeevatkm commented 10 years ago

Okay, pull request is done.