jEdit Community - Resources for users of the jEdit Text Editor
JavaCore-aware JCompiler Plugin (JCompiler.zip v1.6.1 by Doug Breaux)
Submitted by doug on Tuesday, 1 June, 2004 - 02:59
I created a JavaCore-aware version of JCompiler. First, I created a 4.2 version of JCompiler and called it 1.6.0 in its .props file. (The Plugin Central version is 1.5.0). I did put this version into CVS, but I forgot to ask the current maintainer's permission, so I may need to back that out.

In the meantime, I created a local version I called 1.6.1 that added basic interaction with JavaCore. It requires JavaCore and obtains its classpath and sourcepath from that plugin. However, I also provided and registered a simple JavaCore JCompilerClasspathSource implementation that simply uses the existing JCompiler OptionPane HistoryTextFields as the source.

If "JCompiler" is selected in JavaCore's option pane, JCompiler behaves exactly as it does today, except that I've rearranged the option pane to put classpath and sourcepath at the bottom.

If something other than "JCompiler" is selected in JavaCore, the JCompiler classpath and sourcepath fields on its option pane are disabled and a JLabel is added explaining that fact.

NOTE: Either way, the other JCompiler "classpath" options will still be added to what JavaCore returns: Required Library Path, Output Directory, and package of current source file.

I can see that this behaviour, as well as some others, are things some people might like to see done differently, and that's fine. Hopefully this is at least a good starting point and maybe even immediately beneficial to people wanting to use the Ant ClasspathSource implementation.

I'm uploading a zip with both the source and the compiled jar.

Updated on 06/01/2004 - 03:18
Downloads: 1650

Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
jEdit 4.2 version has been tagged in CVS
by doug on Sun, 06/06/2004 - 13:21
1.6.0 is tagged and Dirk has agreed to look at these JavaCore changes.
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   100959
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