Community
Participate
Working Groups
Build: Freeze 1 Japanese Windows XP 1) Create a plugin project with japanese characters in the name 2) In the wizard, ensure the JAR filename also has japanese characters 3) Click on plugin.xml, and choose "Create plugin jars" 4) The AntRunner fails with an "Internal Error". It tells you to consult the log file, but there is nothing in the log file. I will attach the stack trace that appeared in the ant console. It appears that the built-in Ant mkdirs task is failing, but I thought I should log it so we have a record of it.
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.