Creating a new grails project in Maia (10372)

Hello,

In version 8, I can create a new Grails project directly by selecting a "Grails Application" project type.  This seems to have disappeared in version 9.  Is this a configuration issue, bug or feature?

8 comments
Comment actions Permalink

In version 9, if I create a new project "myapp", and then add "groovy et al" to it, I am then presented with a dialogue box which asks if I want to run the grails create-app command.  When I do, I get duplicate folders

/myapp/myapp/normalGrailsFilesHere

Is there any way to prevent this from happening?  Using the "new project" wizard from 8.1, I could simply create a new grails project which would leave me with only a single "myapp" folder.

Am I doing something wrong?

0
Comment actions Permalink

That's strange. Could you describe the creation process in more detail?
What are the modules, source & content roots you create? Could you also
try the latest EAP?

0
Comment actions Permalink

Ok, I have installed the latest EAP (10652).  Here are the steps I am following:

1.  Use the "Create New Project" wizard
2.  On the next menu, choose "Create new project from scratch"
3.  Because there is no "Grails Application" type available to select from (this was available in 8.1), I choose "Java Module" and enter "myapp" as the project name and click "next".
4.  On the next page, I avoid creating a "src" directory and click "next".
5.  On the next page, I select the "Groovy et al" option and click "next"
6.  When the wizard completes, a dialogue box pops up asking if I would like to run the grails create app command.  If I do, I end up with redundant folders:

\myapp\myapp\allTheNormalGrailsFilesHere

Perhaps I will just create my grails app outside of idea and then try importing it.  Any ideas?

0
Comment actions Permalink

I've filed a JIRA issue for itL
http://www.jetbrains.net/jira/browse/IDEADEV-39790. Thank you for your
feedback.

0
Comment actions Permalink

Could you please check the path to module content root at step (3) of creating 'myapp'? Is it 'somepath\myapp' or 'somepath\myapp\myapp'? Thank you.

0
Comment actions Permalink

Next Maia EAP will have this option back. Together with New Griffon
Application.

0
Comment actions Permalink

Peter,

Just stumbled across this article:

http://jetbrains.dzone.com/articles/grails-12-creates-intellij

Apparently, grails 1.2 will generate intellij project files for you.  What are your thoughts on this?

0
Comment actions Permalink

Apparently, grails 1.2 will generate intellij project files for you. What are your thoughts on this?

That's great, what else could I say?

0

Please sign in to leave a comment.