Hi all,

Thanks for the replies, I have just tried at home on another Windows box with 
exactly the same setup and I'm no longer getting the test failures. However, 
despite the tests now passing I'm still getting the error whereby ant is unable 
to delete the derby log, this still causes the build to fail:

[INFO] An Ant BuildException has occured: Unable to delete file
C:\Data\roller_trunk\planet-business\target\test-classes\derby-system\planet_business\derby.log

Also I can confirm that it seems to make no difference whether the project path 
contains any spaces or not.

So I'm happy to accept and figure out the test failure issue myself since it 
must be something specific to my environment, however I'd be very grateful if 
anyone has any insight in to the Windows specific issue that Dave mentioned 
earlier.

Cheers,

Edd

On 2 February 2010 18:29, Dave <[email protected]> wrote:

> Hmm... I didn't try building with Maven on Windows. I bet this is
> Windows related. Guess I better fire-up the old WinXP VM.
>
> - Dave
>
>
>
> On Tue, Feb 2, 2010 at 12:29 PM, Edd Grant <[email protected]> wrote:
> > Hi All,
> >
> > I have checked out the latest SVN trunk (revision 905673) and am trying
> to
> > build Roller using Maven. The following tests are failing:
> >
> > 1:
> >
> testUpdateSubscription(org.apache.roller.planet.business.SingleThreadedFeedUpdaterTest)
> > 2: testFetchFeed(org.apache.roller.planet.business.RomeFeedFetcherTest)
> > 3:
> >
> testFetchFeedConditionally(org.apache.roller.planet.business.RomeFeedFetcherTest)
> >
> > To cheekily try and build the roller distributable by ignoring the test
> > failures I have run mvn install setting -Dmaven.test.error.ignore=true
> and
> > -Dmaven.test.failure.ignore=true, however when I do this I get the
> following
> > error at the end of the test phase:
> >
> > [INFO] [jar:jar {execution: default-jar}]
> > [INFO] Building jar: C:\Data\granedd\My
> >
> Documents\Programming\roller\planet-business\target\roller-planet-business-5.0-BETA2-SNAPSHOT.jar
> > [INFO] [antrun:run {execution: stopdb}]
> > [INFO] Executing tasks
> > Stopping Derby
> > 2010-02-02 17:03:11.232 GMT : Apache Derby Network Server - 10.5.3.0 -
> (802917)
> > shutdown
> >   [delete] Deleting directory C:\Data\granedd\My
> >
> Documents\Programming\roller\planet-business\target\test-classes\derby-system
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] An Ant BuildException has occured: Unable to delete file
> > C:\Data\granedd\My
> >
> Documents\Programming\roller\planet-business\target\test-classes\derby-system\planet_business\derby.log
> >
> > Interestingly I get exactly the same build error if I skip the tests
> altogether
> > by setting -Dmaven.test.skip=true
> >
> > Has anyone experienced the above issues? I'd be most grateful for any
> input as
> > I would like to determine whether this is my own personal problem or
> whether
> > it's an issue with the currently committed code?
> >
> > In case it's of any relevance i'm using the following bits and pieces:
> > Maven: v2.2.1 (r801777)
> > JDK: java version "1.5.0_10"
> > Ant: v1.7.1 (not sure if there are any ant calls in the roller maven
> poms).
> >
> > Many thanks,
> >
> > Edd
> >
> >
> >
>



--
Mobile: +44 (0) 7861 394 543
Web: http://www.eddgrant.com



Reply via email to