title: Cloud Foundry : Set Environment Variables via Manifest.yml
body: <p>My question is very simple</p>
  
  <p>Is there any way to set environment variables <strong>via Manifest.yml</strong> *<em>without</em>* running the <em>vmc command set-env [application name] key = value</em>  ??</p>
  
  <p>On Amazon it is possible to do the following using the .ebextension files</p>
  
  <p>*option_settings:
     - Namespace: aws: elasticbeanstalk: container: tomcat: JVMOPTIONS</p>
  
  <p>     option_name: JVM Options</p>
  
  <p>     value: = value-DKEY* </p>
  
  <p>Also I want to set this variable deploying the application from Eclipse without using vmc</p>
  
  <p>MyWar</p>
  
  <p>       src</p>
  
  <p>       Manifest.yml</p>
  
  <p>Or something similar.</p>
  
  <p>I managed to make it through the set-env vmc command, but it is quite uncomfortable when working with Eclipse pluggin so that when you delete or remove the application variables disappear.</p>
  
  <p>So, it would be ideal to set these variables in manifest.yml .... but I cannot get it or do not give the correct syntax.</p>
  
  <p>THANK YOU.</p>