The 9th Circle of Hell: building a jEdit distribution with ant
Submitted by
namxat on
Wednesday, 4 August, 2004 - 04:47
Hello. I am not new to jEdit, but I am fairly new to ant. I am trying to build the dist target, and am routinely rewarded with a quite verbose, yet uninformative, list of errors.
Now I don't know if I should be superuser when I build this (I assume I should), and I don't know what environment variables ant and/or jEdit's build.xml file expect (the build.xml file is not enlightening to me). None of this is documented anywhere that I could find. I do have my $JAVA_HOME global environment variable set to '/usr/java/j2sdk1.4.2_05', and '$JAVA_HOME/bin' is included in the global $PATH variable.
Upon initial examination of ant's output, it appears as though none of the standard j2sdk classes are being found by ant. Since pretty much EVERY modern distribution of Sun's JDK includes the standard Java class files on the system classpath by default (1.4.2 DEFINITELY does), the only explanation I can think of is some sort of rogue dynamic classloader issue. In any case, I am thoroughly convinced that had Dante's Inferno been written in modern times, dealing with ant and/or dynamic Java classloading would have been listed as one of the punishments for sinners in the 9th Circle of Hell.
But enough venting from me. If anyone can think of any glaring newbie mistake I might be making after examining the following error trace from my pitiful attempt to build a jEdit distribution, I would greatly appreciate the advice:
[root@localhost jEdit]# ant dist
Buildfile: build.xml
init:
[delete] Deleting: /usr/src/jEdit/doc/docbook-wrapper.xsl
compile:
[javac] Compiling 362 source files to /usr/src/jEdit
[javac] /usr/src/jEdit/org/gjt/sp/jedit/textarea/TextAreaPainter.java:54: error: Superinterface `TabExpander' of class `org.gjt.sp.jedit.textarea.TextAreaPainter' not found.
[javac] public class TextAreaPainter extends JComponent implements TabExpander
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/syntax/Chunk.java:305: error: Type `TabExpander' not found in the declaration of the argument `expander' of method `init'.
[javac] public void init(Segment seg, TabExpander expander, float x,
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/syntax/DisplayTokenHandler.java:43: error: Type `TabExpander' not found in the declaration of the argument `expander' of method `init'.
[javac] TabExpander expander, List out,
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/syntax/DisplayTokenHandler.java:156: error: Type `TabExpander' not found in declaration of field `expander'.
[javac] private TabExpander expander;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/TextAreaDialog.java:89: error: Type `JTextArea' not found in the declaration of the local variable `textArea'.
[javac] JTextArea textArea = new JTextArea(10,80);
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/ViewRegisters.java:119: error: Type `JTextArea' not found in declaration of field `contentTextArea'.
[javac] private JTextArea contentTextArea;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:216: error: Type `JTextArea' not found in the declaration of the return type of method `getBeforeCaretTextArea'.
[javac] public JTextArea getBeforeCaretTextArea()
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:222: error: Type `JTextArea' not found in the declaration of the return type of method `getAfterCaretTextArea'.
[javac] public JTextArea getAfterCaretTextArea()
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:229: error: Type `JTextArea' not found in declaration of field `beforeCaret'.
[javac] private JTextArea beforeCaret, afterCaret;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/AbbrevEditor.java:229: error: Type `JTextArea' not found in declaration of field `afterCaret'.
[javac] private JTextArea beforeCaret, afterCaret;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/gui/PasteFromListDialog.java:124: error: Type `JTextArea' not found in declaration of field `clipText'.
[javac] private JTextArea clipText;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/pluginmgr/InstallPanel.java:449: error: Superclass `JTextArea' of class `org.gjt.sp.jedit.pluginmgr.InstallPanel$PluginInfoBox' not found.
[javac] class PluginInfoBox extends JTextArea implements ListSelectionListener
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/print/BufferPrintable.java:28: error: Class or interface `javax.swing.text.TabExpander' not found in import.
[javac] import javax.swing.text.TabExpander;
[javac] ^
[javac] /usr/src/jEdit/org/gjt/sp/jedit/print/BufferPrintable.java:375: error: Superinterface `TabExpander' of class `org.gjt.sp.jedit.print.BufferPrintable$PrintTabExpander' not found.
[javac] static class PrintTabExpander implements TabExpander
[javac] ^
[javac] 14 errors
BUILD FAILED
file:/usr/src/jEdit/build.xml:35: Compile failed; see the compiler error output for details.
Total time: 4 seconds
[root@localhost jEdit]#
New install gives me MRJ error
Submitted by Anonymous on Tuesday, 20 July, 2004 - 05:52
Hi, I've just installed jedit on an up to date install of OS X, and everytime I run JEdit I get "Mac OS Plugin requires a newer version of Java (MRJ 3.2).
What does this mean? and what effects does it have?
TIA,
Mark
how to add reference of other api manuals from within a zip file to jedit help window?
Submitted by Anonymous on Sunday, 18 July, 2004 - 08:56
Hi,
Is there a way to add the references to manuals of other softwares - such as jdk api - so that the documentation can be loaded from a zip file into the jedit help window. i know that unziping the manual into jedit/doc/api folder along with a simple xml file does the job. However, its a criminal waste of space to unzip the manual (help files).
Thanks,
Salgavkar
Problems Compiling
Submitted by Anonymous on Thursday, 15 July, 2004 - 14:48
I am running Windows 98 and when I try to compile I get the bad command error message. I think my problem is in my path but I don't know how to fix it. What do I do?
jedit installation breaks my JRE
Submitted by
williamc on
Saturday, 3 July, 2004 - 10:50
I have been using jedit for some time and love it. Then I started having unrelated problems with my JRE (my system is Win2000). So I removed jedit and the JRE. I reinstalled the JRE (Sun j2sdk-1_4_2_04), and test applets work fine and I can launch JAR files.
After running the jedit installer however (jedit41install.jar), things break again. The applets won't load (Sun's JRE test page just hangs), and JAR files cannot be opened even at a command line. Another thing that I noticed is that a multimedia application we use breaks during initialization - I think it's checking various plugins, but don't really know what has failed. It reports a missing DLL.
Any thoughts?
Unix Version Locks X-Window on Wintel PC
Submitted by
cedombek on
Thursday, 1 July, 2004 - 19:56
I have 2 editors who want to use jEdit on our Sun server to edit XSLT. One uses Netsarang for X-emulation on a Win2K PC, the other uses Hummingbird Exceed. When jEdit is launched on the Exceed box, it siezes control of the entire Windows desktop, anchoring to the lower right hand corner of the screen. I can find no config file that controls windowing behavior for jedit and the X-emulation software in both cases is set to Multiple Windows. Any thoughts suggestions would be helpful.
How to install JEdit???How to use it?
Submitted by Anonymous on Thursday, 24 June, 2004 - 08:43
i am interested in the JEdit ...but i have no idea on how to download it...
How to install JEdit???How to use it?
Submitted by Anonymous on Thursday, 24 June, 2004 - 08:42
i am interested in the JEdit ...but i have no idea on how to download it...
Where is jEditLauncher???
Submitted by Anonymous on Wednesday, 23 June, 2004 - 07:45
Hi,
I just downloaded and installed 42pre14. I upgraded from 4.0.3, and I notice there is now no windows EXE.
This FAQ Item (http://jedit.org/FAQ/installation.html#id2877328) refers to JeditLauncher, but I don't see anything like this in my install directory, and I don't see any exe's.
What am I missing? I need to have an exe so I can set up right-click sendto and associate files and such.
Thanks,
Chad
Error message installing jedit on xp
Submitted by
akula on
Saturday, 19 June, 2004 - 05:32
Could someone please help me with the error below ?
I'm insalling jedit14install.jar on XP
Thanks......
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x2E03784
Function=Java_sun_awt_font_NativeFontWrapper_registerFonts+0x14C0
Library=C:\j2sdk1.4.2_04\jre\bin\fontmanager.dll
Current Java thread:
at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
- locked <0x1419cd98> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:797)
at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:640)
at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:53)
at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:262)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:256)
- locked <0x1050eb20> (a sun.awt.Win32GraphicsEnvironment)
at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:370)
at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:412)
at javax.swing.text.html.CSS.getValidFontNameMapping(CSS.java:910)
- locked <0x10017490> (a java.lang.Object)
at javax.swing.text.html.CSS$FontFamily.parseCssValue(CSS.java:1858)
at javax.swing.text.html.CSS.getInternalCSSValue(CSS.java:529)
at javax.swing.text.html.CSS.addInternalCSSValue(CSS.java:514)
at javax.swing.text.html.StyleSheet.addCSSAttribute(StyleSheet.java:464)
at javax.swing.text.html.StyleSheet$CssParser.handleValue(StyleSheet.java:3109)
at javax.swing.text.html.CSSParser.parseDeclaration(CSSParser.java:341)
at javax.swing.text.html.CSSParser.parseDeclarationBlock(CSSParser.java:308)
at javax.swing.text.html.CSSParser.parseRuleSet(CSSParser.java:255)
at javax.swing.text.html.CSSParser.getNextStatement(CSSParser.java:161)
at javax.swing.text.html.CSSParser.parse(CSSParser.java:136)
at javax.swing.text.html.StyleSheet$CssParser.parse(StyleSheet.java:3031)
at javax.swing.text.html.StyleSheet.loadRules(StyleSheet.java:303)
at javax.swing.text.html.HTMLEditorKit.getStyleSheet(HTMLEditorKit.java:359)
at javax.swing.text.html.HTMLEditorKit.createDefaultDocument(HTMLEditorKit.java:186)
at javax.swing.JEditorPane.setEditorKit(JEditorPane.java:945)
at javax.swing.JEditorPane.setContentType(JEditorPane.java:871)
at javax.swing.JEditorPane.getStream(JEditorPane.java:696)
at javax.swing.JEditorPane.setPage(JEditorPane.java:392)
at installer.SwingInstall$TextPanel.(SwingInstall.java:336)
at installer.SwingInstall.(SwingInstall.java:66)
at installer.Install.main(Install.java:37)
Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk1.4.2_04\bin\java.exe
0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78087000 C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08136000 C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll
0x77D40000 - 0x77DCC000 C:\WINDOWS\system32\USER32.dll
0x7E090000 - 0x7E0D1000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
0x10000000 - 0x10007000 C:\j2sdk1.4.2_04\jre\bin\hpi.dll
0x00390000 - 0x0039E000 C:\j2sdk1.4.2_04\jre\bin\verify.dll
0x003A0000 - 0x003B8000 C:\j2sdk1.4.2_04\jre\bin\java.dll
0x003C0000 - 0x003CD000 C:\j2sdk1.4.2_04\jre\bin\zip.dll
0x02C60000 - 0x02D6A000 C:\j2sdk1.4.2_04\jre\bin\awt.dll
0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll
0x771B0000 - 0x772D4000 C:\WINDOWS\system32\ole32.dll
0x5AD70000 - 0x5ADA4000 C:\WINDOWS\System32\uxtheme.dll
0x02DD0000 - 0x02E20000 C:\j2sdk1.4.2_04\jre\bin\fontmanager.dll
0x73760000 - 0x737A4000 C:\WINDOWS\System32\ddraw.dll
0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
0x73940000 - 0x73A07000 C:\WINDOWS\System32\D3DIM700.DLL
0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 335K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 53% used [0x10010000, 0x10053fe0, 0x10090000)
from space 64K, 100% used [0x10090000, 0x100a0000, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 1408K, used 312K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 22% used [0x104f0000, 0x1053e3a8, 0x1053e400, 0x10650000)
compacting perm gen total 4096K, used 4018K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 98% used [0x14010000, 0x143fcbc8, 0x143fcc00, 0x14410000)
Local Time = Fri Jun 18 23:55:55 2004
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
#
code browsr - php completion
Submitted by
herve_php on
Friday, 18 June, 2004 - 12:24
hello,
i installed the last rpm of gedit on a redhat9 jdk 1.4.2
i upgrade ctags to last one 5.5-4 but i can't see my fonctions in codeBrowser just 6 variables.
when i start jedit form comand line i get :
==========================
[error] java.lang.ClassNotFoundException: com.incors.plaf.kunststoff.KunststoffLookAndFeel
[error] at java.net.URLClassLoader$1.run(Unknown Source)
.. more here
[error] at org.gjt.sp.jedit.jEdit.main(Unknown Source)
[warning] clipper.ClipperPlugin should extend EditPlugin not EBPlugin since it has an empty
handleMessage()
[warning] contexthelp.ContextHelpPlugin should extend EditPlugin not EBPlugin since it has an empty handle Message()
[error] [Fatal Error] catalog:1:1: Content is not allowed in prolog.
=========================
is this related ? (i am not using look and feel kunstoff) should i desintall look and fell plug-in ?
i crawled google to find out how to work with codebrowser and didn't found any answer to my situation. do i need to create a tag file from ctags ? if yes where to put it ?
do i need to change somes settings ?
How to change from JRE to JDK?
Submitted by
laroald on
Monday, 7 June, 2004 - 18:00
Two days ago I installed jEdit for the first time. Then JEdit discovered the JRE I have on my harddisk. I would like to use JEdit for compiling java source and have therefore tried a lot to let jEdit use JRE instead of JRE. I have read that I should " go to Start-->JEdit-->Set JEdit parameters and choose \bin\javaw.exe", but that is not possible with the last version of jEdit. (I'm using win.98).
I have also been tried this : "To compile, set your working directory (in the console) to the java programs directory (on mine it's C:\j2sdk1.4.1_06\bin. Then go to Plugins->Console->javac and the program will run for you.".
Doesn't this mean the plugin "console"? This console give me a message (in green colour:
Working directory is C:\Programfiler\JEdit
I'm not capable to change this adress over to my SDK-bin-folder.
I hope someone could help me with this.
laroald
How to launch jEdit from SourceCode?
Submitted by Anonymous on Wednesday, 2 June, 2004 - 13:01
Hi,
I downloaded Java Source Code but there are so many files that I don't understand how to launch jEdit...
Can anyone help me?
How to install a scheme?
Submitted by Anonymous on Monday, 31 May, 2004 - 17:11
I have searched jEdit Help. And the forums here. And I can not figure out how to install the schemes. (Maybe a quick link could be added on the scheme download page?)
Thanks in advance.
--Xapp
Mandrake 9.2 jEdit4.2pre5.1jpp does not run
Submitted by
jaction on
Saturday, 22 May, 2004 - 18:15
I can install jEdit from the RPM from Mandrake with no problem: no dependency errors, everything just fine.
I have java in /usr/java/j2re1.4.2_04/
PATH=$PATH:/usr/java/j2re1.4.2_04/bin
JAVA_HOME=/usr/java/j2re1.4.2_04
CLASSPATH=$JAVA_HOME/lib
But, when I run jEdit in the term I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: error:
Any help?
CodeBrowser in Mac OS X
Is there a binary for exuberant ctags for Mac OS X. Sourceforce.net has the source with a make file for CodeWarrior but I do not have it. I have GCC.
Thank You
Juan
Install errorlist manually
Submitted by Anonymous on Tuesday, 18 May, 2004 - 08:50
hi, I have a problem to install the plugin errorlist.
operating system: mac osx panther (10.3.3)
software: jedit version 4.12pre13
I cant download the plugin from the software. now, I downloaded it from www.jedit.org. I got a folder called "ErrorList". I put the file "ErrorList.jar" in the jEdit 4.2pre13/jars-folder. what do I have to do with the rest of the ErrorList-folder? In software, I can see the errorlist but it shows no errors.
does somebody know an answer? It would just be great.
Thank you very much for your help.
Simone Baumgartner
Install errorlist manually
Submitted by Anonymous on Tuesday, 18 May, 2004 - 08:50
hi, I have a problem to install the plugin errorlist.
operating system: mac osx panther (10.3.3)
software: jedit version 4.12pre13
I cant download the plugin from the software. now, I downloaded it from www.jedit.org. I got a folder called "ErrorList". I put the file "ErrorList.jar" in the jEdit 4.2pre13/jars-folder. what do I have to do with the rest of the ErrorList-folder? In software, I can see the errorlist but it shows no errors.
does somebody now an answer? It would just be great.
Thank you very much for your help.
Simone Baumgartner
Cannot startup jEdit
Submitted by Anonymous on Thursday, 13 May, 2004 - 01:00
Hi i installed jedit a few days ago to try out a bunch of text editors to see which one i like the best, shortly afterwards i uninstalled them all and decided on jedit, when i tried to reinstall it it now gives me an error every time i try to start it up which says:
Cannot launch java application:
Uncaught exception in main method: java.lang.ClassCastException
Im using panther 10.3 and it originally worked very well, now it dosnt
I really dont wanna have to reinstall just to get jedit working again...
Thanks
Multiple Versions Installed
Submitted by Anonymous on Monday, 3 May, 2004 - 15:25
When plugin development trails the current version, I would like to run both the lastest version and a stable version for my favorite plugins.
Is it possible to have more than one version of jEdit installed and usable?
Mark L.