[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-devel
Subject: [ jEdit-devel ] [ jedit-Bugs-1034269 ] Mac OS X integration in 4.2final
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2004-12-13 14:36:52
Message-ID: E1CdrJk-0003DP-36 () sc8-sf-web4 ! sourceforge ! net
[Download RAW message or body]
Bugs item #1034269, was opened at 2004-09-24 18:50
Message generated for change (Comment added) made by smsm1
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1034269&group_id=588
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Wade (simonvwade)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mac OS X integration in 4.2final
Initial Comment:
The jEdit.app Mac OS X application stub in the 4.2final release
doesn't work with Java 1.4.2 Update 2 (or the previous versions).
The MacOsPlugin complains that it can't find classes that I have
confirmed do exist in the classpath. The JavaInsight plugin shows
that the classes are present in the classpath, although they cannot
be found when the MacOsPlugin is started.
The following command:
$ java -cp /System/Library/Java:/System/Library/Frameworks/
JavaVM.framework/Versions/CurrentJDK/Classes/ui.jar:/
Applications/Editors/jEdit\ 4.2/jedit.jar org.gjt.sp.jedit.jEdit
-noserver &
... yeilds the following output:
[error] EditPlugin$JAR: Error while starting plugin
macos.MacOSPlugin
[error] EditPlugin$JAR: java.lang.NoSuchMethodError:
com.apple.eawt.Application.addApplicationListener(Lcom/apple/
eawt/ApplicationListener;)V
[error] EditPlugin$JAR: at macos.MacOSPlugin.start(Unknown
Source)
[error] EditPlugin$JAR: at
org.gjt.sp.jedit.PluginJAR.startPlugin(PluginJAR.java:1134)
[error] EditPlugin$JAR: at
org.gjt.sp.jedit.PluginJAR.activatePlugin(PluginJAR.java:473)
[error] EditPlugin$JAR: at
org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(PluginJAR.java
:536)
[error] EditPlugin$JAR: at org.gjt.sp.jedit.jEdit.main(jEdit.java:
439)
... even though the Application class and therefore the
addApplicationListener() method (as per Apple's documentation)
do exist in the classpath.
I've been trying to fix this problem for a while but I can't make
any more progress with it.
Thanks,
Simon
----------------------------------------------------------------------
Comment By: Shaun McDonald (smsm1)
Date: 2004-12-13 14:36
Message:
Logged In: YES
user_id=1079067
See https://sourceforge.net/tracker/?
func=detail&aid=1003151&group_id=588&atid=565475
It is the Gruntspud plugin that causes this problem.
----------------------------------------------------------------------
Comment By: Paul Libbrecht (polx)
Date: 2004-12-10 15:41
Message:
Logged In: YES
user_id=647450
Can't seem to make an attachment.
A version that's working for me is at:
http://klein.activemath.org/~paul/tmp/MacOS-plugin-revision.zip
It includes MacOS.jar the MacOS directory (inside jars folder under CVS),
and the app.
Sorry I can't compare this to the cvs which seems in timeout situation
again. I know that we badly have to find an automated cross-platform
way to make these MacOS specifics (or at least a fully ant-based one,
even if only on Macs). If someone could investigate...
paul
----------------------------------------------------------------------
Comment By: Paul Libbrecht (polx)
Date: 2004-12-10 15:41
Message:
Logged In: YES
user_id=647450
Can't seem to make an attachment.
A version that's working for me is at:
http://klein.activemath.org/~paul/tmp/MacOS-plugin-revision.zip
It includes MacOS.jar the MacOS directory (inside jars folder under CVS),
and the app.
Sorry I can't compare this to the cvs which seems in timeout situation
again. I know that we badly have to find an automated cross-platform
way to make these MacOS specifics (or at least a fully ant-based one,
even if only on Macs). If someone could investigate...
paul
----------------------------------------------------------------------
Comment By: Paul Libbrecht (polx)
Date: 2004-12-10 14:38
Message:
Logged In: YES
user_id=647450
It's running flawlessly by me... using, I think, a CVS copy (but not of the
.app which is generated outside of ant for some reasons).
I'll try to attach the needed pieces.
paul
----------------------------------------------------------------------
Comment By: Paul Libbrecht (polx)
Date: 2004-12-10 14:38
Message:
Logged In: YES
user_id=647450
It's running flawlessly by me... using, I think, a CVS copy (but not of the
.app which is generated outside of ant for some reasons).
I'll try to attach the needed pieces.
paul
----------------------------------------------------------------------
Comment By: Shaun McDonald (smsm1)
Date: 2004-11-26 12:36
Message:
Logged In: YES
user_id=1079067
These are the errors that I get:
Shaun-McDonalds-iBook:~ shaunmcdonald$ java -cp /System/Library/
Java:/System/Library/Frameworks/JavaVM.framework/Versions/
CurrentJDK/Classes/ui.jar:/Applications/jEdit\ 4.2/jedit.jar
org.gjt.sp.jedit.jEdit -noserver &
[2] 763
[1] Exit 127 -noserver
Shaun-McDonalds-iBook:~ shaunmcdonald$ [warning] jEdit: You cannot
specify both the -background and -noserver switches
[error] EditBus: Exception while sending message on EditBus:
[error] EditBus: java.lang.NullPointerException
[error] EditBus: at
ise.plugin.bmp.BufferLocalPlugin.getBufferLocalString(BufferLocalPlugin.j
ava:200)
[error] EditBus: at
ise.plugin.bmp.BufferLocalPlugin.handleMessage(BufferLocalPlugin.java:
162)
[error] EditBus: at org.gjt.sp.jedit.EditBus.send(EditBus.java:148)
[error] EditBus: at org.gjt.sp.jedit.jEdit.addBufferToList(jEdit.java:3612)
[error] EditBus: at org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1476)
[error] EditBus: at org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1381)
[error] EditBus: at
org.gjt.sp.jedit.PerspectiveManager$PerspectiveHandler.endElement(Pers
pectiveManager.java:338)
[error] EditBus: at
com.microstar.xml.XmlParser.parseETag(XmlParser.java:1041)
[error] EditBus: at
com.microstar.xml.XmlParser.parseContent(XmlParser.java:1112)
[error] EditBus: at
com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
[error] EditBus: at
com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118)
[error] EditBus: at
com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
[error] EditBus: at
com.microstar.xml.XmlParser.parseDocument(XmlParser.java:496)
[error] EditBus: at
com.microstar.xml.XmlParser.doParse(XmlParser.java:176)
[error] EditBus: at com.microstar.xml.XmlParser.parse(XmlParser.java:
146)
[error] EditBus: at
org.gjt.sp.jedit.PerspectiveManager.loadPerspective(PerspectiveManager.j
ava:81)
[error] EditBus: at org.gjt.sp.jedit.jEdit$5.run(jEdit.java:3450)
[error] EditBus: at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
[error] EditBus: at java.awt.EventQueue.dispatchEvent(EventQueue.java:
454)
[error] EditBus: at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatch
Thread.java:234)
[error] EditBus: at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThr
ead.java:184)
[error] EditBus: at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
178)
[error] EditBus: at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
170)
[error] EditBus: at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
using Mac OS X 10.3.6, JDK 1.4.2 Update 2, jEdit 4.2 final.
Nothing about MacOS jar plugin.
This edit bus does seem to have some bugs in it. Generally I startup by
double clicking the .app file. All error are funelled to console.log :-)
----------------------------------------------------------------------
Comment By: Dr. Volker Goebbels (vgoebbels)
Date: 2004-09-30 11:49
Message:
Logged In: YES
user_id=965144
I had the same problem. What helped was to move /Applications/jEdit
4.2/jars/MacOS.jar out of the way by naming it "MacOS.jar.old".
Startup went smooth from thereon. The plugin manager doesn't list it any
more but also doesn't complain ;)
Volker
----------------------------------------------------------------------
Comment By: Gerd Knops (gerti)
Date: 2004-09-27 17:11
Message:
Logged In: YES
user_id=561513
Works fine here, same Java version.
Does the app wrapper work for you when double-clicked?
I suspect you may have a stale MacOSPlugin somewhere. Check if you
have ~/.jedit/jars/MacOS.jar, and if yes delete it.
Gerd
----------------------------------------------------------------------
Comment By: Trevor Harmon (vocaro)
Date: 2004-09-24 19:28
Message:
Logged In: YES
user_id=720008
I'd like to help with this, but I'm swamped for the next two or
three weeks. If no progress has been made by then in fixing the
problem, shoot me an email and I'll try to reproduce the bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1034269&group_id=588
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
--
-----------------------------------------------
jEdit Developers' List
jEdit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic