Summary: | build.xml build script fails with Japanese characters | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | John Arthorne <john.arthorne> | ||||||||
Component: | UI | Assignee: | Dejan Glozic <dejan> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P1 | CC: | dj.houghton, rodrigo | ||||||||
Version: | 2.0 | Keywords: | nl | ||||||||
Target Milestone: | 2.0 F3 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 2000 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
John Arthorne
2002-05-22 11:15:09 EDT
Created attachment 946 [details]
Contents of ant console after failure
Correction: the error message says, "See the Log console for more details", so this is correct. The "Reason:" is given as: "Ant runner internal error". Also attaching the build.xml file, which appears to have been generated incorrectly. Note that in some places it has correctly inserted Japanese characters, but in other places it has just inserted ??? characters (for example as the jar name). This might be the real cause of the above problem. Created attachment 947 [details]
build.xml with bogus characters
It appears that Bugzilla can't handle text files with Japanese characters, so I will attach a ZIP file containing the build.xml file. Created attachment 950 [details]
ZIP file containg build.xml file
We should try using the encoding option (Window->Preferences->Workbench->Work In Progress) and make sure all the important files (plugin.xml and build.properties) are using UTF-8 and see if we can still reproduce the problem. If it works we should consider a README on this one. There are to problems here: 1) PDE Build is not writing the build.xml files ini UTF-8 2) PDE UI is not writing the build.properties file in the correct format defined by java.io.Properties Fixed PDE Build. The build.xml files are now written in UTF-8. Moving to PDE UI for solving the issue with build.properties files. Fixed by implementing encoding in BuildEntry model object. Values are now saved using unicode escape sequences for non-Ascii chars. |