What eclipse project types can be deployed to vcap_dev?

17 views
Skip to first unread message

johnk...@gmail.com

unread,
Jan 31, 2013, 3:40:26 PM1/31/13
to vcap...@cloudfoundry.org
Hi all,

May I ask for some clarification on what sorts of projects can be successfully deployed to vcap_dev please?  What I'd like to deploy is a dynamic web project that includes java and javascript, but that appears to not be allowed.  Is it possible to include javascript/html/css artifacts in a deployed app?  If so, what project type should I use?

Thanks,
John

Scott Frederick

unread,
Feb 4, 2013, 1:12:10 PM2/4/13
to vcap...@cloudfoundry.org, johnk...@gmail.com
John, 

Are you getting errors when trying to deploy your app to your vcap_dev setup? If you can post the details of the errors here, it might help. 

From the title, it looks like you are deploying from the Cloud Foundry plugin for Eclipse. It would be good to verify your vcap_dev setup with the `vmc` command line tool before accessing it through the Eclipse CF plugin. If you target your vcap_dev setup (e.g. `vmc target api.vcap.me`) then you can run some commands to see what your setup *should* support. The commands are slightly different depending on the version of `vmc` you install: 
  • `vmc runtimes` or `vmc info --runtimes` to see what runtimes are supported 
  • `vmc frameworks` or `vmc info --frameworks`  to see what frameworks are supported
From your question, it looks like you want to see the `java` or `java7` runtime, and the `java_web` framework (or maybe `spring` framework if you are using Spring in your Java web app). 

Scott
Reply all
Reply to author
Forward
0 new messages