Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#158 closed task (done)

Make sure all launch configurations work under Linux

Reported by: Henrik Heimbuerger Owned by: Henrik Heimbuerger
Priority: critical Milestone: MS1: First release (1.0.0)
Component: ui Version: pre-1.0
Keywords: Cc:

Description (last modified by Henrik Heimbuerger)

Make sure all launch configurations work under Linux. Try changing as little as possible.

Change History (15)

comment:1 Changed 16 years ago by Henrik Heimbuerger

Description: modified (diff)
Status: newassigned

comment:2 Changed 16 years ago by Florian Roth

The differnce between the linux and the windows launch configuration is the following line:

  • Linux

<stringAttribute key="selected_target_plugins" value="org.eclipse.core.jobs,org.eclipse.update.configurator,org.eclipse.ant.core,org.eclipse.swt.gtk.linux.x86,org.eclipse.core.contenttype,org.junit4,org.eclipse.ui,org.eclipse.core.filesystem.linux.x86,org.eclipse.core.variables,org.eclipse.core.resources,org.eclipse.ui.workbench,org.eclipse.core.runtime,org.eclipse.core.resources.compatibility,org.eclipse.help,org.eclipse.core.runtime.compatibility,org.eclipse.equinox.app,org.eclipse.core.commands,org.eclipse.equinox.preferences,com.ibm.icu,org.eclipse.swt,org.eclipse.jface,org.eclipse.equinox.common,org.eclipse.core.runtime.compatibility.registry,org.eclipse.core.filesystem,org.eclipse.equinox.registry,org.eclipse.jface.databinding,org.eclipse.draw2d,org.eclipse.core.databinding,org.eclipse.core.expressions,org.eclipse.gef,org.eclipse.osgi"/>

  • Windows

<stringAttribute key="selected_target_plugins" value="org.eclipse.core.filesystem.win32.x86,org.eclipse.ant.core,org.eclipse.jface,org.eclipse.equinox.common,org.eclipse.core.variables,org.eclipse.core.contenttype,org.eclipse.core.commands,org.eclipse.core.runtime.compatibility,org.eclipse.core.resources.win32.x86,org.eclipse.osgi,org.eclipse.jface.databinding,org.eclipse.core.runtime,org.eclipse.core.expressions,org.eclipse.equinox.registry,org.eclipse.core.runtime.compatibility.registry,org.eclipse.draw2d,org.eclipse.core.resources.compatibility,org.eclipse.ui.workbench,org.junit4,org.eclipse.help,org.eclipse.equinox.preferences,com.ibm.icu,org.eclipse.core.filesystem,org.eclipse.core.databinding,org.eclipse.core.jobs,org.eclipse.update.configurator,org.eclipse.core.resources,org.eclipse.gef,org.eclipse.swt.win32.win32.x86,org.eclipse.equinox.app,org.eclipse.ui,org.eclipse.swt"/>

comment:3 Changed 16 years ago by Florian Roth

The difference between Linux and Windows in the launches is the line wit the key selected_target_plugins.

comment:4 Changed 16 years ago by SVN

New commit by froth (revision [457]):
[Related to ticket #158] changed the run configurations to work on linux

comment:5 Changed 16 years ago by Florian Roth

Owner: changed from Florian Roth to Henrik Heimbuerger

Please test this. Currently I m not in possession of an windows pc.

An other point is the Jacavi.product. I could not run this on Linux. I tried to add needed Plugins but still does not work for me.

comment:6 Changed 16 years ago by Henrik Heimbuerger

Status: assignedaccepted

comment:7 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [463]):
[Partial fix for ticket #158] Added missing plugins for Windows to the launch configurations.

comment:8 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [464]):
[Partial fix for ticket #158] Added commons-logging jar to the build.properties. (Missing in the last commit.)

comment:9 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [476]):
[Partial fix for ticket #158] Cleaned up the build.properties.

comment:10 Changed 16 years ago by Henrik Heimbuerger

Status: acceptedassigned

comment:11 Changed 16 years ago by Henrik Heimbuerger

Owner: changed from Henrik Heimbuerger to Florian Roth

Loading the libwiiuse.so still doesn't work under Linux. Please test whether putting that file into the working directory will fix it. If so, that could be an easy solution and I'd add that to the deployment script.

Please test on a deployed version from http://www.jacavi.de/download/.

comment:12 Changed 16 years ago by Florian Roth

Owner: changed from Florian Roth to Henrik Heimbuerger

Under Linux we have strange Problems:

  • I start JaCaVi by cklicking -> no wiimote
  • I copy the threee wiiuse files in workingdirectory and start by clicking -> no wiimote
  • I start JaCaVi from console ./JaCaVi? -> no wiimotes
  • I do export LD_LIBRARY_PATH=workingdirectory and start by clicking -> no wiimote
  • I start by console ./JaCaVi? -> Wiimote libs were loaded and wiimote rumbles but in Controllers Dialogue still no wiimote

comment:13 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [530]):
[Related to ticket #158] Linux-deployments now contain a libs/ directory with the libwiiuse.so.

comment:14 Changed 16 years ago by Henrik Heimbuerger

Resolution: done
Status: assignedclosed

Unfortunately, the LD_LIBRARY_PATH will have to be set manually in the final version of JaCaVi. This will be noted in the readme.

There doesn't seem to be another trivial way. One possibility would probably be to statically link the contents of the libwiiuse.so into the libwiiusej.so.

comment:15 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [568]):
[Related to ticket #158] The deployment script no longer crashes if the libs/ subdirectory in the Linux build already exists.

Note: See TracTickets for help on using tickets.