jEdit Community - Resources for users of the jEdit Text Editor
Console plugin - change classpath default for javac
Submitted by janM on Tuesday, 27 June, 2006 - 11:30
I am using JEdit on Windows XP platform.

When I use the javac command with the console plugin it always defaults to "$Classpath; folder of java source code".

I would prefer to use the classpath environment variable setting, which it will do if I delete the default entry. However I don't want to have to do this each time I run the command.

Is there any way I can amend this default setting?

Thanks
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
small hack
by Robert Schwenn on Tue, 27/06/2006 - 21:31
1. Extract "javac.xml" from console.jar!/console/commands
2. In "javac.xml" edit Tag 'ENTRY LABEL="Class path" VARNAME="classpath" EVAL="getBufferClassPath(buffer)"' to 'ENTRY LABEL="Class path" VARNAME="classpath"'
3. Exit jedit
4a. Copy back the xml-file to the archive OR
4b. Copy it with a different name to jedit's settings directory under \console\commando\ to create a new "commando". In this way Your changes survive update's of console plugin.
5. Restart jedit
 
Thanks
by janM on Thu, 29/06/2006 - 14:14
That works just fine, especially the tip to create a new commando.

Thanks
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