Date: Thu, 28 Mar 2024 23:38:18 +0100 (CET)
Message-ID: <2005143782.83.1711665498098@vmisdata19.uni-oldenburg.de>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_82_1958151847.1711665498098"
------=_Part_82_1958151847.1711665498098
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
Programmer's FAQ
Programmer's FAQ
This page lists some of the most frequently asked questions that=
were asked by programmers using Odysseus.
The behavior of the exported product is di=
fferent to the one started from Eclipse. What can I do?
- If you are loading additional files like txt-files, images or data stuf=
f, check the build.properties of your bundle. Each of the file must be chec=
ked in the "binary build" view.
- You can debug the exported product as follows.
1) open the studio.ini an add the following line at the end "-Xrunjdwp:tra=
nsport=3Ddt_socket,address=3D1044,server=3Dy"
2) run the Odysseus (using studio.exe). it should say "Listening for trans=
port dt_socket ad address: 1044"
3) go to Eclipse and open "Debug configurations..." (it is part of the sub=
menu next to the "run debug button")
4) Click on "Remote Java Application" and a a new one using the "New Launc=
h Configuration" button.
5) Use the following settings:
- Project: Select the bundle you want to debug.
- Connection Type: "Standard (Socket Attach)"
- Connection Properties:
H=
ost: localhost
P=
ort: 1044
6) Run "Debug" - now, the window of "studio.exe" that said "Listenin=
g for transport dt_socket ad address: 1044" should now proceed
7) Debug with breakpoints as usual.
- Check, if your bundle is part of the product. A product is based on fea=
tures. So your bundle should be part of a feature and this feature must be =
part of the product.
Why is my logic=
al operator not loaded?
- Check, if the bundle is loaded (part of your feature) and running. Use =
the OSGi console with command "ss" to show the status of all loaded bundles=
.
- Check, if the operator is correctly annotated, see also this page: The Odysseus Oper=
ator Framework
- Check, if the logical operator is a package starting with "de.uniol.inf=
.is.odysseus" and have a subpackage like "logicaloperator" aftwards (there =
can be other strings between this two strings)
------=_Part_82_1958151847.1711665498098--