Hmm. have you checked that you are using JDK 1.5?
I have had issues building Sling with 1.6

Cheers,
PS

On Mon, Mar 17, 2008 at 9:22 AM, Carsten Ziegeler <[EMAIL PROTECTED]>
wrote:

> HI,
>
> I just tried to build Sling using "mvn clean install" from the top level
> directory and it works for me without any errors.
>
> Can you please retry and if it still fails post more informating (about
> your environment and the result from the failing test cases)?
>
> Thanks
> Carsten
>
> Nitesh Ambuj wrote:
> > Hi All,
> >
> >
> >
> > I'm new to Sling and I'm following steps mentioned at
> >
> >
> >
> >  <
> http://incubator.apache.org/sling/site/discover-sling-in-15-minutes.html>
> > http://incubator.apache.org/sling/site/discover-sling-in-15-minutes.html
> >
> >
> >
> > While running the step
> >
> >
> >
> > "mvn clean install"
> >
> >
> >
> > I'm getting below error.
> >
> >
> >
> >
> ****************************************************************************
> > *****
> >
> >
> >
> > Failed tests:
> >
> >   testSections(
> org.apache.sling.apt.parser.internal.SlingAptParserImplTest)
> >
> >   testTitle(org.apache.sling.apt.parser.internal.SlingAptParserImplTest)
> >
> >
> >
> > Tests run: 12, Failures: 2, Errors: 0, Skipped: 0
> >
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [ERROR] BUILD FAILURE
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] There are test failures.
> >
> >
> >
> > Please refer to E:\SVN\extensions\apt\parser\target\surefire-reports for
> the
> > ind
> >
> > ividual test results.
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] For more information, run Maven with the -e switch
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] Total time: 1 minute 40 seconds
> >
> > [INFO] Finished at: Mon Mar 17 11:04:45 IST 2008
> >
> > [INFO] Final Memory: 30M/63M
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> >
> >
> ****************************************************************************
> > *****
> >
> >
> >
> > Can anybody please tell me whether this is related to Sling or MVN and
> also
> > how to resolve this?
> >
> >
> >
> > Thanks & Regards,
> >
> > Nitesh Ambuj
> >
> >
> >
> >
>
>
> --
> Carsten Ziegeler
> [EMAIL PROTECTED]
>

Reply via email to