[OOEclipse] OO Debug launcher

Dan Corneanu <[email protected]>
Newsgroups gmane.comp.gnome.ximian.openoffice
Message-ID <[email protected]>
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: [email protected]
http://www.savatech.ro
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.