jEdit Community - Resources for users of the jEdit Text Editor
No SQL plugin properties in project viewer
Submitted by AwesomeSheltie on Tuesday, 18 August, 2009 - 13:43
Hi All, I have installed the Windows version of jEdit version 4.3 pre17 and am having trouble getting the SQL plugin installed properly. After it (jEdit and the SQL plugin)was installed, I read all the documentation and have not been able to get the SQL properties tab or tree to show up in the docked Project Viewer. Initially, I installed it via the plugin manager, but after reading the documentation, I noticed that the C:\Documents and Settings\\.jedit\sql directory was empty. So,I downloaded and manually installed the plugin, but am still having the same result. Any ideas? Since this plugin uses the project viewer plugin could it be a plugin-to-plugin problem, or am I just doing something wrong? Thanks in advance
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
SQLPlugin Props
by AwesomeSheltie on Wed, 19/08/2009 - 15:16
I'm looking at the SQLPlugin.props file.

Do these version dependencies have to be exact version numbers?
plugin.sql.SqlPlugin.depend.0=jdk 1.4
plugin.sql.SqlPlugin.depend.1=jedit 04.02.04.00
plugin.sql.SqlPlugin.depend.2=plugin xml.XmlPlugin 0.12
plugin.sql.SqlPlugin.depend.3=plugin CommonControlsPlugin 0.9.3
plugin.sql.SqlPlugin.depend.4=plugin projectviewer.ProjectPlugin 2.1.1
plugin.sql.SqlPlugin.depend.5=plugin errorlist.ErrorListPlugin 1.3

If so, can I just change them in the props file for the current version? I don't know what I'm doing here...but am grabbing at straws.
 
SQLPlugin Workaround
by matt454357 on Fri, 02/10/2009 - 17:47
I looked in the project file for the older version, and found the properties that define servers. Once the correct properties are set, you can use the SQL plugin toolbar to select the desired server. In other words, you don't need the SQL properties dialog in project viewer.

The properties should look like the following:

<property name="sql.servers.list" value=" sqlservername1 sqlservername2" />
<property name="sql.currentServerName" value="sqlservername1" />

<property name="sql.server.sqlservername1.type" value="pgsql" />
<property name="sql.server.sqlservername1.host" value="server1.domain.typ" />
<property name="sql.server.sqlservername1.port" value="5432" />
<property name="sql.server.sqlservername1.dbName" value="dbname1" />
<property name="sql.server.sqlservername1.user" value="username1" />
<property name="sql.server.sqlservername1.password" value="password1" />
<property name="sql.server.sqlservername1.statementDelimiterRegex" value="([\n\r]+;)+[\n\r]+" />
<property name="sql.server.sqlservername1.extra" value="" />

<property name="sql.server.sqlservername2.type" value="pgsql" />
<property name="sql.server.sqlservername2.host" value="server2.domain.typ" />
<property name="sql.server.sqlservername2.port" value="5432" />
<property name="sql.server.sqlservername2.dbName" value="dbname2" />
<property name="sql.server.sqlservername2.user" value="username2" />
<property name="sql.server.sqlservername2.password" value="password2" />
<property name="sql.server.sqlservername2.statementDelimiterRegex" value="([\n\r]+;)+[\n\r]+" />
<property name="sql.server.sqlservername2.extra" value="" />

Of course, this is a painful workaround. But, I don't know who to talk to about getting it fixed. Does someone have a suggestion for how to get plugins fixed? I don't know much about java, or I would fix it myself.
 
No!
by Robert Schwenn on Wed, 19/08/2009 - 20:08
AFAIK these are the minimal requests. And certainly they are not meant to be changed without changing the related source code!

I'm not sure about the features You're talking about. But Project Viewer is newer then the SQL plugin. So, it's possible, that any dependencies are broken...

Robert
 
Yes. Sorry, the current versi
by elberry on Mon, 05/10/2009 - 18:28
Yes. Sorry, the current version of the SQL plugin no longer works with the newer version of the ProjectViewer plugin.

I've created a plugin bug:
https://sourceforge.net/tracker/?func=detail&aid=2873055&group_id=588&atid=565475

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300