We using multiple developing computers.
These get all data from an subversion server (with subclipse).
Lets say: on computer A there was a database connection profile created,
which now want to be used also on computer B and C.
Is there an function to save or export the connection profile to text file in workspace ?
Which may be committed to svn and later be checked out on B or C ?
If not may you give me a starting point to extend sqlexplorer (core?).
thanks Torsten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To copy your db alias definitions you can checkin the:
SQLAliases.xml
file which is located in your workspace directory under:
.metadata/.plugins/net.sourceforge.sqlexplorer
and check it out and copy it to the same location on the other computers. This file has no local references.
Attention:
This file contains only the alias definitions. You need a valid driver definition in SQLDrivers.xml that the aliases can work properly.
Normaly this file contains references to your local JDBC-Driver jar (maintained in Preferences/SQL Explorer/JDBC Drivers).
If you have the same local file structur you can copy this file too. Otherwise configure the JDBC-Driver for each db type you want to connect to in each workspace using the SQL Explorer preference pages.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We using multiple developing computers.
These get all data from an subversion server (with subclipse).
Lets say: on computer A there was a database connection profile created,
which now want to be used also on computer B and C.
Is there an function to save or export the connection profile to text file in workspace ?
Which may be committed to svn and later be checked out on B or C ?
If not may you give me a starting point to extend sqlexplorer (core?).
thanks Torsten
It seems there is no appropriate extension point for that function to implement, right ?
To copy your db alias definitions you can checkin the:
SQLAliases.xml
file which is located in your workspace directory under:
.metadata/.plugins/net.sourceforge.sqlexplorer
and check it out and copy it to the same location on the other computers. This file has no local references.
Attention:
This file contains only the alias definitions. You need a valid driver definition in SQLDrivers.xml that the aliases can work properly.
Normaly this file contains references to your local JDBC-Driver jar (maintained in Preferences/SQL Explorer/JDBC Drivers).
If you have the same local file structur you can copy this file too. Otherwise configure the JDBC-Driver for each db type you want to connect to in each workspace using the SQL Explorer preference pages.
Thank you for this information, it works.
It's not very nicely integrated but may be it's a too rarely used function.