Skip to content

Commit

Permalink
worker-threads
Browse files Browse the repository at this point in the history
  • Loading branch information
eskatos committed Jun 17, 2017
1 parent 2f12e8e commit 168c136
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'org.codeartisans.gradle'
version = '0.2'
version = '0.3'
ext.pluginId = 'org.codeartisans.gradle.wsdl-tasks'

buildscript {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ private void processWsdl( Wsdl wsdl ) {
public void execute( WorkerConfiguration config ) {
config.setDisplayName( "Import WSDL " + wsdl.getName() + " into " + wsdl.getPackageName() );
config.setParams( wsImportArgumentsFor( wsdl ) );
config.getForkOptions().jvmArgs(
"-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl" );
config.setIsolationMode( IsolationMode.PROCESS );
config.setIsolationMode( IsolationMode.CLASSLOADER );
config.classpath( jaxwsToolsConfiguration.getFiles() );
}
} );
Expand Down
12 changes: 8 additions & 4 deletions sample/asciinema.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
<body>
<table width="100%">
<tr>
<td width="50%"><a target="_blank" href="https://scans.gradle.com/s/732f6mvpa7srs/timeline">javaExec</a></td>
<td width="50%"><a target="_blank" href="https://scans.gradle.com/s/ysqj27bfholw6/timeline">Worker Processes</a></td>
<td width="33%"><a target="_blank" href="https://scans.gradle.com/s/732f6mvpa7srs/timeline">javaExec</a></td>
<td width="33%"><a target="_blank" href="https://scans.gradle.com/s/ysqj27bfholw6/timeline">Worker Processes</a></td>
<td width="33%"><a target="_blank" href="https://scans.gradle.com/s/2vrnowggo7k2k/timeline">Worker Threads</a></td>
</tr>
<tr>
<td width="50%">
<td width="33%">
<script type="text/javascript" src="https://asciinema.org/a/05z1g9wht6pz9104ve7ti480z.js" id="asciicast-05z1g9wht6pz9104ve7ti480z" async data-autoplay="true" data-t="0" data-size="small"></script>
</td>
<td width="50%">
<td width="33%">
<script type="text/javascript" src="https://asciinema.org/a/0usq52077dx6yxp4lzs66wz5c.js" id="asciicast-0usq52077dx6yxp4lzs66wz5c" data-autoplay="true" data-t="0" async data-size="small"></script>
</td>
<td width="33%">
<script type="text/javascript" src="https://asciinema.org/a/cd15q7xtu6mi8h7yz05bje7vr.js" id="asciicast-cd15q7xtu6mi8h7yz05bje7vr" data-autoplay="true" data-t="1" async data-size="small"></script>
</td>
</body>
</html>

2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "com.gradle.build-scan" version "1.8"
id "org.codeartisans.gradle.wsdl-tasks" version "0.2" apply false
id "org.codeartisans.gradle.wsdl-tasks" version "0.3" apply false
}

buildScan {
Expand Down

0 comments on commit 168c136

Please sign in to comment.