To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81445





------- Additional comments from [EMAIL PROTECTED] Tue Sep 11 09:52:11 +0000 
2007 -------
O.K.

- First you would need to get ooRexx which is quickly installed (and cleanly
de-installed) from: <http://www.oorexx.org/download.html>. 

To test whether installation went alright you'd just enter "rexx -v" on the
command line and would get the Rexx version information.

- Second you would have to fetch the BSF4Rexx package, which adds the ability to
interface Rexx with Java and Java with Rexx. In addition it contains specific
support for OOo to make programming/scripting easier than with Java.

The latest version (which is slated to be released after OOo 2.3) can be found
here: <http://wi.wu-wien.ac.at/rgf/rexx/bsf4rexx/old/2007/dist.20070707/>. There
you'll find everything including all of the sources.

--> What you need is: <BSF4Rexx_install.zip>, download it and unzip it. All the
files will reside in the created subdirectory named "bsf4rexx".

--- you will see the jar "ScriptProviderForooRexx.jar" which is the
package/extension using OOo' scripting framework and from which the reported
error message comes from

--> change into that directory and issue the following two commands in the
following sequence:

    rexx setupBSF.rex

This will create a few batch files:

    rexxj.{cmd|sh}  ... start any Rexx program via Java

    setEnvironment4BSF4Rexx.{cmd|sh} ... sets up environment to allow Rexx to
invoke Java (and successfully run Rexx scripts that need to access Java)
    

    rexx setupOOo.rex path-to-OpenOffice-directory
    rexx setupOOo.rex d:\Programme\OpenOffice.org 2.3

This will create a few batch files:

    setEnvironment4OOo.{cmd|sh} ... sets up environment to allow accessing OOo
via Java 

    installOOo.{cmd|sh} ... this copies the Rexx support files to the OOo
directory and installs "ScriptProviderForooRexx.jar" using "unopkg"; this will
then allow to use ooRexx as a scripting/macro language from within OOo using
OOo's scripting framework

    uninstallOOo.{cmd|sh} ... uninstalls whatever "installOOo" installed


TESTING your installation:

1) testing access to OOo from the commandline:

   - run "setEnvironment4OOo.{cmd|sh}"
   - run "rexxj.{cmd|sh} testOOo2.rex"

2) testing access from within OOo:

   - go to "Tools -> Macros -> Organize Macros ... -> ooRexx ..."
     the popup would show the root nodes "My Macros", "OpenOffice.org Macros" 
     and "Untitled1"; it is not possible to proceed beyond this popup as
     one cannot create libraries and macros within libraries

   - if it worked, then you would just create a library and a new macro which
     you could execute immediately, no matter from which module you invoke the
     macro (it will check for the document type and bring up an informational
     popup; it's just a sceleton to test and to extend)

---

I hope that these instructions are detailed enough, if not, or if something is
unclear, then please do not hesitate to communicate that (unfortunately, I have
a few dates today, such that I may not be able to immediately answer, but I will
look out until late night whenever I get a chance).
  



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to