Hm, I tried the follwoing code:

        import com.rational.java2rei.*;

        public class Test
        {

                public static void main(String [] args)
                {
                        Object res =
RoseApplication.lookupRoseApplication();
                        System.out.println( "result " + res );
                }
        }

and got the answer:
        result 007AC070
The res Object the method returned was a String. So this does not look very
promising. By the way it seemed as if it tried to start a new rose instance
instead of connecting to the one already running on my machine.

Martin Kuball


> -----Urspr�ngliche Nachricht-----
> Von:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Montag, 23. Juli 2001 09:25
> An:   [EMAIL PROTECTED]
> Betreff:      AW: (ROSE) java2rei?
> 
> Via exec-command: 
> 
> 
> --8-<---- MyMenu.mnu ---8-<------8-<------- 
> Menu "My Menu" 
> { 
>         option "My Java Application" 
>         { 
>                 exec "javaw -classpath myapp.jar MyClass.class" 
>         } 
> } 
> ---8-<----------8-<----------8-<----------8-<----------8-<------- 
> 
> Not tried ... 
> 
> 
> Mit freundlichen Gr��en 
> Jan Mat�rne 
> 
> RZF NRW 
> Sachgebiet 314-P Software-Entwicklungs-Methoden 
> Fiscus AFG NW 42 SoftwareEntwicklungsUmgebung 
> Internet:       [EMAIL PROTECTED] 
> 
> 
> -----Urspr�ngliche Nachricht----- 
> Von:    Kuball, Martin [SMTP:[EMAIL PROTECTED]] 
> Gesendet am:    Montag, 23. Juli 2001 09:04 
> An:     [EMAIL PROTECTED] 
> Betreff:        AW: (ROSE) java2rei? 
> 
> 
> Yes, but how do you execute the java code inside Rose? E.g. in a menu 
> definition you have the RoseScript keyword. What do I use for java? 
> 
> Martin Kuball 
> 
> 
> > -----Urspr�ngliche Nachricht----- 
> > Von:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] 
> > Gesendet am:  Montag, 23. Juli 2001 09:05 
> > An:   [EMAIL PROTECTED] 
> > Betreff:      AW: (ROSE) java2rei? 
> > 
> > If I�m right and the javaclasses are the JNI-Wrappers, you can use the 
> > "Standard"-REI-Documentation. 
> > 
> > 
> > Mit freundlichen Gr��en 
> > Jan Mat�rne 
> > 
> > RZF NRW 
> > Sachgebiet 314-P Software-Entwicklungs-Methoden 
> > Fiscus AFG NW 42 SoftwareEntwicklungsUmgebung 
> > Internet:       [EMAIL PROTECTED] 
> > 
> > 
> > -----Urspr�ngliche Nachricht----- 
> > Von:    Kuball, Martin [SMTP:[EMAIL PROTECTED]] 
> > Gesendet am:    Montag, 23. Juli 2001 08:48 
> > An:     [EMAIL PROTECTED] 
> > Betreff:        AW: (ROSE) java2rei? 
> > 
> > 
> > Yes, that's what I expected from looking at the content of the jar. But 
> > some 
> > documentation would be very welcome. 
> > 
> > Martin Kuball 
> > 
> > 
> > > -----Urspr�ngliche Nachricht----- 
> > > Von:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] 
> > > Gesendet am:  Montag, 23. Juli 2001 08:18 
> > > An:   [EMAIL PROTECTED] 
> > > Betreff:      AW: (ROSE) java2rei? 
> > > 
> > > I have reengeneered the jar-file and I think it contains the java 
> > wrapper 
> > > classes for connecting the REI via JNI. 
> > > I haven�t tried it, so do it for yourself (and let us know). 
> > > 
> > > Good luck. 
> > > 
> > > 
> > > Mit freundlichen Gr��en 
> > > Jan Mat�rne 
> > > 
> > > RZF NRW 
> > > Sachgebiet 314-P Software-Entwicklungs-Methoden 
> > > Fiscus AFG NW 42 SoftwareEntwicklungsUmgebung 
> > > Internet:       [EMAIL PROTECTED] 
> > > 
> > > 
> > > -----Urspr�ngliche Nachricht----- 
> > > Von:    Kuball, Martin [SMTP:[EMAIL PROTECTED]] 
> > > Gesendet am:    Freitag, 20. Juli 2001 16:17 
> > > An:     '[EMAIL PROTECTED]' 
> > > Betreff:        (ROSE) java2rei? 
> > > 
> > > 
> > > Hi! 
> > > 
> > > I have installed Rose 2001 and found a directory named java2rei. Can I
> 
> > use 
> > > 
> > > this to write REI scripts in Java instead of Basic? 
> > > 
> > > Greetings, 
> > > Martin 
> > >
> ************************************************************************ 
> > 
> > > * Rose Forum is a public venue for ideas and discussions. 
> > > * For technical support, visit < < <http://www.rational.com/support>>>
> 
> > > * 
> > > * Admin.Subscription Requests: [EMAIL PROTECTED] 
> > > * Archive of messages: 
> > > < <
> <http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl>>> 
> > > * Other Requests: [EMAIL PROTECTED] 
> > > * 
> > > * To unsubscribe from the list, please send email 
> > > * 
> > > * To: [EMAIL PROTECTED] 
> > > * Subject:<BLANK> 
> > > * Body: unsubscribe rose_forum 
> > > * 
> > > 
> >
> ************************************************************************* 
> > > 
> > ************************************************************************
> 
> > * Rose Forum is a public venue for ideas and discussions. 
> > * For technical support, visit < <http://www.rational.com/support>> 
> > * 
> > * Admin.Subscription Requests: [EMAIL PROTECTED] 
> > * Archive of messages: 
> > < <http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl>> 
> > * Other Requests: [EMAIL PROTECTED] 
> > * 
> > * To unsubscribe from the list, please send email 
> > * 
> > * To: [EMAIL PROTECTED] 
> > * Subject:<BLANK> 
> > * Body: unsubscribe rose_forum 
> > * 
> >
> ************************************************************************* 
> > 
> ************************************************************************ 
> * Rose Forum is a public venue for ideas and discussions. 
> * For technical support, visit <http://www.rational.com/support> 
> * 
> * Admin.Subscription Requests: [EMAIL PROTECTED] 
> * Archive of messages:
> <http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl> 
> * Other Requests: [EMAIL PROTECTED] 
> * 
> * To unsubscribe from the list, please send email 
> * 
> * To: [EMAIL PROTECTED] 
> * Subject:<BLANK> 
> * Body: unsubscribe rose_forum 
> * 
> ************************************************************************* 
> 
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to