[Insight-users] ITK java wrapping - out of resources build failure

Luis Ibanez luis.ibanez at kitware.com
Mon Feb 22 12:12:14 EST 2010


Hi Darren,


           Thanks for tracking this problem.

Gaetan:

     Do you have any objection to this patch ?


Darren:

      Would you like to get write access to ITK ?
      and commit these changes ?


Otherwise, I'll be happy to commit the patch.


     Please let me know,


             Thanks


                  Luis


----------------------------------------------------------------------------------------------------------
On Fri, Feb 19, 2010 at 8:17 PM, Darren Weber
<darren.weber.lists at gmail.com> wrote:
>
> In the MacPorts build for InsightToolkit, we've noticed and replicated a
> build failure for the java wrapping at about 94% completion.
> A possible fix is to add "-J-mx1024m"  to
> patch Wrapping/WrapITK/Java/CMakeLists.txt
>
> --- Wrapping/WrapITK/Java/CMakeLists.txt.orig   2010-02-18
> 18:44:08.000000000 -0800
> +++ Wrapping/WrapITK/Java/CMakeLists.txt        2010-02-18
> 18:44:39.000000000 -0800
> @@ -74,7 +74,7 @@ FOREACH(Kit ${java_itk_modules})
>        OUTPUT ${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.class
>        DEPENDS ${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.java
> ${WRAP_ITK_JAVA_DIR}/InsightToolkit/JavaCWD.java ${ITK_BASE_JAVA_FILE}
> ${ORDERING_DEP}
>        COMMAND ${JAVA_COMPILE}
> -      ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"
> +      ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"
> -J-mx1024m
>
> ${WRAPPER_LIBRARY_OUTPUT_DIR}/${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.java
>        COMMENT "Compile ${File}.java")
>    ENDFOREACH(File)
> @@ -86,7 +86,7 @@ FOREACH(Kit ${java_itk_modules})
>      OUTPUT ${KIT_FILE_NAME}.class
>      DEPENDS ${KIT_FILE_NAME}.java ${FULL_JAVA_DEP_FILES}
> ${ITK_BASE_JAVA_FILE}
> ${WRAPPER_LIBRARY_OUTPUT_DIR}/${WRAP_ITK_JAVA_DIR}/InsightToolkit/JavaCWD.java
> ${ORD
> ERING_DEP}
>      COMMAND ${JAVA_COMPILE}
> -    ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"
> +    ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"
> -J-mx1024m
>      ${KIT_FILE_NAME}.java
>      COMMENT "Building ${KIT_FILE_NAME}.class")
>    SET(ITK_JAVA_KITS_FILES ${ITK_JAVA_KITS_FILES} ${KIT_FILE_NAME}.class)
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list