intruxxer / zaproxy

Automatically exported from code.google.com/p/zaproxy
0 stars 0 forks source link

/ZAP/src/org/zaproxy/zap/utils/LocaleUtils.java has invalid characters preventing a successful build with ant #571

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the ZAP sources
2. Setup build environment in eclipse according to 
http://www.taddong.com/docs/Building_ZAP_with_Eclipse_v3.0.pdf
3. Initiate ANT build with build.xml from build/build.xml

What is the expected output? What do you see instead?
Expected output: A successful build
Encountered result: An error stating invalid characters. 
Turned out the charaters were in the 
/ZAP/src/org/zaproxy/zap/utils/LocaleUtils.java at line 54. The word espanol 
has two none displayable characters. Deleting them and initiating another build 
seems to get the desired result. 

What version of the product are you using? On what operating system?
ZAP sources from March 25th on Eclipse Juno SR1 on OS X 10.8.3

Original issue reported on code.google.com by marcel.k...@gmail.com on 26 Mar 2013 at 2:50

GoogleCodeExporter commented 9 years ago
It seems that you are using other file encoding than UTF-8 (or ISO-8859-1) in 
your ZAP project (or in the workspace), is that right?
You need to change the file encoding of the ZAP project to UTF-8 (or 
ISO-8859-1) to correctly see the character.

As for the Ant build, the "compile" target is (incorrectly) relying on the 
platform default file encoding instead of always using the same. I've raised 
the Issue 579 to fix that. Let me know if that fixes the build problem (without 
the need to delete the character).

Original comment by THC...@gmail.com on 27 Mar 2013 at 7:41

GoogleCodeExporter commented 9 years ago
Problem seems to be fixed with the new build. No build errors occur even with 
the chars in the LocaleUtils.java file.

Original comment by marcel.k...@gmail.com on 5 Apr 2013 at 10:12

GoogleCodeExporter commented 9 years ago
Thanks for trying it again.

Original comment by THC...@gmail.com on 8 Apr 2013 at 4:05