Page 1 of 1

Second data-source.xml

PostPosted: Thu Sep 03, 2015 10:28 am
by Tarias
Hi,

I know that all data sources for DBeaver are stored into the .dbeaver-data-sources.xml file.
Is it possible to add a second optional file like .dbeaver-core-data-sources.xml, which
is not editable in DBeaver itself.

The reason is that I want to distribute a core data sources to my colleagues, but I don't want
to override their own added sources. Can you please extend DBeaver that it loads this second
data source if it exists.

Thank you very much

Regards

Re: Second data-source.xml

PostPosted: Thu Sep 03, 2015 6:28 pm
by Serge
Yes, it makes sense. And easy to implement.

But I think it's better to have any number of extra config files. For instance all files with name starting with ".dbeaver-data-sources".
.dbeaver-data-sources-extra.xml, .dbeaver-data-sources-2.xml, etc.
I'll add this feature in the next version.

Re: Second data-source.xml

PostPosted: Fri Sep 04, 2015 6:20 am
by Tarias
Thank you very much Serge

Best Regards

Re: Second data-source.xml

PostPosted: Tue Sep 29, 2015 6:09 am
by Tarias
Hi Serge

If tried version 3.5 and created several data sources xml, but the program
only uses the original one. Do you one when this feature will be included?

Thank you

Best Regards

Re: Second data-source.xml

PostPosted: Tue Sep 29, 2015 7:02 am
by Serge
Problem is in project contents refresh. I'll add auto-refresh in the next version.

Workaround: switch to Project Navigator view, select you project and press F5. Then restart DBeaver.