[fedora-java] Help building dcm4che
Ankur Sinha
sanjay.ankur at gmail.com
Mon May 30 05:59:35 UTC 2011
On Sat, 2011-05-28 at 12:50 +0530, Ankur Sinha wrote:
> On Sat, 2011-05-28 at 09:03 +0300, Alexander Kurtakov wrote:
> > Look for "XML document structures must start and end within the same
> > entity." in the log. Your depmap file is not a valid xml file.
> >
> > Alex
>
> Thanks Alex! I ran xmllint and corrected the file.
>
> All the components are building properly. There's something wrong with
> the javadoc generation though. It says:
>
> > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:aggregate (default-cli) on project dcm4che: An error has occurred in JavaDocs report generation:
> > [ERROR] Exit code: 1 - /builddir/build/BUILD/dcm4che-2.0.25/dcm4che-core/src/main/java/org/dcm4che2/data/Tag.java:1474: warning: unmappable character for encoding ANSI_X3.4-1968
> > [ERROR] /** (0018,1153) VR=IS, VM=1 Exposure in ??As */
> > [ERROR] ^
> > [ERROR] /builddir/build/BUILD/dcm4che-2.0.25/dcm4che-core/src/main/java/org/dcm4che2/data/Tag.java:1474: warning: unmappable character for encoding ANSI_X3.4-1968
>
> There was a warning earlier:
>
> > [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
>
> How would I set the encoding? What should it be set to?
>
> Thanks!
> Regards,
> Ankur
>
Hello,
I managed to solve this one (I think)
The solution was to add:
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>
> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
to the properties section of the pom.xml file.
More info on it on these links:
http://wiki.wsmoak.net/cgi-bin/wiki.pl?action=browse&diff=3&id=Maven/FAQ
http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File
+Encoding
http://jira.codehaus.org/browse/MNG-2216
Thanks!
Regards,
Ankur
More information about the java-devel
mailing list