Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Deploying Grails App to Micro Cloud Foundry

$
0
0

I'm very new to Cloud Foundry and its local VM the Micro Cloud Foundry, so I'm looking for some guidance on deploying a Grails app to the Micro CloudFoundry (v119) using IDEA 12.1 (IU-128.101).  (I have to say, the info from JetBrains on this topic is a bit sparse.)

 

I downloaded and configured the Micro CloudFoundry.

 

I then created a very simple, single domain class Grails app. It runs fine in Tomcat.

 

I defined a WAR artifact and had IDEA build it.  It's WEB-INF/lib contains the Grails JARs.

 

Finally, I defined a Run config for the Micro Cloud Foundry.

 

However, when I try to run the Micro Cloud Foundry config, I get an error saying "Cannot compile Groovy files: no Groovy library is defined for module "CloudFoundryDemo"

 

So clearly, I don't know what I'm doing. :-)  I just don't know what IDEA  or the Micro Cloud Foundry is expecting me to do to make this all work.

 

Naturally, the folks over at SpringSource have dedicated some time in getting the Eclipse-based SpringSource Tool Suite (STS) to work with VMware's Cloud Foundry as this blog post (and others) reveals: http://blog.springsource.org/2011/04/12/one-step-deployment-with-grails-and-cloud-foundry/

 

However, I really don't want to switch IDEs just to easily deploy my Grails apps.

 

Would someone please take mercy on this Cloud Foundry newbie and offer some guidance?

 

TIA.

 

--

jack


Viewing all articles
Browse latest Browse all 5661

Trending Articles