<div><br></div><div>Hi Luis,</div><div><br></div><div>The patch was suggested by a MacPorts developer, <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Jeremy Huddleston. He found it helpful in our MacPorts build process (I guess). I've not tested it myself.</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>
</span></font></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">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).</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">I'm not actively developing the ITK library sources. A commit privilege for me is premature at this point. Thanks for asking.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Kind regards,</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Darren</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>
</span></font></div><br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 9:12 AM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Darren,<br>
<br>
<br>
Thanks for tracking this problem.<br>
<br>
Gaetan:<br>
<br>
Do you have any objection to this patch ?<br>
<br>
<br>
Darren:<br>
<br>
Would you like to get write access to ITK ?<br>
and commit these changes ?<br>
<br>
<br>
Otherwise, I'll be happy to commit the patch.<br>
<br>
<br>
Please let me know,<br>
<br>
<br>
Thanks<br>
<br>
<br>
Luis<br>
<br>
<br>
----------------------------------------------------------------------------------------------------------<br>
<div><div></div><div class="h5">On Fri, Feb 19, 2010 at 8:17 PM, Darren Weber<br>
<<a href="mailto:darren.weber.lists@gmail.com">darren.weber.lists@gmail.com</a>> wrote:<br>
><br>
> In the MacPorts build for InsightToolkit, we've noticed and replicated a<br>
> build failure for the java wrapping at about 94% completion.<br>
> A possible fix is to add "-J-mx1024m" to<br>
> patch Wrapping/WrapITK/Java/CMakeLists.txt<br>
><br>
> --- Wrapping/WrapITK/Java/CMakeLists.txt.orig 2010-02-18<br>
> 18:44:08.000000000 -0800<br>
> +++ Wrapping/WrapITK/Java/CMakeLists.txt 2010-02-18<br>
> 18:44:39.000000000 -0800<br>
> @@ -74,7 +74,7 @@ FOREACH(Kit ${java_itk_modules})<br>
> OUTPUT ${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.class<br>
> DEPENDS ${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.java<br>
> ${WRAP_ITK_JAVA_DIR}/InsightToolkit/JavaCWD.java ${ITK_BASE_JAVA_FILE}<br>
> ${ORDERING_DEP}<br>
> COMMAND ${JAVA_COMPILE}<br>
> - ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"<br>
> + ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"<br>
> -J-mx1024m<br>
><br>
> ${WRAPPER_LIBRARY_OUTPUT_DIR}/${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.java<br>
> COMMENT "Compile ${File}.java")<br>
> ENDFOREACH(File)<br>
> @@ -86,7 +86,7 @@ FOREACH(Kit ${java_itk_modules})<br>
> OUTPUT ${KIT_FILE_NAME}.class<br>
> DEPENDS ${KIT_FILE_NAME}.java ${FULL_JAVA_DEP_FILES}<br>
> ${ITK_BASE_JAVA_FILE}<br>
> ${WRAPPER_LIBRARY_OUTPUT_DIR}/${WRAP_ITK_JAVA_DIR}/InsightToolkit/JavaCWD.java<br>
> ${ORD<br>
> ERING_DEP}<br>
> COMMAND ${JAVA_COMPILE}<br>
> - ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"<br>
> + ARGS -classpath "${ITK_JAVA_CLASSPATH}" -d "${ITK_JAVA_OUTPATH}"<br>
> -J-mx1024m<br>
> ${KIT_FILE_NAME}.java<br>
> COMMENT "Building ${KIT_FILE_NAME}.class")<br>
> SET(ITK_JAVA_KITS_FILES ${ITK_JAVA_KITS_FILES} ${KIT_FILE_NAME}.class)<br>
><br>
</div></div>> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
</blockquote></div><br>