Paul,
I did include a trouble report the first time I posted the problem. I
didn't get any responses, so I tried a shorter message the second time.
Below is the email with the trouble report.
Thanks in advance for any help you can provide,
Jon
---------------------------------------------------------------------------
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Delivered-To: mailing list [EMAIL PROTECTED]
Date: Fri, 28 Jul 2000 13:22:26 -0400 (EDT)
From: Jonathan Berry - SunSoft CTE <[EMAIL PROTECTED]>
Subject: Error when loading any java source file.
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-MD5: dfL/5BdoP6lDylr/pIoAvQ==
Hi,
I'm getting the following error message when I open any java source
file with xemacs and the JDE. I don't get the error when I use emacs
instead of xemacs.
File mode specification error: (wrong-type-argument sequencep #<keymap 0 entries
0x1078>)
I'm running xemacs 21.1.9, JDE 2.1.9, Semantic 1.2.1 and Speedbar 0.12
on Solaris 5.8. I don't have every xemacs package loaded, but I've
gotten the same failure from an older copy of xemacs that does have all
the packages installed.
There is no backtrace buffer when I get this failure and I don't know
how to produce one. This is the contents of the message log. The
error is at the end.
Loading cus-face...
Loading cus-face...done
Loading customization dependencies...
Loading customization dependencies...done
Loading cl-macs...
Loading cl-macs...done
Bootstrapping objects...
Bootstrapping objects...done
Loading tooltalk-macros...
Loading tooltalk-macros...done
Loading tooltalk-util...
Loading tooltalk-util...done
Loading tooltalk-init...
Loading tooltalk-init...done
Loading sunpro-init...
Loading sunpro-init...done
Loading ring...
Loading ring...done
Loading comint...
Loading comint...done
Loading annotations...
Loading annotations...done
Loading env...
Loading env...done
Loading efs-cu...
Loading efs-cu...done
Setting JDE variables to startup values...
File mode specification error: (wrong-type-argument sequencep #<keymap 0 entries
0x1078>)
Any help with isolating this error would be appreciated,
Jon Berry
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jberry/.emacs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;; This .emacs file illustrates the minimul setup
;; required to run the JDE.
;; Set the debug option to enable a backtrace when a
;; problem occurs.
(setq debug-on-error t)
;; Update the Emacs load-path to include the path to
;; the JDE and its required packages.
(add-to-list 'load-path "/files3/jde/jde-2.1.9/lisp")
(add-to-list 'load-path "/files3/jde/semantic-1.2.1")
(add-to-list 'load-path "/fitiles3/jde/speedbar-0.12")
;; Tell Emacs to load the entire JDE package at startup (only once).
(require 'jde)
;; Sets the basic indentation for Java source files
;; to Two spaces.
(defun my-jde-mode-hook ()
(setq c-basic-offset 2))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
;; Speedbar stuff
;; Add bindings to make it easier to use speedbar
(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
;; Texinfo fancy chapter tags
(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo)))
;; w3 link listings
(autoload 'w3-speedbar-buttons "sb-w3" "s3 specific speedbar button generator.")
;; chapter listings
(autoload 'Info-speedbar-buttons "sb-info" "Info specific speedbar button
genterator.")
;; folder listings
(autoload 'rmail-speedbar-buttons "sb-rmail" "Rmail specific speedbar button
generator.")
;; current stack display
(autoload 'gud-speedbar-buttons "sb-gud" "GUD specific speedbar button
generator.")
;; End speedbar related stuff.
;; Options Menu Settings
;; =====================
(cond
((and (string-match "XEmacs" emacs-version)
(boundp 'emacs-major-version)
(or (and
(= emacs-major-version 19)
(>= emacs-minor-version 14))
(= emacs-major-version 20))
(fboundp 'load-options-file))
(load-options-file "/home/jberry/.xemacs-options")))
;; ============================
;; End of Options Menu Settings
;; Added for Workshop
(when (featurep 'tooltalk)
(load "tooltalk-macros")
(load "tooltalk-util")
(load "tooltalk-init"))
(when (featurep 'sparcworks)
(load "sunpro-init")
(load "ring")
(load "comint")
(load "annotations")
(sunpro-startup))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"/home/jberry/.xemacs-options"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;; -*- Mode: Emacs-Lisp -*-
(setq options-file-xemacs-version '(20 4))
(setq-default case-fold-search t)
(setq-default overwrite-mode nil)
(setq-default case-fold-search t)
(setq-default case-replace t)
(pending-delete-mode 1)
(setq-default zmacs-regions t)
(setq-default mouse-yank-at-point nil)
(setq-default require-final-newline t)
(setq-default next-line-add-newlines nil)
(setq-default teach-extended-commands-p t)
(setq-default teach-extended-commands-timeout 4)
(setq-default debug-on-error t)
(setq-default debug-on-quit nil)
(setq-default lpr-switches nil)
(setq-default ps-print-color-p t)
(setq-default ps-paper-type 'letter)
(setq-default get-frame-for-buffer-default-instance-limit nil)
(setq-default temp-buffer-show-function 'show-temp-buffer-in-current-frame)
(setq-default font-lock-auto-fontify t)
(setq-default font-lock-use-fonts '(or (mono) (grayscale)))
(setq-default font-lock-use-colors '(color))
(setq-default font-lock-maximum-decoration t)
(setq-default font-lock-maximum-size 256000)
(setq-default font-lock-mode-enable-list nil)
(setq-default font-lock-mode-disable-list nil)
(require 'font-lock)
(remove-hook 'font-lock-mode-hook 'turn-on-fast-lock)
(remove-hook 'font-lock-mode-hook 'turn-on-lazy-shot)
(if (featurep 'scrollbar) (progn (add-spec-list-to-specifier scrollbar-width
'nil) (add-spec-list-to-specifier scrollbar-height 'nil)))
(add-spec-list-to-specifier modeline-shadow-thickness '((global (nil . 2))))
(setq-default truncate-lines nil)
(setq-default bar-cursor 2)
(setq-default buffers-menu-max-size 25)
(setq-default complex-buffers-menu-p nil)
(setq-default buffers-menu-sort-function
'sort-buffers-menu-by-mode-then-alphabetically)
(setq-default buffers-menu-grouping-function
'group-buffers-menu-by-mode-then-alphabetically)
(setq-default buffers-menu-submenus-for-groups-p nil)
(setq-default font-menu-ignore-scaled-fonts t)
(setq-default font-menu-this-frame-only-p nil)
(if (featurep 'toolbar) (progn (set-default-toolbar-position 'top)
(add-spec-list-to-specifier default-toolbar-visible-p 'nil)
(add-spec-list-to-specifier toolbar-buttons-captioned-p 'nil)))
(setq-default mouse-avoidance-mode nil)
(setq-default browse-url-browser-function 'browse-url-w3)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The java source file:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Addition program
import java.awt.*; // import the entire java.awt package
import java.awt.event.*; // import events
import java.applet.Applet;
public class Addition extends Applet implements ActionListener {
Label prompt; // prompt user to input values
TextField input; // input values here
int number; // store input value
int sum; // store sum of integers
/**
* Initializes the applet. You never need to call this directly; it is
* called automatically by the system once the applet is created.
*/
public void init() {
prompt = new Label("Enter integer and press Enter:");
input = new TextField(10);
// lets try to set up actions in the 1.1 way
input.addActionListener(this); // add listener to TextField
add(prompt); // put prompt on applet
add(input); // put input on applet
sum = 0; // set sum to zero
}
public void actionPerformed(ActionEvent evt) {
TextComponent tc = (TextComponent)evt.getSource();
String current = tc.getText();
number = Integer.parseInt(current.toString());
input.setText(""); // clear data entry field
sum = sum + number; // add nuber to sum
showStatus (Integer.toString(sum)); // show result
}
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Output from JDE problem report routine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emacs : XEmacs 21.1 (patch 9) "Canyonlands" [Lucid] (sparc-sun-solaris2.8.1) of
Thu Jul 27 2000 on winona
Package: JDE version 2.1.9
current state:
==============
(setq
jde-gen-to-string-method-template '("'&" "\"public String toString() {\" 'n>"
"\"return super.toString();\" 'n>"
"\"}\" 'n>")
jde-bug-jre-home ""
jde-bug-debugger-host-address "winona"
jde-help-docsets nil
jde-run-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation objects")
jde-compile-option-encoding nil
jde-compile-option-optimize nil
jde-run-executable-args nil
jde-compile-option-verbose nil
jde-gen-buffer-templates '(("Class" . jde-gen-class)
("Console" . jde-gen-console)
("Swing App" . jde-gen-jfc-app))
jde-run-option-classpath nil
jde-gen-mouse-listener-template '("'& (P \"Component name: \")"
"\".addMouseListener(new MouseAdapter() {\"
'n>" "\"public void mouseClicked(MouseEvent e) {}\" 'n>" "\"public void
mouseEntered(MouseEvent e) {}\" 'n>" "\"public void mouseExited(MouseEvent e)
{}\" 'n>" "\"public void mousePressed(MouseEvent e) {}\" 'n>" "\"public void
mouseReleased(MouseEvent e) {}});\" 'n>")
jde-make-args ""
jde-gen-jfc-app-buffer-template '("(funcall jde-gen-boilerplate-function) 'n"
"\"import java.awt.Dimension;\" 'n"
"\"import java.awt.Graphics;\" 'n"
"\"import java.awt.Graphics2D;\" 'n"
"\"import java.awt.Color;\" 'n"
"\"import java.awt.geom.Ellipse2D;\" 'n"
"\"import java.awt.event.WindowAdapter;\" 'n"
"\"import java.awt.event.WindowEvent;\" 'n" "\"import javax.swing.JFrame;\" 'n"
"\"import javax.swing.JPanel;\" 'n" "\"import javax.swing.JScrollPane;\" 'n"
"\"import javax.swing.JMenuBar;\" 'n" "\"import javax.swing.JMenu;\" 'n"
"\"import java.awt.event.ActionEvent;\" 'n" "\"import
javax.swing.AbstractAction;\" 'n 'n" "\"/**\" 'n" "\" * \""
"(file-name-nondirectory buffer-file-name) 'n" "\" *\" 'n" "\" *\" 'n" "\" *
Created: \" (current-time-string) 'n" "\" *\" 'n" "\" * @author \"
(user-full-name) 'n" "\" * @version\" 'n" "\" */\" 'n>" "'n>" "\"public class
\"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"
extends JFrame\"" "\" {\" 'n>" "" "\"class Canvas extends JPanel\"" "\" {\"
'n>" "" "\"public Canvas () \"" "\" {\" 'n>" ""
"\"setSize(getPreferredSize());\" 'n>"
"\"Canvas.this.setBackground(Color.white);\" 'n>" "\"}\" 'n> 'n>" "\"public
Dimension getPreferredSize() \"" "\" {\" 'n>" "" "\"return new Dimension(600,
600);\" 'n>" "\"}\" 'n> 'n>" "\"public void paintComponent(Graphics g) \"" "\"
{\" 'n>" "" "\"super.paintComponent(g);\" 'n>" "\"Graphics2D g2d = (Graphics2D)
g;\" 'n>" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" 'n>"
"\"g2d.setColor(Color.red);\" 'n>" "\"g2d.translate(10, 10);\" 'n>"
"\"g2d.draw(circle);\" 'n>" "\"g2d.fill(circle);\" 'n>" "\"}\" 'n> 'n>" "\"}\"
'n> 'n>" "\"public \"" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "\"()\"" "\" {\" 'n>" "" "\"super(\\\"\" (P \"Enter app
title: \") \"\\\");\" 'n>" "\"setSize(300, 300);\" 'n>" "\"addWindowListener(new
WindowAdapter() \"" "\" {\" 'n>" "" "\"public void windowClosing(WindowEvent e)
{System.exit(0);}\" 'n>" "\"public void windowOpened(WindowEvent e) {}\" 'n>"
"\"});\" 'n>" "\"setJMenuBar(createMenu());\" 'n>" "\"getContentPane().add(new
JScrollPane(new Canvas()));\" 'n>" "\"}\" 'n>" "'n>" "\"public static void
main(String[] args) \"" "\" {\" 'n>" "" "'n>" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\" f = new \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\"
'n>" "\"f.show();\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"protected JMenuBar
createMenu() \"" "\" {\" 'n>" "" "\"JMenuBar mb = new JMenuBar();\" 'n>"
"\"JMenu menu = new JMenu(\\\"File\\\");\" 'n>" "\"menu.add(new
AbstractAction(\\\"Exit\\\") \"" "\" {\" 'n>" "" "\"public void
actionPerformed(ActionEvent e) \"" "\" {\" 'n>" "" "\"System.exit(0);\" 'n>"
"\"}\" 'n>" "\"});\" 'n>" "\"mb.add(menu);\" 'n>" "\"return mb;\" 'n>" "\"}\"
'n> 'n>" "\"} // \"" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "'n>")
jde-gen-cflow-while '("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")"
"'(l > \"while (\" (p \"while-clause: \" clause) \") \""
"\"{\" > n> r n" "\"} // end of while (\" (s clause) \")\" > n>)" ")")
jde-bug-breakpoint-marker-colors '("red" . "yellow")
jde-db-source-directories nil
jde-db-debugger '("Other" "jdb" . "Executable")
jde-db-marker-regexp "^Breakpoint hit: .*(\\([^$]*\\).*:\\([0-9]*\\))"
jde-compile-option-deprecation nil
jde-javadoc-see-tag-template '("* @see " ref)
jde-javadoc-since-tag-template '("* @since 1.0")
jde-javadoc-version-tag-template '("* @version 1.0")
jde-imenu-include-classdef t
jde-javadoc-describe-method-template '("* Describe " (jde-javadoc-code name)
" method here.")
jde-gen-inner-class-template '("'& \"class \" (P \"Class name: \" class)"
"(P \"Superclass: \" super t)"
"(let ((parent (jde-gen-lookup-named 'super)))"
"(if (not (string= parent \"\"))" "(concat \" extends \" parent))) \" {\" 'n>"
"\"public \" (s class) \"() {\" 'n> \"}\" 'n> \"}\" 'n>")
jde-run-applet-viewer ""
jde-run-read-vm-args nil
jde-imenu-sort nil
jde-run-java-vm-w "javaw"
jde-run-option-application-args nil
jde-quote-classpath t
jde-enable-abbrev-mode nil
jde-gen-action-listener-template '("'& (P \"Component name: \")"
"\".addActionListener(new ActionListener()
{\" 'n>" "\"public void actionPerformed(ActionEvent e) {\" 'n>" "\"}});\" 'n>")
jde-gen-class-buffer-template '("(funcall jde-gen-boilerplate-function) 'n"
"\"/**\" 'n" "\" * \""
"(file-name-nondirectory buffer-file-name) 'n"
"\" *\" 'n" "\" *\" 'n" "\" * Created: \" (current-time-string) 'n" "\" *\" 'n"
"\" * @author \" (user-full-name) 'n" "\" * @version\" 'n" "\" */\" 'n>" "'n>"
"\"public class \"" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "\" \" (jde-gen-get-super-class)" "\" {\" 'n>" "" "\"public
\"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"
()\"" "\" {\" 'n>" "" "'p 'n>" "\"}\">" "'n>" "'n>" "\"}\">" "\"// \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'n>")
jde-gen-boilerplate-function 'jde-gen-create-buffer-boilerplate
jde-compile-option-classpath nil
jde-gen-code-templates '(("Get Set Pair" . jde-gen-get-set)
("toString method" . jde-gen-to-string-method)
("Action Listener" . jde-gen-action-listener)
("Window Listener" . jde-gen-window-listener)
("Mouse Listener" . jde-gen-mouse-listener)
("Mouse Motion Listener" .
jde-gen-mouse-motion-listener)
("Inner Class" . jde-gen-inner-class)
("println" . jde-gen-println)
("property change support" .
jde-gen-property-change-support)
("EJB Entity Bean" . jde-gen-entity-bean)
("EJB Session Bean" . jde-gen-session-bean))
jde-mode-abbreviations '(("ab" . "abstract") ("bo" . "boolean")
("br" . "break") ("by" . "byte") ("byv" . "byvalue")
("cas" . "cast") ("ca" . "catch") ("ch" . "char")
("cl" . "class") ("co" . "const")
("con" . "continue") ("de" . "default")
("dou" . "double") ("el" . "else")
("ex" . "extends") ("fa" . "false") ("fi" . "final")
("fin" . "finally") ("fl" . "float") ("fo" . "for")
("fu" . "future") ("ge" . "generic") ("go" . "goto")
("impl" . "implements") ("impo" . "import")
("ins" . "instanceof") ("in" . "int")
("inte" . "interface") ("lo" . "long")
("na" . "native") ("ne" . "new") ("nu" . "null")
("pa" . "package") ("pri" . "private")
("pro" . "protected") ("pu" . "public")
("re" . "return") ("sh" . "short") ("st" . "static")
("su" . "super") ("sw" . "switch")
("sy" . "synchronized") ("th" . "this")
("thr" . "throw") ("throw" . "throws")
("tra" . "transient") ("tr" . "true")
("vo" . "void") ("vol" . "volatile")
("wh" . "while"))
jde-compile-option-command-line-args ""
jde-imenu-include-signature t
jde-compile-option-verbose-path nil
jde-db-startup-commands nil
jde-build-use-make nil
jde-appletviewer-option-vm-args nil
jde-run-executable ""
jde-gen-buffer-boilerplate nil
jde-compile-option-depend-switch '("-Xdepend")
jde-compile-option-sourcepath nil
jde-run-mode-hook nil
jde-gen-println '("'&"
"\"System.out.println(\" (P \"Print out: \") \");\" 'n>")
jde-javadoc-exception-tag-template '("* @exception " type
" if an error occurs")
jde-gen-get-set-var-template '("'n>" "(P \"Variable type: \" type) \" \""
"(P \"Variable name: \" name) \";\" 'n> 'n>"
"\"/**\" 'n>"
"\"* Get the value of \" (s name) \".\" 'n>"
"\"* @return value of \" (s name) \".\" 'n>"
"\"*/\" 'n>" "\"public \" (s type)"
"(if (string= \"boolean\" (jde-gen-lookup-named
'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named
'name))" "\"() {return \" (s name) \";}\" 'n> 'n>" "\"/**\" 'n>" "\"* Set the
value of \" (s name) \".\" 'n>" "\"* @param v Value to assign to \" (s name)
\".\" 'n>" "\"*/\" 'n>" "\"public void set\" (jde-gen-init-cap
(jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) {this.\" (s name) \" =
v;}\" 'n>")
jde-db-option-application-args nil
jde-run-option-verify '(nil t)
jde-bug-server-shmem-name '(t . "JDEbug")
jde-javadoc-describe-interface-template '("* Describe interface "
(jde-javadoc-code name) " here.")
jde-db-option-classpath nil
jde-bug-vm-executable '("java")
jde-gen-k&r t
jde-gen-cflow-if '("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")"
"'(l > \"if (\" (p \"if-clause: \" clause) \") \""
"\"{\" > n> r n"
"\"} // end of if (\" (s clause) \")\" > n>)" ")")
jde-db-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation objects")
jde-run-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-gen-cflow-case '("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")"
"'(l n \"case \" (p \"value: \") \":\" > n> p n"
"\"break;\" > n> p)" ")")
jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html"
jde-gen-console-buffer-template '("(funcall jde-gen-boilerplate-function) 'n"
"\"/**\" 'n" "\" * \""
"(file-name-nondirectory buffer-file-name)
'n" "\" *\" 'n" "\" *\" 'n" "\" * Created: \" (current-time-string) 'n" "\" *\"
'n" "\" * @author \" (user-full-name) 'n" "\" * @version\" 'n" "\" */\" 'n>"
"'n>" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "\" {\" 'n>" "" "\"public \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\" ()\"" "\" {\" 'n>" "" "'n>"
"\"}\" 'n>" "'n>" "\"public static void main(String[] args)\"" "\" {\" 'n>" ""
"'p 'n>" "\"}\" 'n> 'n>" "\"} // \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "'n>")
jde-run-option-vm-args nil
jde-gen-mouse-motion-listener-template '("'& (P \"Component name: \")"
"\".addMouseMotionListener(new
MouseMotionAdapter() {\" 'n>" "\"public void mouseDragged(MouseEvent e) {}\"
'n>" "\"public void mouseMoved(MouseEvent e) {}});\" 'n>")
jde-bug-window-message nil
jde-gen-cflow-if-else '("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")"
"'(l > \"if (\" (p \"if-clause: \" clause) \") \""
"\"{\" > n> r n"
"\"} // end of if (\" (s clause) \")\" > n>"
"> \"else \"" "\"{\" > n> r n"
"\"} // end of if (\" (s clause) \")else\" > n>)" ")")
jde-bug-jpda-directory ""
jde-gen-property-change-support '("'&"
"\"protected PropertyChangeSupport pcs = new
PropertyChangeSupport(this);\" 'n>" "\"/**\" 'n>\"* Adds a
PropertyChangeListener to the listener list.\" 'n>" "\"* The listener is
registered for all properties.\" 'n>" "\"*\" 'n> \"* @param listener The
PropertyChangeListener to be added\" 'n> \"*/\" 'n>" "\"public void
addPropertyChangeListener(PropertyChangeListener listener) {\" 'n>"
"\"pcs.addPropertyChangeListener(listener);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"*
Removes a PropertyChangeListener from the listener list.\" 'n>" "\"* This
removes a PropertyChangeListener that was registered for all properties.\" 'n>"
"\"*\" 'n> \"* @param listener The PropertyChangeListener to be removed\" 'n>
\"*/\" 'n>" "\"public void removePropertyChangeListener(PropertyChangeListener
listener) {\" 'n>" "\"pcs.removePropertyChangeListener(listener);\" 'n> \"}\"
'n> 'n>" "\"/**\" 'n>\"* Adds a PropertyChangeListener for a specific
property.\" 'n>" "\"* The listener will be invoked only when a call on
firePropertyChange\" 'n>" "\"* names that specific property.\" 'n>" "\"*\" 'n>
\"* @param propertyName The name of the property to listen on\" 'n>" "\"* @param
listener The PropertyChangeListener to be added\" 'n> \"*/\" 'n>" "\"public void
addPropertyChangeListener(String propertyName,\" 'n>" "\"PropertyChangeListener
listener) {\" 'n>" "\"pcs.addPropertyChangeListener(propertyName, listener);\"
'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* Removes a PropertyChangeListener for a
specific property.\" 'n>" "\"*\" 'n> \"* @param propertyName The name of the
property that was listened on\" 'n>" "\"* @param listener The
PropertyChangeListener to be removed\" 'n> \"*/\" 'n>" "\"public void
removePropertyChangeListener(String propertyName,\" 'n>"
"\"PropertyChangeListener listener) {\" 'n>"
"\"pcs.removePropertyChangeListener(propertyName, listener);\" 'n> \"}\" 'n>
'n>" "\"/**\" 'n>\"* Reports a bound property update to any registered
listeners. \" 'n>" "\"* No event is fired if old and new are equal and
non-null.\" 'n>" "\"*\" 'n> \"* @param propertyName The programmatic name of the
property that was changed\" 'n>" "\"* @param oldValue The old value of the
property\" 'n>" "\"* @param newValue The new value of the property.\" 'n> \"*/\"
'n>" "\"public void firePropertyChange(String propertyName, Object oldValue,
Object newValue) {\" 'n>" "\"pcs.firePropertyChange(propertyName, oldValue,
newValue);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* Reports a bound property update
to any registered listeners. \" 'n>" "\"* No event is fired if old and new are
equal and non-null.\" 'n>" "\"* This is merely a convenience wrapper around the
more general\" 'n>" "\"* firePropertyChange method that takes Object values.\"
'n>" "\"* No event is fired if old and new are equal and non-null.\" 'n>" "\"*\"
'n> \"* @param propertyName The programmatic name of the property that was
changed\" 'n>" "\"* @param oldValue The old value of the property\" 'n>" "\"*
@param newValue The new value of the property.\" 'n> \"*/\" 'n>" "\"public void
firePropertyChange(String propertyName, int oldValue, int newValue) {\" 'n>"
"\"pcs.firePropertyChange(propertyName, oldValue, newValue);\" 'n> \"}\" 'n>
'n>" "\"/**\" 'n>\"* Reports a bound property update to any registered
listeners. \" 'n>" "\"* No event is fired if old and new are equal and
non-null.\" 'n>" "\"* This is merely a convenience wrapper around the more
general\" 'n>" "\"* firePropertyChange method that takes Object values.\" 'n>"
"\"* No event is fired if old and new are equal and non-null.\" 'n>" "\"*\" 'n>
\"* @param propertyName The programmatic name of the property that was changed\"
'n>" "\"* @param oldValue The old value of the property\" 'n>" "\"* @param
newValue The new value of the property.\" 'n> \"*/\" 'n>" "\"public void
firePropertyChange(String propertyName, boolean oldValue, boolean newValue) {\"
'n>" "\"pcs.firePropertyChange(propertyName, oldValue, newValue);\" 'n> \"}\"
'n> 'n>" "\"/**\" 'n>\"* Fires an existing PropertyChangeEvent to any registered
listeners.\" 'n>" "\"* No event is fired if the given event's old and new values
are equal and non-null. \" 'n>" "\"*\" 'n> \"* @param evt The
PropertyChangeEvent object.\" 'n>\"*/\" 'n>" "\"public void
firePropertyChange(PropertyChangeEvent evt) {\" 'n>"
"\"pcs.firePropertyChange(evt);\" 'n> \"}\" 'n> 'n>" "\"/**\" 'n>\"* Checks if
there are any listeners for a specific property.\" 'n>" "\"*\" 'n> \"* @param
evt The PropertyChangeEvent object.\" 'n>" "\"* @return <code>true</code>if
there are one or more listeners for the given property\" 'n>" "\"*/\" 'n>"
"\"public boolean hasListeners(String propertyName) {\" 'n>" "\"return
pcs.hasListeners(propertyName);\" 'n> \"}\" 'n> 'n>")
jde-read-make-args nil
jde-gen-entity-bean-template '("(jde-wiz-insert-imports-into-buffer (list
\"javax.ejb.*\"\n\"java.rmi.RemoteException\"))"
"(jde-wiz-update-implements-clause \"EntityBean\")" "'> \"public void
ejbActivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'> \"public void
ejbPassivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'> \"public void
ejbLoad() throws RemoteException {\"'n>\"}\"'n 'n" "'> \"public void ejbStore()
throws RemoteException {\"'n>\"}\"'n 'n" "'> \"public void ejbRemove() throws
RemoteException {\"'n>\"}\"'n 'n" "'> \"public void
setEntityContext(EntityContext ctx) throws\nRemoteException {\"" "'n>\"}\"'n 'n"
"'> \"public void unsetEntityContext() throws RemoteException {\"'n>\n\"}\"'n>
'n")
jde-run-classic-mode-vm nil
jde-db-option-verify '(nil t)
jde-bug-saved-breakpoints nil
jde-bug-debug nil
jde-project-file-name "prj.el"
jde-run-java-vm "java"
jde-compile-option-directory ""
jde-run-applet-doc ""
jde-db-option-properties nil
jde-gen-cflow-for-i '("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")"
"'(l > \"for (int \" (p \"variable: \" var) \" = 0; \""
"(s var)"
"\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \""
"\"{\" > n> r n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \"
(s ub) \"; \" (s var) \"++)\" > n>)" ")")
jde-wiz-insert-excluded-packages-regexp "bsh.*"
jde-read-compile-args nil
jde-db-read-app-args nil
jde-compile-option-vm-args nil
jde-compile-option-depend nil
jde-gen-cflow-switch '("(if (jde-parse-comment-or-quoted-p)"
"'(l \"switch\")"
"'(l > \"switch (\" (p \"switch-condition: \" clause)
\") \"" "\"{\" > n" "\"case \" (p \"first value: \") \":\" > n> p n" "\"break;\"
> n> p n" "\"default:\" > n> p n" "\"break;\" > n" "\"} // end of switch (\" (s
clause) \")\" > n>)" ")")
jde-compile-option-nowarn nil
jde-bug-raise-frame-p t
jde-run-option-properties nil
jde-javadoc-param-tag-template '("* @param " name " " (jde-javadoc-a type)
" " (jde-javadoc-code type) " value")
jde-db-option-garbage-collection '(t t)
jde-key-bindings '(("[? ? ?]" . jde-run-menu-run-applet)
("[? ? ?]" . jde-build) ("[? ? ?]" . jde-compile)
("[? ? ?]" . jde-debug)
("[? ? ?]" . jde-wiz-implement-interface)
("[? ? ?j]" . jde-javadoc-generate-javadoc-template)
("[? ? ?]" . bsh) ("[? ? ?]" . jde-gen-println)
("[? ? ?]" . jde-browse-jdk-doc)
("[? ? ?]" . jde-save-project)
("[? ? ?]" . jde-wiz-update-class-list)
("[? ? ?]" . jde-run)
("[? ? ?]" . speedbar-frame-mode)
("[? ? ?]" . jde-db-menu-debug-applet)
("[? ? ?]" . jde-help-symbol)
("[? ? ?]" . jde-show-class-source)
("[? ? ?]" . jde-wiz-find-and-import)
("[(control c) (control v) (control ?.)]" .
jde-complete-at-point-menu)
("[(control c) (control v) ?.]" . jde-complete-at-point))
jde-db-mode-hook nil
jde-project-context-switching-enabled-p t
jde-javadoc-describe-field-template '("* Describe "
(jde-javadoc-field-type modifiers) " "
(jde-javadoc-code name) " here.")
jde-db-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-bug-key-bindings '(("[? ? ?]" . jde-bug-step-over)
("[? ? ?]" . jde-bug-step-into)
("[? ? ?]" . jde-bug-step-out)
("[? ? ?]" . jde-bug-continue)
("[? ? ?]" . jde-bug-set-breakpoint))
jde-run-option-verbose '(nil nil nil)
jde-bug-jdk-directory "e:/jdk1.3/"
jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
jde-global-classpath nil
jde-bug-vm-includes-jpda-p nil
jde-javadoc-describe-class-template '("* Describe class "
(jde-javadoc-code name) " here.")
jde-run-application-class ""
jde-gen-cflow-else '("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")"
"'(l > \"else \"" "\"{\" > n> r n"
"\"} // end of else\" > n>)" ")")
bsh-startup-timeout 3
jde-compile-option-target '("1.1")
jde-imenu-enable t
jde-make-program "make"
jde-db-option-vm-args nil
jde-gen-window-listener-template '("'& (P \"Window name: \")"
"\".addWindowListener(new WindowAdapter()
{\" 'n>" "\"public void windowActivated(WindowEvent e) {}\" 'n>" "\"public void
windowClosed(WindowEvent e) {}\" 'n>" "\"public void windowClosing(WindowEvent
e) {System.exit(0);}\" 'n>" "\"public void windowDeactivated(WindowEvent e) {}\"
'n>" "\"public void windowDeiconified(WindowEvent e) {}\" 'n>" "\"public void
windowIconified(WindowEvent e) {}\" 'n>" "\"public void windowOpened(WindowEvent
e) {}});\" 'n>")
jde-run-option-java-profile '(nil . "./java.prof")
jde-entering-java-buffer-hooks '(jde-reload-project-file)
jde-db-option-java-profile '(nil . "./java.prof")
jde-bug-server-socket '(t . "2112")
jde-javadoc-author-tag-template '("* @author <a href=\"mailto:"
user-mail-address "\">" user-full-name
"</a>")
jde-bug-debugger-command-timeout 10
jde-run-read-app-args nil
jde-run-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-db-option-verbose '(nil nil nil)
jde-compile-option-debug '("selected" (t nil nil))
jde-javadoc-return-tag-template '("* @return " (jde-javadoc-a type) " "
(jde-javadoc-code type) " value")
jde-run-working-directory ""
jde-compile-option-bootclasspath nil
jde-db-read-vm-args nil
jde-compile-option-extdirs nil
jde-compiler "javac"
jde-appletviewer-option-encoding ""
jde-gen-session-bean-template '("(jde-wiz-insert-imports-into-buffer (list
\"javax.ejb.*\"\n\"java.rmi.RemoteException\"))"
"(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void
ejbActivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'> \"public void
ejbPassivate() throws RemoteException {\"'n> \"}\"'n\n'n" "'> \"public void
ejbRemove() throws RemoteException {\"'n> \"}\"'n 'n" "'> \"public void
setSessionContext(SessionContext ctx) throws\nRemoteException {\"" "'n> \"}\"'n
'n" "'> \"public void unsetSessionContext() throws RemoteException
{\"'n>\n\"}\"'n 'n")
jde-gen-cflow-main '("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")"
"'(l > \"public static void main (String[] args) \""
"\"{\" > n> r n" "\"} // end of main ()\" > n>)" ")")
jde-javadoc-describe-constructor-template '("* Creates a new "
(jde-javadoc-code name)
" instance.")
jde-db-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-run-option-garbage-collection '(t t)
jde-db-set-initial-breakpoint t
jde-gen-cflow-for '("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")"
"'(l > \"for (\" (p \"for-clause: \" clause) \") \""
"\"{\" > n> r n"
"\"} // end of for (\" (s clause) \")\" > n>)" ")")
jde-use-font-lock t
)
There was no *JDEBug* buffer
There is no CLI buffer
There is no locals buffer
There was no *Backtrace* buffer
There was no *Messages* buffer
Process environment:
TTY=/dev/pts/5
GUIDEHOME=/usr/dist/local/pkgs/devguide,v3.0.1/5.x-sparc=
JAVA_HOME=/usr/java1.2
ROOT=/files3/admin/proto
SRC=/files3/admin/src
REMHOST=cte-lab1.east
BUGTEXT=/bugtext
PRINTER=bur220
ORGANIZATION=Sun Microsystems Inc. - BDC
AUTOMOUNT_FIXNAMES=true
LD_LIBRARY_PATH=/usr/openwin/lib
PWD=/home/jberry
TERMINAL_EMULATOR=dtterm
WINDOWID=10485769
release=5.8.1
XMBINDDIR=/usr/dt/lib/bindings
DTHELPSEARCHPATH=/home/jberry/.dt/help/jberry-winona-0/%H:/home/jberry/.dt/help/
jberry-winona-0/%H.sdl:/home/jberry/.dt/help/jberry-winona-0/%H.hv:/home/jberry/
.dt/help/%H:/home/jberry/.dt/help/%H.sdl:/home/jberry/.dt/help/%H.hv:/usr/dt/app
config/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.
hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig
/help/C/%H.hv
TZ=US/Eastern
dtstart_sessionlogfile=/dev/console
TERM=dtterm
XMICONSEARCHPATH=/home/jberry/.dt/icons/%B%M.pm:/home/jberry/.dt/icons/%B%M.bm:/
home/jberry/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/ic
ons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/
usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
HOME=/home/jberry
DTAPPSEARCHPATH=/home/jberry/.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc
/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/app
manager/C
SHELL=/bin/csh
DISPLAY=:0.0
USER=jberry
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame
StartDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor
StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
MAIL=/var/mail/jberry
LOGNAME=jberry
EDITOR=vi
OPENWINHOME=/usr/openwin
SESSION_SVR=winona
XMICONBMSEARCHPATH=/home/jberry/.dt/icons/%B%M.bm:/home/jberry/.dt/icons/%B%M.pm
:/home/jberry/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/
icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm
:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
DTUSERSESSION=jberry-winona-0
AB_CARDCATALOG=/usr/dt/share/answerbooks/C/ab_cardcatalog
PATH=/usr/bin:/usr/etc:/usr/sbin:/usr/dt/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/
openwin/demo:/usr/java1.2/bin:/usr/local/bin:/usr/dist/pkgs/devpro,v5.0/5.x-spar
c/bin:/export/workshop/Java-WorkShop3.0/sparc-S2/bin:/usr/sadm/bin:/usr/ucb:/usr
/dist/svr4/bin:/usr/dist/local/bos/exe:/usr/dist/local/exe:/usr/dist/exe:/dat/sw
tools/bin:/home/jberry:.
DTSOURCEPROFILE=true
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
LANG=C
DTXSERVERLOCATION=local
DTDATABASESEARCHPATH=/home/jberry/.dt/types,/etc/dt/appconfig/types/%L,/etc/dt/a
ppconfig/types/C,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
MANPATH=/usr/openwin/share/man:/usr/share/man:/opt/SUNWsunpc/man:/opt/SUNWwabi/m
an:/usr/dt/man:/opt/SUNWpcnfs/man:/usr/dist/share/man:/usr/dist/pkgs/devpro,v4.0
/5.x-sparc/man:/usr/dist/share/devpro/5.x-sparc/man
The contents of the .emacs file was
;; This .emacs file illustrates the minimul setup
;; required to run the JDE.
;; Set the debug option to enable a backtrace when a
;; problem occurs.
(setq debug-on-error t)
;; Update the Emacs load-path to include the path to
;; the JDE and its required packages.
(add-to-list 'load-path "/files3/jde/jde-2.1.9/lisp")
(add-to-list 'load-path "/files3/jde/semantic-1.2.1")
(add-to-list 'load-path "/fitiles3/jde/speedbar-0.12")
;; Tell Emacs to load the entire JDE package at startup (only once).
(require 'jde)
;; Sets the basic indentation for Java source files
;; to Two spaces.
(defun my-jde-mode-hook ()
(setq c-basic-offset 2))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
;; Speedbar stuff
;; Add bindings to make it easier to use speedbar
(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
;; Texinfo fancy chapter tags
(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo)))
;; w3 link listings
(autoload 'w3-speedbar-buttons "sb-w3" "s3 specific speedbar button generator.")
;; chapter listings
(autoload 'Info-speedbar-buttons "sb-info" "Info specific speedbar button
genterator.")
;; folder listings
(autoload 'rmail-speedbar-buttons "sb-rmail" "Rmail specific speedbar button
generator.")
;; current stack display
(autoload 'gud-speedbar-buttons "sb-gud" "GUD specific speedbar button
generator.")
;; End speedbar related stuff.
;; Options Menu Settings
;; =====================
(cond
((and (string-match "XEmacs" emacs-version)
(boundp 'emacs-major-version)
(or (and
(= emacs-major-version 19)
(>= emacs-minor-version 14))
(= emacs-major-version 20))
(fboundp 'load-options-file))
(load-options-file "/home/jberry/.xemacs-options")))
;; ============================
;; End of Options Menu Settings
;; Added for Workshop
(when (featurep 'tooltalk)
(load "tooltalk-macros")
(load "tooltalk-util")
(load "tooltalk-init"))
(when (featurep 'sparcworks)
(load "sunpro-init")
(load "ring")
(load "comint")
(load "annotations")
(sunpro-startup))
=====end inserted .emacs file
Re: Error when loading Java source files
Jonathan Berry - SunSoft CTE Thu, 03 Aug 2000 12:08:29 -0700
- Error when loading Java source files Jonathan Berry - SunSoft CTE
- Re: Error when loading Java source files Paul Kinnucan
- Re: Error when loading Java source files Jonathan Berry - SunSoft CTE
- Re: Error when loading Java source files Paul Kinnucan
- Re: Error when loading Java source files Jonathan Berry - SunSoft CTE
