Basic Grails app in 9.0.2?
Attempting to follow the Grails tutorial located at http://www.jetbrains.com/idea/training/demos.html, and am not making very far.
Installed the IDEA 9.0.2 Ultimate edition with 30 day trial, as we are considering using it for our next project.
After selecting a Grails module for new project, what I see deviates from the demo. I get prompted for the GDK location and choose where I have installed Groovy 1.7, rather than in the demo it looks like a should get a drop down.
After that the created package looks nothing like the demo and 'Alt-2' to switch to the Grails view does nothing. Little frustrated just getting out of the gate here. What am I missing?
请先登录再写评论。
The drop-down appears only if you already have some Grails SDKs in your
IDEA. Apparently the person who was making the presentation had them.
What do you see that's not like a demo? Opening Grails View may also be
done via mouse (it's on the left-hand side of the window).
That's a start, I would imagine for doing the tutorial, the min setup needed would be walked through. I thought I added added it, during the 'Add Module' setup, during the 'Please specify Grails SDK' option, I pointed to my Grails installation. No dice. What is the appropriate way to do this? I guess I was under the impression Grails was installed by default.
Where? Under 'View as' in the explorer header, I see Project, Packages, Scope and Favorites. Should I see 'Grails View' in here? Should 'Alt-2' not work?
Tian nella wrote:
>> After selecting a Grails module for new project, what I see deviates from the demo. I get prompted for the GDK location and choose where I have installed Groovy 1.7, rather than in the demo it looks like a should get a drop down.
> I thought I added added it, during the 'Add Module' setup, during the
'Please specify Grails SDK' option, I pointed to my Grails installation.
No dice. What is the appropriate way to do this? I guess I was under the
impression Grails was installed by default.
If you pointed to your Grails installation, that should be enough. Does
the created module have the usual grails-app directory structure? Does
it have a correct JDK configured (you can find that out in Project
Structure dialog).
>> After that the created package looks nothing like the demo and 'Alt-2' to switch to the Grails view does nothing. Little frustrated just getting out of the gate here. What am I missing?
On the left sidebar of the window, there's a thin stripe, where there
are several buttons with vertical text. In demo there are 'Grails',
'Project', 'Web', 'Structure'. You should also have them. Just click on
the 'Grails'.
> Should 'Alt-2' not work?
Alt-2 may work, but unfortunately this depends on the quantity of the
plugins you have installed. Apparently it's different from the one in
the demo.
Just an update, on the thin strip I only have (1: Project) and (2: Structure).
I'll do a complete reinstall and go from there, maybe something quirky happened on install.