sonatype / install4j-support

Install4j Support
http://sonatype.github.io/install4j-support/
11 stars 11 forks source link

Expose ability to set additional JVM arguments (via -J) on install4jc process #23

Closed jdillon closed 9 years ago

jdillon commented 9 years ago

Reference:

http://stackoverflow.com/questions/25680587/sockettimeoutexception-during-signing-process

jdillon commented 9 years ago

Added in https://github.com/sonatype/install4j-support/commit/1f800005403dd0df8cafec62502803af96832129 Refined in https://github.com/sonatype/install4j-support/commit/2d9d5c034e56b31403f57386b34d33c834061310

jdillon commented 9 years ago

Now allows:

<jvmArguments>
    <arg>-Dinstall4j.connectTimeout=20000</arg>
    <arg>-Dinstall4j.readTimeout=20000</arg>
</jvmArguments>

Which will result in the ant exec task running:

[DEBUG] Executing '/_pathto/bin/install4jc' with arguments: '_pathto/project.install4j' '-J-Dinstall4j.connectTimeout=20000' '-J-Dinstall4j.readTimeout=20000' ...