Then make sure you configure your svn client to check out java files as
UTF-8.

Jan

On Wed, 2008-07-30 at 21:26 +0200, Adrian Butnaru wrote:
> I am using Vista Home Premium.
> 
> Jan Haderka schreef:
> > What's your OS?
> > This happens when you checkout the file as something else then UTF-8.
> >
> > On Wed, 2008-07-30 at 21:04 +0200, Adrian Butnaru wrote:
> >   
> >> Hi,
> >> Good news with Magnolia 3.6.
> >> I did svn checkout and then I tried to build with Maven 2.0.9. But it 
> >> was not possible.
> >>
> >> Please help!
> >> Adrian
> >>
> >> When I did:
> >> mvn -e install
> >> I received the following errors:
> >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
> >> Running info.magnolia.cms.util.DateUtilTest
> >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.028 
> >> sec <<< FA
> >> ILURE!
> >>
> >> Results :
> >>
> >> Failed tests:
> >>   testCustomFormatShouldUseGivenLocale(info.magnolia.cms.util.DateUtilTest)
> >>
> >> Tests run: 347, Failures: 1, Errors: 0, Skipped: 0
> >>
> >> [INFO] 
> >> ------------------------------------------------------------------------
> >> [ERROR] BUILD FAILURE
> >> [INFO] 
> >> ------------------------------------------------------------------------
> >> [INFO] There are test failures.
> >>
> >> Please refer to 
> >> D:\magnolia\magnolia-3.6.1-new\magnolia-core\target\surefire-rep
> >> orts for the individual test results.
> >> [INFO] 
> >> ------------------------------------------------------------------------
> >> [INFO] Trace
> >> org.apache.maven.BuildFailureException: There are test failures.
> >>
> >> Please refer to 
> >> D:\magnolia\magnolia-3.6.1-new\magnolia-core\target\surefire-rep
> >> orts for the individual test results.
> >>         at 
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> >> ultLifecycleExecutor.java:579)
> >>         at 
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> >> fecycle(DefaultLifecycleExecutor.java:499)
> >>         at 
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> >> ltLifecycleExecutor.java:478)
> >>         at 
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> >> dleFailures(DefaultLifecycleExecutor.java:330)
> >>         at 
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> >> ts(DefaultLifecycleExecutor.java:291)
> >>         at 
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> >> fecycleExecutor.java:142)
> >>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>         at 
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> >> java:39)
> >>         at 
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> >> sorImpl.java:25)
> >>         at java.lang.reflect.Method.invoke(Method.java:597)
> >>         at 
> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >>         at 
> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >>
> >>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
> >> failures
> >> .
> >>
> >> Please refer to 
> >> D:\magnolia\magnolia-3.6.1-new\magnolia-core\target\surefire-rep
> >> orts for the individual test results.
> >>         at 
> >> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugi
> >> n.java:575)
> >>         at 
> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> >> nManager.java:451)
> >>         at 
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> >> ultLifecycleExecutor.java:558)
> >>         ... 16 more
> >> [INFO] 
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: 28 seconds
> >> [INFO] Finished at: Wed Jul 30 21:01:03 CEST 2008
> >> [INFO] Final Memory: 26M/47M
> >> [INFO] 
> >> ------------------------------------------------------------------------
> >>
> >> ----------------------------------------------------------------
> >> for list details see
> >> http://documentation.magnolia.info/
> >> ----------------------------------------------------------------
> >>     
> >
> >
> > ----------------------------------------------------------------
> > for list details see
> > http://documentation.magnolia.info/
> > ----------------------------------------------------------------
> >
> >
> >   
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/
> ----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to