Re: maven

From: Henrique Prange (hprang..mail.com)
Date: Mon Nov 20 2006 - 08:37:53 EST

  • Next message: Andrus Adamchik: "Re: [DONE] Re: Server migration heads up"

    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.getWebobjectsVersion(WebobjectsUtils.java:139)
    >
    > at
    > org.objectstyle.woproject.maven2.utils.TestWebObjectsUtils.testFileCannotBeFound(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.executeTestSet(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 : Mon Nov 20 2006 - 08:38:37 EST