You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jarek Gawor (JIRA)" <ax...@ws.apache.org> on 2006/03/23 17:32:19 UTC
[jira] Resolved: (AXIS-2438) WSDL2Java: Extra "\n" in generated
stub files prevents these files from being committed to SVN.
[ http://issues.apache.org/jira/browse/AXIS-2438?page=all ]
Jarek Gawor resolved AXIS-2438:
-------------------------------
Fix Version: current (nightly)
Resolution: Fixed
Committed a fix for this in trunk.
> WSDL2Java: Extra "\n" in generated stub files prevents these files from being committed to SVN.
> -----------------------------------------------------------------------------------------------
>
> Key: AXIS-2438
> URL: http://issues.apache.org/jira/browse/AXIS-2438
> Project: Apache Axis
> Type: Improvement
> Components: WSDL processing
> Versions: 1.3
> Environment: WindowsXP
> Reporter: Chelski
> Priority: Minor
> Fix For: current (nightly)
>
> If you try to commit stub files generated by WSDL2Java to SVN, you will get an error: File 'xxxx.java' has inconsistent newlines.
> Of course you can do "svn propdel svn:eol-style xxxx.java" or using "dos2unix/unix2dos" to resolve it, but this is annoying.
> This problem is caused by line 552 in src/org/apache/axis/wsdl/toJava/JavaStubWriter.java:
>
> pw.println(" }\n");
> on Windows, pw.println(...) will generate "0D 0A", while "\n" only means "0A", so the final file is a mixed end-of-line style file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira