Community
Participate
Working Groups
Build ID: 3.2.1 Steps To Reproduce: 1. Set Workspace default encoding to UTF-16 2. Create a sample Hello RCP App 3. Create a product configuration 4. export it to a directory. This is where it fails Do the same with the default encoding set back to cp1252 or US-ASCII and it works without a problem. More information: If the Java code is created with UTF-16 as the default encoding, the RCP app cannot be exported.
I haven't had time to try this yet, is it the compile that is failing? Note that you can set the encoding to pass to javac in your plugin's build.properties file: javacDefaultEncoding.<library> - sets default encoding to use when compiling the given library. javacCustomEncodings.<library> - a comma separated list of paths and encodings to use when compiling the given library. javacCustomEncodings.library.jar = src/org/foo[US-ASCII], src/org/foo/bar.java[ISO-8859-1]
Also see bug 155015.
This is indeed very likely a dupe of bug 155015. Chris?
This looks like the typical encoding issue. I'll assume it's the same. Please reopen if it's otherwise. *** This bug has been marked as a duplicate of bug 155015 ***
btw, Thanks Benjamin ;)