About using sdk

Stephan Bergmann sbergman at redhat.com
Mon Apr 7 02:32:36 PDT 2014


On 04/05/2014 10:03 AM, julien2412 wrote:
> Reading https://bugs.freedesktop.org/show_bug.cgi?id=77028, I haven't found
> the way to launch sdk from the built sources.
>
> I added --enable-odk in autogen.input and run "make" (without a "make clean"
> before).
>
> ls instdir/sdk/bin gives this:
> cppumaker  idlc  javamaker  regcompare  ucpp  unoapploader
> uno-skeletonmaker
>
> Then in a console, I launched <libreoffice root
> source>/instdir/program/soffice --nofirststartwizard --nologo --headless
> --norestore --invisible
> "--accept=socket,host=localhost,port=2083,tcpNoDelay=1;urp;"
>
> But what to put in the other console to launch the test?

You first need to configure the SDK,

cd instdir/sdk && ./setsdkenv_unix

(which will leave you in a sub-shell with various env vars set), then cd 
into the relevant examples/ sub-dir and call make there.

Stephan


More information about the LibreOffice mailing list