Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » jar files for accessing existing connection profile
jar files for accessing existing connection profile [message #720128] Mon, 29 August 2011 23:55 Go to next message
Brian Lavender is currently offline Brian LavenderFriend
Messages: 14
Registered: July 2009
Junior Member
I was looking at the FAQ and I saw the below question. What jar files do I include in my project for this? Or, is there a way to create a project that will included the necessary jars?


Q: How do I programmatically access an existing connection profile?

A: Access to existing connection profiles (persisted or transient) is done using the ProfileManager class (org.eclipse.datatools.connectivity.ProfileManager). So this is pretty simple:

IConnectionProfile profile = ProfileManager.getInstance().getProfileByName("myprofile");
Re: jar files for accessing existing connection profile [message #724658 is a reply to message #720128] Mon, 12 September 2011 18:32 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
I think this is the same question as I answered here:
Previous Topic:jar files for IConnectionProfile
Next Topic:Would like to contribute my fix to the open source DTP plugins
Goto Forum:

Current Time: Thu Jan 28 00:07:35 GMT 2021

Powered by FUDForum. Page generated in 0.02355 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top