[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with maven based package needed (dcm4che)



Hi Torsten,

On Tue, Apr 19, 2011 at 07:26:55PM +0200, Torsten Werner wrote:
> You could try to package maven-bundle-plugin

Did you noticed that I'd call myself a beginner in maven and Java
issues? :-)  If I can avoid taking even more packages I'd stay
avway from such tasks.

> or patch out the
> maven-jar-plugin configuration from the top leven pom.xml.

This made some progress in the build process but later another
error:

998 [main] WARN org.dcm4che2.util.CloseUtils - error closing org.dcm4che2.util.CloseUtilsTest$1: org.dcm4che2.util.CloseUtilsTest$1@2e958bb8
java.io.IOException: deliberate
	at org.dcm4che2.util.CloseUtilsTest$1.close(CloseUtilsTest.java:63)
	at org.dcm4che2.util.CloseUtils.safeClose(CloseUtils.java:65)
	at org.dcm4che2.util.CloseUtilsTest.testCloseCloseableIOException(CloseUtilsTest.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	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:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
1019 [main] WARN org.dcm4che2.util.CloseUtils - error closing org.dcm4che2.util.CloseUtilsTest$2: Socket[unconnected]
 

I have the gut feeling that this has something to do with networking
stuff which is probably not setup in a pbuilder environment.  Could
somebody confirm this and if yes where do I have to seek for the
test in question to disable it?

Kind regards

     Andreas.


-- 
http://fam-tille.de


Reply to: