axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-2438) WSDL2Java: Extra "\n" in generated stub files prevents these files from being committed to SVN.
Date Thu, 23 Mar 2006 16:32:19 GMT
     [ 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


Mime
View raw message