[ooo-build] [OOEclipse] OO Debug launcher

Dan Corneanu cdan at savatech.ro
Wed May 26 04:19:53 PDT 2010


Hi,
these are the steps an OO Debug launch configuration should perform:
1. *Export the oxt file* Already done by the OXT Export wizard. In order
to automate this, I think that the destination path should be set to
point to some dit/build folder inside the project.
2. *Start a remote debugger* from eclipse with Connection type: Socket
Listen and a default port (should be configurable)
3. *Deploy the previously built oxt*  by running unopkg with the
UserInstallation env variable set to point to a temporary folder inside
the project (this way we get a clean environment for testing the
extension under development)
4. *Start soffice* with UserInstallation set as above and
JAVA_TOOL_OPTIONS = "-Xdebug"
"-Xrunjdwp:transport=dt_socket,address=plop:7861"

What is the build folder used for? Is it possible to use it as a working
folder for storing the UserInstallation and exporting the oxt ?
Or should it be better to add a new folder to the project's layout, say
dist and use this one as a working folder?

Best regards,
Dan.

-- 
Dan Corneanu
Sava Technologies SRL
Eroilor de la Tisa nr. 33
300553 Timisoara
Romania 

Phone: +40 256 201269, +40 356 101412
Mobile: +40 721 723604
E-mail: cdan at savatech.ro
http://www.savatech.ro



More information about the ooo-build mailing list