Hi Cyrille,
This sounds great. When you say that all seems to work fine, is there
anything that you can actually trigger on the Java side? Also, is it
possible to have callbacks from Java to Smalltalk?
Cheers,
Doru
On 30 Aug 2010, at 17:22, Cyrille Delaunay wrote:
Hello,
If soemone is interested in JNIPort, I just published a small
example using it. It is not doing yet what I was expecting :), but
it already set up correctly a Pharo 1.1 image to run the example
(loading Alien, JNIPort, making a link to the JAVAVM for mac).
In this example I try to generate a mse file with infusion, by
directly invoking the main method of Java2Mse (instead of invoking
OSProcess to execute the script). All seems to work fine (except
that the mse file is not generated, I still have to find why).
To load it, this should work (for a pharo 1.1 image):
Gofer new
url: 'www.squeaksource.com/DelaunayTmpStuffs';
package: 'JNIPortExample';
load.
There is a class comment and an example in the class side
('cyrilleOwnExample').
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Beauty is where we see it."