cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sea...@apache.org
Subject svn commit: r688102 - in /cxf/trunk/distribution/src/main/release/bin: wsdl2java wsdl2java.bat
Date Fri, 22 Aug 2008 15:45:23 GMT
Author: seanoc
Date: Fri Aug 22 08:45:22 2008
New Revision: 688102

URL: http://svn.apache.org/viewvc?rev=688102&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/CXF-1076
Wsdl2Java out of memory if the wsdl has tons of imports

Modified:
    cxf/trunk/distribution/src/main/release/bin/wsdl2java
    cxf/trunk/distribution/src/main/release/bin/wsdl2java.bat

Modified: cxf/trunk/distribution/src/main/release/bin/wsdl2java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/bin/wsdl2java?rev=688102&r1=688101&r2=688102&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/bin/wsdl2java (original)
+++ cxf/trunk/distribution/src/main/release/bin/wsdl2java Fri Aug 22 08:45:22 2008
@@ -74,7 +74,7 @@
    cxf_classpath=${cxf_jar}:${CLASSPATH}:${sun_tool_path}
 fi
 
-$JAVA_HOME/bin/java -cp "${cxf_classpath}" -Djava.util.logging.config.file=$log_config org.apache.cxf.tools.wsdlto.WSDLToJava
"$@"
+$JAVA_HOME/bin/java -Xmx128M -cp "${cxf_classpath}" -Djava.util.logging.config.file=$log_config
org.apache.cxf.tools.wsdlto.WSDLToJava "$@"
 
 
 

Modified: cxf/trunk/distribution/src/main/release/bin/wsdl2java.bat
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/bin/wsdl2java.bat?rev=688102&r1=688101&r2=688102&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/bin/wsdl2java.bat (original)
+++ cxf/trunk/distribution/src/main/release/bin/wsdl2java.bat Fri Aug 22 08:45:22 2008
@@ -37,7 +37,7 @@
 set CXF_JAR=%CXF_HOME%\lib\cxf-manifest.jar
 
 
-"%JAVA_HOME%\bin\java" -cp "%CXF_JAR%;%SUN_TOOL_PATH%;%CLASSPATH%" -Djava.util.logging.config.file="%CXF_HOME%\etc\logging.properties"
org.apache.cxf.tools.wsdlto.WSDLToJava %*
+"%JAVA_HOME%\bin\java" -Xmx128M -cp "%CXF_JAR%;%SUN_TOOL_PATH%;%CLASSPATH%" -Djava.util.logging.config.file="%CXF_HOME%\etc\logging.properties"
org.apache.cxf.tools.wsdlto.WSDLToJava %*
 
 @endlocal
 



Mime
View raw message