Re: maven

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Nov 21 2006 - 08:51:00 EST

  • Next message: Amazon: "Resolution Center: Your account is limited. (Your case ID for this reason is AJ-141-663-845.)"

    Moin Henrique,

    I've added some line s to skip some tests. It looks like an issue
    with the classloader in the maven-embed plugin. maven-embed requires
    maven-settings 2.0.2 which is not compatible with 2.0.4.

    Uli
    Am 20.11.2006 um 14:37 schrieb Henrique Prange:

    > Hi Mike,
    >
    > This seems like a problem with one test case. Probably a change in
    > the code broke the test. You can run "mvn install -
    > Dmaven.test.skip=true" to bypass this problem and build the maven-
    > wobootstrap-plugin. I'll take a look into this soon.
    >
    > Cheers,
    >
    > Henrique
    >
    > Mike Schrag wrote:
    >> So I tried to follow the instructions for building wolips with
    >> maven (http://www.objectstyle.org/confluence/display/WOL/Building
    >> +the+woproject+source+code+with+maven) and it ends with:
    >> Running org.objectstyle.woproject.maven2.utils.TestWebObjectsUtils
    >> java.io.FileNotFoundException: /Volumes/mDT Workspace/workspace/
    >> woproject/maven2/maven-wobootstrap-plugin/target/test-classes/
    >> inexistent.txt (No such file or directory)
    >> at java.io.FileInputStream.open(Native Method)
    >> at java.io.FileInputStream.<init>(FileInputStream.java:106)
    >> at org.apache.commons.io.FileUtils.lineIterator
    >> (FileUtils.java:963)
    >> at
    >> org.objectstyle.woproject.maven2.wobootstrap.utils.WebobjectsUtils.ge
    >> tWebobjectsVersion(WebobjectsUtils.java:139) at
    >> org.objectstyle.woproject.maven2.utils.TestWebObjectsUtils.testFileCa
    >> nnotBeFound(TestWebObjectsUtils.java:105) at
    >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    >> at sun.reflect.NativeMethodAccessorImpl.invoke
    >> (NativeMethodAccessorImpl.java:39) at
    >> sun.reflect.DelegatingMethodAccessorImpl.invoke
    >> (DelegatingMethodAccessorImpl.java:25) at
    >> java.lang.reflect.Method.invoke(Method.java:585)
    >> at junit.framework.TestCase.runTest(TestCase.java:154)
    >> at junit.framework.TestCase.runBare(TestCase.java:127)
    >> at junit.framework.TestResult$1.protect(TestResult.java:106)
    >> at junit.framework.TestResult.runProtected(TestResult.java:
    >> 124)
    >> at junit.framework.TestResult.run(TestResult.java:109)
    >> at junit.framework.TestCase.run(TestCase.java:118)
    >> at junit.framework.TestSuite.runTest(TestSuite.java:208)
    >> at junit.framework.TestSuite.run(TestSuite.java:203)
    >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    >> Method)
    >> at sun.reflect.NativeMethodAccessorImpl.invoke
    >> (NativeMethodAccessorImpl.java:39) at
    >> sun.reflect.DelegatingMethodAccessorImpl.invoke
    >> (DelegatingMethodAccessorImpl.java:25) at
    >> java.lang.reflect.Method.invoke(Method.java:585)
    >> at org.apache.maven.surefire.junit.JUnitTestSet.execute
    >> (JUnitTestSet.java:210)
    >> at
    >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
    >> tSet(AbstractDirectoryTestSuite.java:135) at
    >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute
    >> (AbstractDirectoryTestSuite.java:122) at
    >> org.apache.maven.surefire.Surefire.run(Surefire.java:129)
    >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    >> Method)
    >> at sun.reflect.NativeMethodAccessorImpl.invoke
    >> (NativeMethodAccessorImpl.java:39) at
    >> sun.reflect.DelegatingMethodAccessorImpl.invoke
    >> (DelegatingMethodAccessorImpl.java:25) at
    >> java.lang.reflect.Method.invoke(Method.java:585)
    >> at
    >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess
    >> (SurefireBooter.java:225) at
    >> org.apache.maven.surefire.booter.SurefireBooter.main
    >> (SurefireBooter.java:747) Tests run: 7, Failures: 0, Errors: 0,
    >> Skipped: 0, Time elapsed: 0.052 sec
    >> any ideas, or can I provide any more info on the failure?
    >
    > --
    >
    > \o/ Henrique Prange, Moleque de Idéias Educaçăo e Tecnologia Ltda
    > | Phone: 55-21-2710-0178 E-mail: hprang..oleque.com.br
    > / \ http://www.moleque.com.br



    This archive was generated by hypermail 2.0.0 : Tue Nov 21 2006 - 08:51:16 EST