title: How pass username/password command line options to jndi grails.naming.entries in Config.grooy
body: <p>I have a jndi entry in Config.groovy like so:</p>
  
  <pre><code>grails.naming.entries = ['jdbc/test_me': [
      type: "javax.sql.DataSource", //required
          auth: "Container", // optional
          description: "Data source for ...", //optional
          //properties for particular type of resource
      url: "jdbc:oracle:thin:@testserver:1521:SID",
      username: "someuser",
      password: "somepassword",
      driverClassName: "oracle.jdbc.driver.OracleDriver",
      maxActive: "8", //and so on
          maxIdle: "4"
      ]
  ]
  </code></pre>
  
  <p>This works fine but I do not want to store the username/password in the Config.groovy source.  Is there a way to pass the credential from command line options, -Duser=someuser -Dpass-somepassword, to grails.naming.entries in Config.groovy?</p>