|
I switched to STS recently and run into strange things. Grails was working fine. I was able to create grails project and run it.
But now the grails disappeared. When I try to create a grails project. File->new-> I just cannot find grails any where from the list. My old grails project still there. But the editor seems not recognizing groovy. For example it does not recognize def. If I got to the dashboard, I can see that groovy and grails support are all still showed installed. Any idea? How to fix it? Thanks |
|
On Wed, Apr 18, 2012 at 8:40 PM, yiguang hu <[hidden email]> wrote:
I switched to STS recently and run into strange things. Grails was working fine. I was able to create grails project and run it. Grails version? STS version? Groovy version? Operating system? You are absolutely certain that you have the groovy and grails plugins installed into STS? We'd need a lot more information about the errors you are seeing in order to even guess at a source of your problem.
|
|
Here are more information: Grails 2.0.1 STS 2.9.1 Groovy 1.8 The problem is: grails wizard is not listed anywhere when I goto File->new, grails is not listed under Other either. So I cannot create a grails project on STS. For existing project, i can still compile without error. But when I open groovy code, it shows println, def as undefined. Grails and groovy are installed for sure. Sent from my iPad
|
|
Hi,
Open the STS 'About SpringSource Toolsuite' dialog. Click on the springsource icon and a list of installed features will appear. Is grails listed there as 'com.springsource.sts.grails' - if so what version? Open the error log (Window>ShowView>ErrorLog) - anything in there to explain why it has been de-activated? Worth raising a jira at the STS issue tracker to pursue this: https://issuetracker.springsource.com/browse/STS cheers, Andy On 19 April 2012 05:08, Yiguang Hu <[hidden email]> wrote: > Here are more information: > Grails 2.0.1 > STS 2.9.1 > Groovy 1.8 > > The problem is: grails wizard is not listed anywhere when I goto File->new, > grails is not listed under Other either. So I cannot create a grails project > on STS. > > For existing project, i can still compile without error. But when I open > groovy code, it shows > println, def as undefined. > > Grails and groovy are installed for sure. > > Sent from my iPad > > On Apr 19, 2012, at 3:11 AM, Samuel Gendler <[hidden email]> > wrote: > > > > On Wed, Apr 18, 2012 at 8:40 PM, yiguang hu <[hidden email]> wrote: >> >> I switched to STS recently and run into strange things. Grails was working >> fine. I was able to create grails project and run it. >> But now the grails disappeared. When I try to create a grails project. >> File->new-> I just cannot find grails any where from the list. >> My old grails project still there. But the editor seems not recognizing >> groovy. For example it does not recognize def. >> If I got to the dashboard, I can see that groovy and grails support are >> all still showed installed. > > > Grails version? STS version? Groovy version? Operating system? You are > absolutely certain that you have the groovy and grails plugins installed > into STS? We'd need a lot more information about the errors you are seeing > in order to even guess at a source of your problem. > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
In reply to this post by yiguang hu
On Thu, Apr 19, 2012 at 5:08 AM, Yiguang Hu <[hidden email]> wrote:
This statement isn't clear. You can have grails and groovy installed on your system, but that isn't sufficient for grails and groovy support in STS. The grails and groovy support for STS are not installed by default and must be added separately. It isn't clear whether you've actually done this or not.
--sam |
|
In reply to this post by Andy Clement
Thanks. On about sts features, version 2.9.1.201203221000-release displayed for com.springsource.sts.grails
From windows->show view-> I didn't see error log I have both groovy and grails installed on environment and sts. I have older app created from command line and imported one of them into Sts. The imported one was also compiled. Does this provide any clue ? Thanks Yiguang Sent from my iPhone On Apr 19, 2012, at 11:07 AM, Andy Clement <[hidden email]> wrote: > Hi, > > Open the STS 'About SpringSource Toolsuite' dialog. Click on the > springsource icon and a list of installed features will appear. Is > grails listed there as 'com.springsource.sts.grails' - if so what > version? > > Open the error log (Window>ShowView>ErrorLog) - anything in there to > explain why it has been de-activated? > > Worth raising a jira at the STS issue tracker to pursue this: > https://issuetracker.springsource.com/browse/STS > > cheers, > Andy > > On 19 April 2012 05:08, Yiguang Hu <[hidden email]> wrote: >> Here are more information: >> Grails 2.0.1 >> STS 2.9.1 >> Groovy 1.8 >> >> The problem is: grails wizard is not listed anywhere when I goto File->new, >> grails is not listed under Other either. So I cannot create a grails project >> on STS. >> >> For existing project, i can still compile without error. But when I open >> groovy code, it shows >> println, def as undefined. >> >> Grails and groovy are installed for sure. >> >> Sent from my iPad >> >> On Apr 19, 2012, at 3:11 AM, Samuel Gendler <[hidden email]> >> wrote: >> >> >> >> On Wed, Apr 18, 2012 at 8:40 PM, yiguang hu <[hidden email]> wrote: >>> >>> I switched to STS recently and run into strange things. Grails was working >>> fine. I was able to create grails project and run it. >>> But now the grails disappeared. When I try to create a grails project. >>> File->new-> I just cannot find grails any where from the list. >>> My old grails project still there. But the editor seems not recognizing >>> groovy. For example it does not recognize def. >>> If I got to the dashboard, I can see that groovy and grails support are >>> all still showed installed. >> >> >> Grails version? STS version? Groovy version? Operating system? You are >> absolutely certain that you have the groovy and grails plugins installed >> into STS? We'd need a lot more information about the errors you are seeing >> in order to even guess at a source of your problem. >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
On 19 April 2012 09:42, Yiguanghu <[hidden email]> wrote:
> Thanks. On about sts features, version 2.9.1.201203221000-release displayed for com.springsource.sts.grails Ok, so you do definetly have the grails stuff installed. > From windows->show view-> I didn't see error log That's strange, I just double checked the path and it should definetly be there. The Error Log tracks all the errors that happen in the background whilst using eclipse. Another way to see some of that information is to look in your workspace .metadata/.log file - that may contain a clue. I'd still recommend raising an STS jira so we can track it. (rather than attaching your full metadata log to a mailing list post). > I have both groovy and grails installed on environment and sts. I have older app created from command line and imported one of them into Sts. The imported one was also compiled. The description of your problem, that you have the Grails tools installed but cannot create a new Grails project (File>New>Grails Project) sounds familiar but I can't immediately find a related jira in our issue tracker. Do you have the grails perspective (Window>Open Perspective>Other...>Grails)? I'd still say raise a jira and we can progress it there. Andy > On Apr 19, 2012, at 11:07 AM, Andy Clement <[hidden email]> wrote: > >> Hi, >> >> Open the STS 'About SpringSource Toolsuite' dialog. Click on the >> springsource icon and a list of installed features will appear. Is >> grails listed there as 'com.springsource.sts.grails' - if so what >> version? >> >> Open the error log (Window>ShowView>ErrorLog) - anything in there to >> explain why it has been de-activated? >> >> Worth raising a jira at the STS issue tracker to pursue this: >> https://issuetracker.springsource.com/browse/STS >> >> cheers, >> Andy >> >> On 19 April 2012 05:08, Yiguang Hu <[hidden email]> wrote: >>> Here are more information: >>> Grails 2.0.1 >>> STS 2.9.1 >>> Groovy 1.8 >>> >>> The problem is: grails wizard is not listed anywhere when I goto File->new, >>> grails is not listed under Other either. So I cannot create a grails project >>> on STS. >>> >>> For existing project, i can still compile without error. But when I open >>> groovy code, it shows >>> println, def as undefined. >>> >>> Grails and groovy are installed for sure. >>> >>> Sent from my iPad >>> >>> On Apr 19, 2012, at 3:11 AM, Samuel Gendler <[hidden email]> >>> wrote: >>> >>> >>> >>> On Wed, Apr 18, 2012 at 8:40 PM, yiguang hu <[hidden email]> wrote: >>>> >>>> I switched to STS recently and run into strange things. Grails was working >>>> fine. I was able to create grails project and run it. >>>> But now the grails disappeared. When I try to create a grails project. >>>> File->new-> I just cannot find grails any where from the list. >>>> My old grails project still there. But the editor seems not recognizing >>>> groovy. For example it does not recognize def. >>>> If I got to the dashboard, I can see that groovy and grails support are >>>> all still showed installed. >>> >>> >>> Grails version? STS version? Groovy version? Operating system? You are >>> absolutely certain that you have the groovy and grails plugins installed >>> into STS? We'd need a lot more information about the errors you are seeing >>> in order to even guess at a source of your problem. >>> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Here is the jira for this issue
https://issuetracker.springsource.com/browse/STS-2586 On Thu, Apr 19, 2012 at 2:53 PM, Andy Clement <[hidden email]> wrote:
|
|
In reply to this post by Andy Clement
19 apr 2012 kl. 20.53 skrev Andy Clement: > On 19 April 2012 09:42, Yiguanghu <[hidden email]> wrote: >> Thanks. On about sts features, version 2.9.1.201203221000-release displayed for com.springsource.sts.grails > > Ok, so you do definetly have the grails stuff installed. > >> From windows->show view-> I didn't see error log > I have to go to windows->show view->Other... and select the Error Log view under General > That's strange, I just double checked the path and it should definetly > be there. The Error Log tracks all the errors that happen in the > background whilst using eclipse. > > Another way to see some of that information is to look in your > workspace .metadata/.log file - that may contain a clue. I'd still > recommend raising an STS jira so we can track it. (rather than > attaching your full metadata log to a mailing list post). > >> I have both groovy and grails installed on environment and sts. I have older app created from command line and imported one of them into Sts. The imported one was also compiled. > > The description of your problem, that you have the Grails tools > installed but cannot create a new Grails project (File>New>Grails > Project) sounds familiar but I can't immediately find a related jira > in our issue tracker. > > Do you have the grails perspective (Window>Open Perspective>Other...>Grails)? > > I'd still say raise a jira and we can progress it there. > > Andy > >> On Apr 19, 2012, at 11:07 AM, Andy Clement <[hidden email]> wrote: >> >>> Hi, >>> >>> Open the STS 'About SpringSource Toolsuite' dialog. Click on the >>> springsource icon and a list of installed features will appear. Is >>> grails listed there as 'com.springsource.sts.grails' - if so what >>> version? >>> >>> Open the error log (Window>ShowView>ErrorLog) - anything in there to >>> explain why it has been de-activated? >>> >>> Worth raising a jira at the STS issue tracker to pursue this: >>> https://issuetracker.springsource.com/browse/STS >>> >>> cheers, >>> Andy >>> >>> On 19 April 2012 05:08, Yiguang Hu <[hidden email]> wrote: >>>> Here are more information: >>>> Grails 2.0.1 >>>> STS 2.9.1 >>>> Groovy 1.8 >>>> >>>> The problem is: grails wizard is not listed anywhere when I goto File->new, >>>> grails is not listed under Other either. So I cannot create a grails project >>>> on STS. >>>> >>>> For existing project, i can still compile without error. But when I open >>>> groovy code, it shows >>>> println, def as undefined. >>>> >>>> Grails and groovy are installed for sure. >>>> >>>> Sent from my iPad >>>> >>>> On Apr 19, 2012, at 3:11 AM, Samuel Gendler <[hidden email]> >>>> wrote: >>>> >>>> >>>> >>>> On Wed, Apr 18, 2012 at 8:40 PM, yiguang hu <[hidden email]> wrote: >>>>> >>>>> I switched to STS recently and run into strange things. Grails was working >>>>> fine. I was able to create grails project and run it. >>>>> But now the grails disappeared. When I try to create a grails project. >>>>> File->new-> I just cannot find grails any where from the list. >>>>> My old grails project still there. But the editor seems not recognizing >>>>> groovy. For example it does not recognize def. >>>>> If I got to the dashboard, I can see that groovy and grails support are >>>>> all still showed installed. >>>> >>>> >>>> Grails version? STS version? Groovy version? Operating system? You are >>>> absolutely certain that you have the groovy and grails plugins installed >>>> into STS? We'd need a lot more information about the errors you are seeing >>>> in order to even guess at a source of your problem. >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > /David ---------------------------------------------------- David Tiselius, Web developer HD Nya Medier +46702844684 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
