Skip to content

Commit

Permalink
Merge pull request #45 from ctrueden/imglib-build-fixes
Browse files Browse the repository at this point in the history
Build fixes for the imglib2 dependency
  • Loading branch information
melissalinkert committed Mar 23, 2012
2 parents f4786f7 + 57fc9ad commit 6f4ff36
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions components/scifio/build.properties
Expand Up @@ -8,13 +8,15 @@

component.name = scifio
component.jar = scifio.jar
component.version = 4.3-DEV
component.version = 4.4-DEV
component.classpath = ${artifact.dir}/jai_imageio.jar:\
${artifact.dir}/loci-common.jar:\
${artifact.dir}/lwf-stubs.jar:\
${artifact.dir}/ome-xml.jar:\
${lib.dir}/forms-1.3.0.jar:\
${lib.dir}/imglib2.jar:\
${lib.dir}/log4j-1.2.15.jar:\
${lib.dir}/retrotranslator-runtime-1.2.9.jar:\
${lib.dir}/slf4j-api-1.5.10.jar:\
${lib.dir}/testng-5.11-jdk15.jar:\
${lib.dir}/JimiProClasses.jar
Expand All @@ -39,8 +41,9 @@ component.cp.no-xml = ${artifact.dir}/jai_imageio.jar:\
${artifact.dir}/mdbtools-java.jar:\
${artifact.dir}/poi-loci.jar:\
${lib.dir}/forms-1.3.0.jar:\
${lib.dir}/imglib2.jar:\
${lib.dir}/log4j-1.2.15.jar:\
${lib.dir}/netcdf-4.0.jar:\
${lib.dir}/retrotranslator-runtime-1.2.9.jar:\
${lib.dir}/slf4j-api-1.5.10.jar:\
${lib.dir}/testng-5.11-jdk15.jar

Expand All @@ -50,9 +53,10 @@ component.cp.no-jai = ${artifact.dir}/loci-common.jar:\
${artifact.dir}/ome-xml.jar:\
${artifact.dir}/poi-loci.jar:\
${lib.dir}/forms-1.3.0.jar:\
${lib.dir}/imglib2.jar:\
${lib.dir}/log4j-1.2.15.jar:\
${lib.dir}/retrotranslator-runtime-1.2.9.jar:\
${lib.dir}/slf4j-api-1.5.10.jar:\
${lib.dir}/slf4j-log4j12-1.5.10.jar:\
${lib.dir}/testng-5.11-jdk15.jar

# Used by TestNG suite that tests the absence of class from stubs.jar
Expand All @@ -61,7 +65,8 @@ component.cp.no-lurawave = ${artifact.dir}/loci-common.jar:\
${artifact.dir}/ome-xml.jar:\
${artifact.dir}/poi-loci.jar:\
${lib.dir}/forms-1.3.0.jar:\
${lib.dir}/imglib2.jar:\
${lib.dir}/log4j-1.2.15.jar:\
${lib.dir}/retrotranslator-runtime-1.2.9.jar:\
${lib.dir}/slf4j-api-1.5.10.jar:\
${lib.dir}/slf4j-log4j12-1.5.10.jar:\
${lib.dir}/testng-5.11-jdk15.jar
2 changes: 1 addition & 1 deletion components/scifio/pom.xml
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>net.imglib2</groupId>
<artifactId>imglib2</artifactId>
<version>2.0-SNAPSHOT</version>
<version>20120321</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion components/scifio/src/ome/scifio/img/ImgIOUtils.java
Expand Up @@ -181,7 +181,7 @@ public static <T extends RealType<T>> T makeType(final int pixelType) {
}

/** Converts ImgLib2 Type object to SCIFIO pixel type. */
public static <T extends RealType<T>> int makeType(final T type) {
public static int makeType(final RealType<?> type) {
int pixelType = FormatTools.UINT8;
if(type instanceof UnsignedByteType) {
pixelType = FormatTools.UINT8;
Expand Down
Binary file added jar/imglib2.jar
Binary file not shown.
Binary file added jar/retrotranslator-runtime-1.2.9.jar
Binary file not shown.

0 comments on commit 6f4ff36

Please sign in to comment.