mathifonseca / grails-version-update

Grails Plugin for updating application version
Apache License 2.0
2 stars 5 forks source link

Script 'VersionUpdate' not found #1

Closed johnlim closed 10 years ago

johnlim commented 10 years ago

Hi,

When I execute grails version-update, I get the following errors

:grails-version-update
Download http://repo.grails.org/grails/repo/org/grails/plugins/version-update/1.2.0/version-update-1.2.0.pom
Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0
Download http://repo.grails.org/grails/repo/org/grails/plugins/version-update/1.2.0/version-update-1.2.0.zip
| Loading Grails 2.3.9
| Configuring classpath
| Running pre-compiled script
 Script 'VersionUpdate' not found, did you mean:
   1) SetVersion
   2) SetGrailsVersion
   3) ListPluginUpdates
   4) CreateFilters
   5) CreateIntegrationTest
> Please make a selection or enter Q to quit: q

Can you please advise accordingly? Thanks.

mathifonseca commented 10 years ago

Hi!

Have you tried to execute ‘grails clean’ and ‘grails compile —refresh-dependencies’ before running the plugin command? Or maybe deleting your target folder? How did you declare your dependency?

Also, I never tried it with Grails 2.3.9. Maybe that has something to do.

Please let me know if that worked.

Mathias

From: John Lim notifications@github.com Reply: mathifonseca/grails-version-update reply@reply.github.com Date: 16 June 2014 at 08:01:45 To: mathifonseca/grails-version-update grails-version-update@noreply.github.com Subject:  [grails-version-update] Script 'VersionUpdate' not found (#1)

Hi,

When I execute grails version-update, I get the following errors

:grails-version-update Download http://repo.grails.org/grails/repo/org/grails/plugins/version-update/1.2.0/version-update-1.2.0.pom Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0 Download http://repo.grails.org/grails/repo/org/grails/plugins/version-update/1.2.0/version-update-1.2.0.zip | Loading Grails 2.3.9 | Configuring classpath | Running pre-compiled script Script 'VersionUpdate' not found, did you mean: 1) SetVersion 2) SetGrailsVersion 3) ListPluginUpdates 4) CreateFilters 5) CreateIntegrationTest

Please make a selection or enter Q to quit: q

Can you please advise accordingly? Thanks.

— Reply to this email directly or view it on GitHub.

mathifonseca commented 10 years ago

please let me know if I can help you in any way

johnlim commented 10 years ago

Hi @mathifonseca, thanks! Sorry, I did not run grails compile initially. Running grails compile first did the trick for me.

Closing the issue since its problem with the user :)

mathifonseca commented 10 years ago

Hi @johnlim! Please feel free to tell me about anything you want to change. I thought I was the only one using this plugin :(

johnlim commented 10 years ago

Hi @mathifonseca, well you're not alone anymore! =) Thanks for the plugin.