java - Why does the Sun tlddoc tag documentation generator fail under powershell? -


when building documentation jsp tags under powershell, following error:

exception in thread "main" com.sun.tlddoc.tagfileparser.tokenmgrerror: lexical error @     line 21, column 114.  encountere d: "\u0153" (339), after : ""         @     com.sun.tlddoc.tagfileparser.tagfiletokenmanager.getnexttoken(tagfiletokenmanager.java:1693)     @ com.sun.tlddoc.tagfileparser.tagfile.jj_consume_token(tagfile.java:494)     @ com.sun.tlddoc.tagfileparser.tagfile.jspdirective(tagfile.java:172)     @ com.sun.tlddoc.tagfileparser.tagfile.jsptagdef(tagfile.java:90)     @ com.sun.tlddoc.tagfileparser.tagfile.input(tagfile.java:43)     @ com.sun.tlddoc.tagfileparser.tagfile.parse(tagfile.java:20) 

the same code runs fine when run under eclipse. why this?

i'm noting issue here future reference.

under powershell, default charset windows-1252. under eclipse (and cmd.exe) iso-8859-1.

adding line system.setproperty("file.encoding", "iso-8859-1"); application allowed application run in powershell , eclipse fine.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -