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

Darren Weber darren.weber.lists at gmail.com
Mon Feb 22 14:54:46 EST 2010


Hi Luis,

The patch was suggested by a MacPorts developer, Jeremy Huddleston. He found
it helpful in our MacPorts build process (I guess). I've not tested it
myself.

Please test it and commit, or not, as you please. If it's commited and
released with the next release (3.18.0), we can remove the patch from the
MacPorts build process for that release (and thereafter).

I'm not actively developing the ITK library sources. A commit privilege for
me is premature at this point. Thanks for asking.

Kind regards,
Darren



On Mon, Feb 22, 2010 at 9:12 AM, Luis Ibanez <luis.ibanez at kitware.com>wrote:

> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100222/0a2b857f/attachment.htm>


More information about the Insight-users mailing list