Hi Larry,

On Tue, Mar 05, 2013 at 11:14:56AM -0600, Larry Evans wrote:
> > I went through most of the steps in the tutorial, and now I'm at the
> > place with:
> >
> >   in Linux
> >         /home/user_name/.openoffice.org/3/user/Scripts/java/HelloWorld
> >        
> > I happen to have other scripts in:
> >
> >         /home/user_name/.openoffice.org/3/user/Scripts
> >        
> > In particular, I have:
> >
> >   /home/evansl/.openoffice.org/3/user/Scripts/beanshell/LibraryTest:
> >   total used in directory 32 available 54238344
> >   drwxr-xr-x 3 evansl evansl 4096 Jun 11  2012 .
> >   drwxr-xr-x 3 evansl evansl 4096 Jun 11  2012 ..
> >   -rw-r--r-- 1 evansl evansl 1998 Jun 11  2012 MemUsage.bsh
> >   -rw-r--r-- 1 evansl evansl  688 Jun 11  2012 parcel-descriptor.xml
> >        
> > With this, I would have expected to be able to run the MemUsage.bsh
> > script; however, when I tried, no LibraryTest was shown.
> >
> > Then, I looked in the download directory and found:
> >
> >  
> > /home/evansl/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US/openoffice.org3/.openoffice.org/3/user/Scripts
> >  
> > Then, I copied the beanshell scripts from my:
> >   ~/.openoffice.org/3/user/Scripts
> > to the one in the download directory, and now MemUsage.bsh is
> > available for execution in a document.
> >
> > Is this the expected behaviour?  IOW, are the */user/Scripts expected
> > to be stored in the "application" directory:
> >
> >  
> > /home/evansl/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US/


The explanation on this tutorial should use a placeholder:

<UserInstallationDir>/Scripts/beanshell|java|python


If you are using a standard OpenOffice installed in /opt/
<UserInstallationDir> is $HOME/.openoffice.org/<version>/user/

The self contained installation you downloaded to test, has the user
installation directory inside itself, as you already noticed.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpjRMLIdGsGj.pgp
Description: PGP signature

Reply via email to