You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by mv...@apache.org on 2003/01/01 18:17:09 UTC

cvs commit: jakarta-commons/betwixt build.xml

mvdb        2003/01/01 09:17:09

  Modified:    betwixt  build.xml
  Log:
  Applying patch from sam to fix build.xml and tested it under unix (still a test failure though, but that is another problem)
  
  Revision  Changes    Path
  1.11      +3 -3      jakarta-commons/betwixt/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml	30 Dec 2002 18:51:33 -0000	1.10
  +++ build.xml	1 Jan 2003 17:17:08 -0000	1.11
  @@ -14,7 +14,7 @@
   		
     
     
  -  <property name="resourcedir" value="D:\projects\cvs.apache.org\jakarta-commons\betwixt/src/java"></property>
  +  <property name="resourcedir" value="."></property>
     
     <property name="distdir" value="dist"></property>
     <property name="javadocdir" value="target/docs/apidocs"></property>
  @@ -91,7 +91,7 @@
         <mkdir dir="${testreportdir}"></mkdir>
         <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
           
  -        <sysproperty key="basedir" value="D:\projects\cvs.apache.org\jakarta-commons\betwixt"></sysproperty>
  +        <sysproperty key="basedir" value="${resourcedir}"></sysproperty>
           <formatter type="xml"></formatter>
           <formatter usefile="true" type="plain"></formatter>
           <classpath>
  @@ -198,4 +198,4 @@
     </target>
   
   </project>
  -    
  \ No newline at end of file
  +    
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-commons/betwixt build.xml

Posted by Sam Ruby <ru...@apache.org>.
mvdb@apache.org wrote:
> mvdb        2003/01/01 09:17:09
> 
>   Modified:    betwixt  build.xml
>   Log:
>   Applying patch from sam to fix build.xml and tested it under unix (still a test failure though, but that is another problem)

For those interested in seeing this early, the failure is as follows:

> Testsuite: org.apache.commons.betwixt.introspection.TestXMLIntrospector
> Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 1.6 sec
> 
> Testcase: testIntrospector took 0.217 sec
> Testcase: testBeanWithBeanInfo took 0.126 sec
>         FAILED
> (Unequal node names) expected:<gamm...> but was:<alph...>
> junit.framework.ComparisonFailure: (Unequal node names) expected:<gamm...> but was:<alph...>
>         at org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:177)
>         at org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:253)
>         at org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:150)
>         at org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:124)
>         at org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:112)
>         at org.apache.commons.betwixt.introspection.TestXMLIntrospector.testBeanWithBeanInfo(TestXMLIntrospector.java:236)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 
> Testcase: testBeanWithBeanInfoTestcase: testXMLUnit took 0.659 sec

- Sam Ruby

P.S.  While I agree in principle with dIon that this should be fixed in 
Maven, I see no harm in doing both in parallel.




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>