properties passed into JRuby cannot contain spaces
--------------------------------------------------
Key: JRUBY-2295
URL: http://jira.codehaus.org/browse/JRUBY-2295
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1RC2
Environment: Windows XP, JRuby-1.1RC2, cygwin
Reporter: John Woodward
Assignee: Thomas E Enebo
I know that there is some support for passing in java properties via jruby
-J-D<propname>=<propvalue>. I'm having an issue, however, with the property
value not being allowed to have spaces.
For example, jruby -J-Dfoo="a b" results in a class not found exception, as
it's looking for class "b".
Am I just missing something, or is there an issue with properties containing
spaces being passed in with this mechanism?
8^(
My true goal in this particular exercise is to have a "package" step occur with
maven, having maven invoke warbler to build the war, passing in the list of
dependent jar files (configured via the maven pom.xml). My thought is to have
maven launch the warbler process via jruby, setting a property to the
${dependencies} (which contains the entire set of dependencies). My warbler
config file can then look up (hopefully) the set of jars and force the
inclusion of the relevant jars in the final war. Of course, if someone has an
alternative approach, I'd love to hear it!
john
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email