jruby-maven-plugins icon indicating copy to clipboard operation
jruby-maven-plugins copied to clipboard

How can I pass -Xcext.enabled=true

Open alex-dow opened this issue 11 years ago • 3 comments

I need to add this parameter in order to "support" native C extensions. I understand that JRuby doesn't really play well with C extensions, but there are hard dependencies there that I can not work around even if the project doesn't even use them.

<supportNative>true</supportNative> does nothing it seems. -Xcext.enabled=true does nothing as well.

<jrubySwitches>-Xcext.enabled=true</jrubySwitches> doesn't work either. It gives me the error: [INFO] jruby: invalid extended option cext.enabled=true

<jrubyJvmArgs>-Djruby.cext.enabled=true</jrubyJvmArgs> doesn't work either.

I could keep going but I'm sure we all get the idea ;) It doesn't seem possible with:

            <groupId>de.saumya.mojo</groupId>
            <artifactId>gem-maven-plugin</artifactId>
            <version>1.0.0-beta</version>

To pass this parameter to jruby within maven.

alex-dow avatar May 01 '13 18:05 alex-dow