<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:hinerm@gmail.com" title="Mark Hiner <hinerm@gmail.com>"> <span class="fn">Mark Hiner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - jruby integration is broken"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=776">bug 776</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>ASSIGNED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - jruby integration is broken"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=776#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - jruby integration is broken"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=776">bug 776</a>
from <span class="vcard"><a class="email" href="mailto:hinerm@gmail.com" title="Mark Hiner <hinerm@gmail.com>"> <span class="fn">Mark Hiner</span></a>
</span></b>
<pre>We added a flexible method for adding headers to scripts based on language (see
<a href="https://github.com/scijava/scijava-common/pull/116">https://github.com/scijava/scijava-common/pull/116</a>).
This way, there is no magical behind-the-scenes importing: appropriate import
statements get added to the top of new files (at the least, as in the case with
JRuby, they will point to the file where the imports are declared - imagej.rb
for example).
For now, I only added a Ruby header, which requires imagej.rb, which now
declares several ij package and subpackage imports.
Note that in JRuby, each import has to be explicitly declared - the package.*
notation is not respected. There is a cost to importing additional files, so I
just auto-imported what I thought would be useful (ij.IJ, ImagePlus, and such).
If I missed anything please let me know.
This is live in the current Fiji.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>