I’m just getting started with Cloud Foundry. So I grabbed Springs samples and compiled hello-spring-mongodb doing “mvn package” and then “vmc push –no-start”. That got me:

Would you like to deploy from the current directory? [Yn]: The input stream is exhausted.
/Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:601:in `get_line'
/Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:622:in `get_response'
/Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:216:in `ask'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/commands/apps.rb:369:in `push'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/runner.rb:426:in `send'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/runner.rb:426:in `run'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/runner.rb:14:in `run'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/bin/vmc:5
/usr/bin/vmc:19:in `load'
/usr/bin/vmc:19

Probably that’s not what it should look like on a Mac, so I’m investigating the cause. Do shout out if you have an idea. I’ll update with my progress.

Update, question posted at http://support.cloudfoundry.com/entries/20072196-beginner-question

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter

  2 Responses to “vmc push’ing Java/Maven/Spring projects”

  1. Hi Niklas,

    Anything new with this issue?
    I’m on Ubuntu with ruby 1.8.7 and got the same problem.

    Cheers,
    Tom~

  2. It was quiet for a while, then other people started asking the same question so I pinged VMWare to have them answer, and they came in with a bit, but I didn’t really feel the question got answered that well, but there came a lot of “me too” questions. So I think this is something they’re working on. Sorry for my late response.

 Leave a Reply

(required)

(required)

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2012 Niklas Saers' blog Suffusion theme by Sayontan Sinha