Re: dcm4che update: managed to build dcm4che-imageio
Hi Adi,
On Thu, Mar 29, 2012 at 5:33 PM, Adi Kriegisch <adi@cg.tuwien.ac.at> wrote:
> I am working with Paul on getting dcm4che Debian packages and I made some
> progress in this regard:
That's very cool !
> when modifying the pom-file like this:
> --- dcm4che-2.0.26/dcm4che-imageio/pom.xml 2012-03-26 17:05:45.000000000 +0200
> +++ dcm4che-2.0.26/dcm4che-imageio/pom.xml 2012-03-29 17:18:17.000000000 +0200
> @@ -39,10 +39,11 @@
> <scope>test</scope>
> </dependency>
> <dependency>
> - <groupId>com.sun.media</groupId>
> + <groupId>com.sun.media.imageio.stream</groupId>
> <artifactId>jai_imageio</artifactId>
> <version>1.1</version>
> - <scope>provided</scope>
> + <scope>system</scope>
> + <systemPath>/usr/share/java/jai_imageio.jar</systemPath>
> </dependency>
> <dependency>
> <groupId>junit</groupId>
>
> I am able to compile dcm4che-imageio (although some tests need to be
> disabled because they fail; ie. one write test and all read tests).
what? that look a bit scary right ? You may need to detail a little
more why you are deactivating the test, that would make me much more
relax :)
> As it seems something changes for maven when being called by maven helper.
> I think the behaviour of maven should be consistent -- no matter if it is
> called from maven helper or directly.
>
> A patch like the above doesn't qualify for an official debian package.
> Probably someone with real Java packaging skills could step up and give
> some hints? :-)
Java/Maven can be quite complex, if that works, you could keep it this
way. Usually I simply post on debian-java to get advices from java
gurus.
> Ah, and the package still isn't cleanly compiling: now dcm2txt and dcm2xml
> are failing...
Thanks for your work on dcm4chee !
-M
Reply to: