Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source file encoding issues in \Admin directory? #4

Closed
jonnyry opened this issue Jun 17, 2014 · 4 comments
Closed

Source file encoding issues in \Admin directory? #4

jonnyry opened this issue Jun 17, 2014 · 4 comments

Comments

@jonnyry
Copy link

jonnyry commented Jun 17, 2014

I'm getting the compiler error below when building.

I've tried forcing the encoding to UTF-8 and UTF-16 by passing into javac via ANT with no luck. Considering batch updating the source file encodings, but just wondering if anyone else has encountered this?

My system locale is set to British (United Kingdom).

Admin:
[javac] Compiling 1535 source files to X:\GitHub\openMAXIMS\Source Library\o
penmaxims_workspace\Admin\bin
[javac] error: compiler message file broken: key=compiler.err.file javax\xml
\soap\Detail.class not found arguments={0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
X:\GitHub\openMAXIMS\Source Library\openmaxims_workspace\WebApp\build_common.xml
:197: Compile failed; see the compiler error output for details.

@pacharanero
Copy link

I did encounter this error but I can't for the life of me remember how I
fixed it.

Regarding the UTF8 stuff I re encoded only those files that were throwing
errors
....

Ah yes I've looked at the code in the build common.xml file, this was a
bug. There's a missing "/" at the end of the definition of the ${WORKSPACE}
path.

M
On 17 Jun 2014 22:57, "jonnyry" notifications@github.com wrote:

I'm getting the compiler error below when building.

I've tried forcing the encoding to UTF-8 and UTF-16 by passing into javac
via ANT with no luck. Considering batch updating the source file encodings,
but just wondering if anyone else has encountered this?

My system locale is set to British (United Kingdom).

Admin:
[javac] Compiling 1535 source files to X:\GitHub\openMAXIMS\Source
Library\o
penmaxims_workspace\Admin\bin
[javac] error: compiler message file broken: key=compiler.err.file
javax\xml
\soap\Detail.class not found arguments={0}, {1}, {2}, {3}, {4}, {5}, {6},
{7}
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
X:\GitHub\openMAXIMS\Source
Library\openmaxims_workspace\WebApp\build_common.xml
:197: Compile failed; see the compiler error output for details.


Reply to this email directly or view it on GitHub
#4.

@jonnyry
Copy link
Author

jonnyry commented Jun 18, 2014

Ah yes thanks, I've re-encoded Keywords.java to UTF-8. But the error above, realised I was getting fixated on the UTF8 issues (compiler message file broken) and missed the key part of the error:

javax\xml\soap\Detail.class not found arguments={0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}

This appears to be part of the J2EE rather than J2SE, do you have J2EE installed on your linux machine?

The standard openMaxims build comes with J2SE but thinking it may need the full EE - going to download an old 1.5 version and give it a try.

@Terry-Fossey
Copy link
Contributor

Please note that ${WORKSPACE} is defined in WebApp/WebAppBuild.xml
Note the "/" at the end of the default string - if you change this string then you need to ensure to include the "/" at the end.
Including the "/" after ${WORKSPACE} in the WebApp/build_common.xml file is a lot of work as the ${WORKSPACE} variable is used many times throughout this file and you would need to append the "/" in every location.

@jonnyry
Copy link
Author

jonnyry commented Jun 18, 2014

Sorted now - downloaded a copy of javax-xml-soap-1.6.0.jar and added to the WebApp\WEB-INF\lib folder. Thanks for the help.

@jonnyry jonnyry closed this as completed Jun 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants