Actually it looks like an issue with the comments (rather than the code) in
org.fcrepo.test.api.TestRelationships
If you could try removing the comment at line 138, and removing the
characters at the end of the comments in lines 140-144 (you can leave the
textual description of the characters, just remove all of the characters
“Α ¿”
Then see if it will build without changing the platform encoding (without
setting MAVEN_OPTS).
The objective of that test is to check if there are any issues with
encoding when using a non-UTF-8 platform encoding, so it would be good to
verify that you can build under cp1252
-----Original Message-----
From: Steve Bayliss [mailto:[email protected]]
Sent: 22 February 2010 14:02
To: 'Nishen Naidoo'; [email protected]
Subject: Re: [Fedora-commons-developers] Error compiling under Windows...
Hi Nish
Try setting the platform encoding to UTF-8 for Maven -
MAVEN_OPTS=-Dfile.encoding=utf-8
Steve
-----Original Message-----
From: Nishen Naidoo [mailto:[email protected]]
Sent: 22 February 2010 12:54
To: [email protected]
Subject: [Fedora-commons-developers] Error compiling under Windows...
Hi all,
Has anyone seen the error below? I've not been able to build the trunk
under windows lately due to the error below...
It build fine under linux environmnets though...
Thanks,
Nish
[INFO] ---------------------------------------------------------------------
---
[INFO] Building Fedora Integration Test
[INFO] task-segment: [install]
[INFO] ---------------------------------------------------------------------
---
[INFO] [enforcer:enforce {execution: default}]
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[INFO] Working directory: D:\test\fcrepo\fcrepo-integrationtest
[INFO] Storing buildNumber: 8523 at timestamp: 2010-02-22 23:46:54 UTC+1100
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\test\fcrepo\fcrepo-
integrationtest
\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 85 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 65 source files to D:\test\fcrepo\fcrepo-
integrationtest\target
\test-classes
[INFO] ---------------------------------------------------------------------
---
[ERROR] BUILD FAILURE
[INFO] ---------------------------------------------------------------------
---
[INFO] Compilation failure
D:\test\fcrepo\fcrepo-
integrationtest\src\test\java\org\fcrepo\test\api\TestRela
tionships.java:[138,58] unmappable character for encoding Cp1252
D:\test\fcrepo\fcrepo-
integrationtest\src\test\java\org\fcrepo\test\api\TestRela
tionships.java:[144,80] unmappable character for encoding Cp1252
[INFO] ---------------------------------------------------------------------
---
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers