commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: [configuration] binary builds.
Date Sun, 07 Dec 2003 01:13:58 GMT
Quoting Eric Pugh <epugh@upstate.com>:

> Okay,
> 
> Since the project is primarily built with Maven, the build.xml hadn't been
> updated in a while.  I ran 'maven ant' and the resulting build file works
> and is now checked in!
> 

I just tried it (CVS upate, then "ant clean dist"), and it doesn't work for me
:-(.  It still tries to run the tests as part of the "dist" target, and fails
as follows:


internal-test:
    [mkdir] Created dir:
/home/craigmcc/Jakarta/jakarta-commons-sandbox/configuration/target/test-reports
    [junit] Running org.apache.commons.configuration.TestBaseConfiguration
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.842 sec
    [junit] Testsuite: org.apache.commons.configuration.TestBaseConfiguration
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.842 sec
 
    [junit] Testcase: testRetrieve took 0.023 sec
    [junit] Testcase: testInterpolation took 0.076 sec
    [junit] Testcase: testMultipleInterpolation took 0.002 sec
    [junit] Testcase: testInterpolationLoop took 0 sec
    [junit] Testcase: testGetString took 0.001 sec
    [junit] Running
org.apache.commons.configuration.TestClassPropertiesConfiguration
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.87 sec
    [junit] Testsuite:
org.apache.commons.configuration.TestClassPropertiesConfiguration
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.87 sec
 
    [junit] Testcase: testClasspathLoading took 0.119 sec
    [junit]     Caused an ERROR
    [junit] Could not open Resource
/org/apache/commons/configuration/test.properties
    [junit] java.io.FileNotFoundException: Could not open Resource
/org/apache/commons/configuration/test.properties
    [junit]     at
org.apache.commons.configuration.ClassPropertiesConfiguration.getPropertyStream(ClassPropertiesConfiguration.java:179)
    [junit]     at
org.apache.commons.configuration.ClassPropertiesConfiguration.<init>(ClassPropertiesConfiguration.java:108)
    [junit]     at
org.apache.commons.configuration.TestClassPropertiesConfiguration.testClasspathLoading(TestClassPropertiesConfiguration.java:93)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
    [junit] Testcase: testClasspathLoading
 
BUILD FAILED
file:/home/craigmcc/Jakarta/jakarta-commons-sandbox/configuration/build.xml:94:
Test org.apache.commons.configuration.TestClassPropertiesConfiguration failed


FWIW, I'm running this on Linux (RH 9.0) with Sun JDK 1.4.2.

Craig
 


> I guess I should follow up with finding out how to get Gump building as
> well?  It seems like most of the jakarta projects seem to use Gump.  And
> with the large number of dependencies that Configuration has, it might be
> good to include it as well.  I ran 'maven gump' and got a resulting gump.xml
> that looks like what is required?
> 
> Eric
> 
> > -----Original Message-----
> > From: Craig R. McClanahan [mailto:craigmcc@apache.org]
> > Sent: Saturday, December 06, 2003 10:56 PM
> > To: Dirk Verbeeck
> > Cc: Jakarta Commons Developers List
> > Subject: Re: [configuration] binary builds.
> >
> >
> > Quoting Dirk Verbeeck <dirk.verbeeck@pandora.be>:
> >
> > > Craig is the man to talk to for the nightly builds.
> > > He runs the builds for jakarta-commons.
> > >
> >
> > Yep.
> >
> > > The only requirement is that ant clean dist works but you
> > also might
> > > want to change the maven generated ant file to a more traditional
> > > build.xml file. (take the build file of commons-modeler as example)
> > > At least make the junit tests non mandatory.
> >
> > Right now, this problem is blocking my ability to add
> > "configuration" to the set
> > of nightly builds that I run ... the fact that the unit tests
> > fail (at line 82
> > of build.xml) blocks the creation of the binary distribution files.
> >
> > >
> > > -- Dirk
> >
> > Craig
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message