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