Skip to content

Commit

Permalink
Revert "Merge pull request ome#45 from ctrueden/imglib-build-fixes"
Browse files Browse the repository at this point in the history
This reverts commit 6f4ff36, reversing
changes made to f4786f7.

Removal of the ImgLib2 I/O functionality is temporary until we sort out
a few issues. For more details, see:

  ome#49
  • Loading branch information
ctrueden committed Apr 5, 2012
1 parent 4fd1833 commit 57e0164
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions components/scifio/build.properties
Expand Up @@ -8,15 +8,13 @@

component.name = scifio
component.jar = scifio.jar
component.version = 4.4-DEV
component.version = 4.3-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 @@ -41,9 +39,8 @@ 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}/retrotranslator-runtime-1.2.9.jar:\
${lib.dir}/netcdf-4.0.jar:\
${lib.dir}/slf4j-api-1.5.10.jar:\
${lib.dir}/testng-5.11-jdk15.jar

Expand All @@ -53,10 +50,9 @@ 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 @@ -65,8 +61,7 @@ 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>20120321</version>
<version>2.0-SNAPSHOT</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 int makeType(final RealType<?> type) {
public static <T extends RealType<T>> int makeType(final T type) {
int pixelType = FormatTools.UINT8;
if(type instanceof UnsignedByteType) {
pixelType = FormatTools.UINT8;
Expand Down
Binary file removed jar/imglib2.jar
Binary file not shown.
Binary file removed jar/retrotranslator-runtime-1.2.9.jar
Binary file not shown.

0 comments on commit 57e0164

Please sign in to comment.