commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [VFS] Publishing a snapshot
Date Mon, 23 Jul 2012 07:22:37 GMT
I was going to try to see if I could do it but I am getting a unit test failure.

-------------------------------------------------------------------------------
Test set: org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.145 sec <<< FAILURE!
junit.framework.TestSuite@3dd06d02(org.apache.commons.vfs2.test.ProviderTestSuite)  Time elapsed:
3.144 sec  <<< ERROR!
org.apache.commons.vfs2.FileSystemException: Unknown message with code "org.apache.commons.vfs2.FileNotFoundException
Could not read from "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
because it is a not a file.".
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
        at org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
        at org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.extensions.TestSetup.run(TestSetup.java:27)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
        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:597)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)




On Jul 22, 2012, at 10:53 PM, Gary Gregory wrote:

> Ugh, I hate these Maven problems.
> 
> With the command below, Maven hangs on:
> 
> [INFO] --- maven-gpg-plugin:1.4:sign (default) @ commons-vfs2-project ---
> 
> My set up works for other Commons component when I use -Prelease
> 
> Arg...
> 
> Gary
> 
> On Mon, Jul 23, 2012 at 12:46 AM, Ralph Goers <ralph.goers@dslextreme.com>wrote:
> 
>> If I recall correctly you should just need to do
>> 
>> mvn -P apache-release deploy
>> 
>> Ralph
>> 
>> On Jul 22, 2012, at 9:38 PM, Gary Gregory wrote:
>> 
>>> How do I do it?
>>> 
>>> For other commons components, I do "mvn deploy -Prelease" but with VFS I
>>> get an error.
>>> 
>>> Help?
>>> 
>>> Thank you,
>>> Gary
>>> 
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>> 
>> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


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


Mime
View raw message