[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dtp] Re: running datatools in a rap runtime

Erdal Karaca wrote:
I was able to use connectivity core and the oracle enablements in an experimental environment.
There have been no problems except for the connection creation:
connections are created in an eclipe job which are executed in a worker thread. Those worker threads have no access to the ui (in rap this is the user session). Now, if the connection is created, rap will complain about not being able to access the ui.
For now, I changed the connection creation within org.eclipse.datatools.connectivity.internal.ConnectionProfile.ConnectJob.run(..) to use the NullProgressMonitor whenever org.eclipse.core.runtime.jobs.IJobManager.createProgressGroup() (fyi: https://dfruits.dev.java.net/source/browse/dfruits/trunk/com.dfruits.patches.rap/src/com/dfruits/patches/rap/ConnectivityPatch.java?rev=385&view=markup)



That's awesome that you got it to work. Interesting that RAP can't access worker jobs. Is that a known issue with RAP that just has to be worked around?