java - What type of line delimiters does wsimport use? -


i working on client application using eclipse , having kinds of problems committing, merging, comparing, etc. cvs (i know cvs bad). i'm thinking since on windows running issues line delimiters. our cvs server runs on windows (again know, comments welcome show our current dev environment broken , i'm not blowing smoke here).

currently of our projects using cp1252 windows style delimiters. change default text file encoding utf-8 , unix style delimiters, , wonderng if has gone through transition comment.

also, since use wsimport create our client web services trying figure out type of line delimiters uses. 1 know?

thanks,

jd

since write java source codes, wsimport use instance of java.io.printwriter, , each line write method java.io.printwriter.println, depends of enviroment.

import com.sun.tools.internal.ws.wsimport;  public class main {      static {         system.getproperties().put("line.separator", "\n"); \\ or "\r\n"     }      public static void main(string[] args) throws throwable {         wsimport.main("service.wsdl -xnocompile".split("\\s+"));     }  } 

for charset, this:

the default charset determined during virtual-machine startup , typically depends upon locale , charset of underlying operating system.

you can specified next arg in virtual machine:

-dfile.encoding=utf-8 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -