I'm attempting to run jdebug on linux with the Sun/Inprise JDK, and am
getting a different error from ones I've seen posted already posted to
the jde list.
Here's the Process Main(1) buffer output:
*** Debugger Output for Process Main(1) ***
Error: debugger unable to launch Main.
Reason: VM initialization failed for:
/usr/local/lib/javatools/jdk1.2.2_Sun_Inprise_RC1/jre/bin/java -Xdebug
-Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=tigger.geoworks.com:2723,suspend=y
-classpath
/home/ambrose/jellyfish/tux-2/server:/home/ambrose/jellyfish/tux-2/lib
Main /home/ambrose/jellyfish/tux-2
Error: unable to run Main..
Reason: Application ID '1' does not exist.
Here's the *JDebug* buffer contents:
/usr/local/lib/javatools/jdk1.2.2_Sun_Inprise_RC1/bin/java -classpath
/home/ambrose/my-lisp/jf-test/jde-2.1.6beta14/java/lib/jde.jar:/usr/local/lib/javatools/jdk1.2.2_Sun_Inprise_RC1/lib/jpda.jar
jde.debugger.Main
(jde-dbo-init-debug-session)
JDE> -1 1 launch 1 -vmexec java -classpath
/home/ambrose/jellyfish/tux-2/server:/home/ambrose/jellyfish/tux-2/lib
Main /home/ambrose/jellyfish/tux-2
(jde-dbo-command-error
1 "VM initialization failed for:
/usr/local/lib/javatools/jdk1.2.2_Sun_Inprise_RC1/jre/bin/java -Xdebug
-Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=tigger.geoworks.com:2723,suspend=y
-classpath
/home/ambrose/jellyfish/tux-2/server:/home/ambrose/jellyfish/tux-2/lib
Main /home/ambrose/jellyfish/tux-2")
JDE> 1 2 run
(jde-dbo-command-error 2 "Application ID '1' does not exist")
--------------------------------------------------------------------------------
Here's the rest of the stuff inserted by the 'submit bug report' menu
item, with
a few of my other startup files...
--------------------------------------------------------------------------------
Emacs : GNU Emacs 20.4.1 (i386-redhat-linux-gnu, X toolkit)
of Sat Sep 25 1999 on porky.devel.redhat.com
Package: JDE version 2.1.6beta14
current state:
==============
(setq
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-run-classic-mode-vm 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))
jde-make-args "/home/ambrose/jellyfish/tux-2/server"
jde-mode-abbreviations '(("ab" . "abstract") ("bo" . "boolean") ("br" .
"break") ("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") ("impl" . "implements") ("impo" . "import") ("ins" .
"instanceof") ("inte" . "interface") ("lo" . "long")
("na" . "native") ("ne" . "new") ("nu" .
"null") ("pa" . "package") ("pri" . "private") ("pro" . "protected")
("pu" . "public") ("sh" . "short") ("st" . "static")
("su" . "super") ("sw" . "switch") ("sy" .
"synchronized") ("th" . "this") ("thr" . "throw") ("tra" . "transient")
("tr" . "true") ("vo" . "void") ("vol" . "volatile")
("wh" . "while") ("mie" . "ModuleInfoEvent")
("miep" . "ModuleInfoEvent.PRIORITY_") ("trie" . "TransactionInfoEvent")
("triec" . "TransactionInfoEvent.CATEGORY_"))
jde-compile-option-verbose nil
jde-db-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-bug-breakpoint-marker-colors '("red" . "yellow")
jde-gen-buffer-boilerplate nil
jde-db-option-application-args '("/home/ambrose/jellyfish/tux-2")
jde-bug-vm-includes-jpda-p nil
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>
'n>" "\"class Canvas extends JPanel {\" 'n> '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>" "\"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-compile-option-nowarn nil
jde-run-java-vm-w "javaw"
jde-compile-option-encoding nil
jde-run-option-java-profile '(nil . "./java.prof")
jde-bug-jpda-directory
"/usr/local/lib/javatools/jdk1.2.2_Sun_Inprise_RC1/"
jde-read-compile-args nil
jde-run-java-vm
"/usr/local/lib/javatools/jdk1.2.2_Sun_Inprise_RC1/bin/java"
jde-db-option-verbose '(nil nil nil)
jde-db-read-app-args nil
jde-run-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
jde-gen-println '("'&" "\"System.out.println(\" (P \"Print out: \")
\");\" 'n>")
jde-enable-abbrev-mode t
jde-global-classpath '("/home/ambrose/jellyfish/tux-2/server"
"/home/ambrose/jellyfish/tux-2/lib")
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-working-directory "/home/ambrose/jellyfish/tux-2"
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-db-marker-regexp "^Breakpoint hit: .*(\\([^$]*\\).*:\\([0-9]*\\))"
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-key-bindings '(("" . jde-compile) ("" . jde-run) ("" .
jde-db) ("" . jde-build) ("" . jde-run-menu-run-applet) ("" .
jde-db-menu-debug-applet)
("\n" . bsh) ("" . speedbar-frame-mode) (""
. jde-wiz-implement-interface) ("" . jde-wiz-import) ("" .
jde-browse-jdk-doc)
("" . jde-save-project) ("\f" .
jde-gen-println))
jde-run-option-classpath nil
jde-compile-option-verbose-path nil
jde-db-debugger '("jdebug" . "Class")
jde-jdk-doc-url
"http://www.javasoft.com/products/jdk/1.1/docs/index.html"
jde-compiler "jikes"
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> '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-appletviewer-option-vm-args nil
jde-db-option-garbage-collection '(t t)
jde-use-font-lock t
jde-compile-option-bootclasspath nil
jde-make-program "make.pl"
jde-run-option-vm-args nil
jde-compile-option-directory ""
jde-wiz-insert-excluded-packages-regexp "bsh.*"
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> '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-read-make-args 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-run-option-application-args nil
jde-bug-vm-executable '("java")
jde-db-set-initial-breakpoint t
jde-bug-debugger-command-timeout 10
jde-db-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-db-option-properties nil
jde-db-source-directories '("/usr/local/lib/jdk/src/"
"/home/ambrose/jellyfish/tux-2/server/"
"/home/ambrose/jellyfish/tux-2/lib/"
"/home/ambrose/jellyfish/tux-2/app/")
jde-run-read-app-args nil
jde-gen-to-string-method-template '("'&" "\"public String toString()
{\" 'n>" "\"return super.toString();\" 'n>" "\"}\" 'n>")
jde-quote-classpath nil
jde-build-use-make t
jde-compile-option-classpath '("/home/ambrose/jellyfish/tux-2/server"
"/home/ambrose/jellyfish/tux-2/lib" "/home/ambrose/jellyfish/tux-2/app"
"/usr/local/lib/jdk/jre/lib/rt.jar")
jde-bug-jdk-directory "e:/jdk1.3/"
jde-gen-boilerplate-function 'jde-gen-create-buffer-boilerplate
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-db-startup-commands nil
jde-compile-option-deprecation nil
jde-db-option-classpath nil
jde-run-mode-hook nil
jde-db-option-verify '(nil t)
jde-compile-option-extdirs nil
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) \" 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-bug-saved-breakpoints nil
jde-compile-option-sourcepath nil
jde-db-option-java-profile '(nil . "./java.prof")
jde-compile-option-depend-switch '("-depend")
jde-run-applet-doc ""
jde-compile-option-vm-args nil
jde-run-option-garbage-collection '(t t)
jde-db-mode-hook nil
jde-db-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
jde-db-read-vm-args nil
jde-bug-debug nil
jde-appletviewer-option-encoding ""
jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
jde-compile-option-target '("1.1")
jde-run-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-db-option-vm-args nil
jde-run-application-class "Main"
jde-run-option-verbose '(nil nil nil)
jde-project-file-name "prj.el"
jde-compile-option-debug '("all" (t nil nil))
jde-bug-jre-home ""
jde-run-applet-viewer ""
jde-entering-java-buffer-hooks '(jde-reload-project-file)
jde-run-read-vm-args nil
jde-help-docsets nil
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-option-verify '(nil t)
jde-compile-option-optimize nil
jde-compile-option-depend nil
jde-gen-action-listener-template '("'& (P \"Component name: \")"
"\".addActionListener(new ActionListener() {\" 'n>" "\"public void
actionPerformed(ActionEvent e) {\" 'n>" "\"}});\" 'n>")
jde-compile-option-command-line-args "+E"
jde-gen-buffer-templates '(("Class" . jde-gen-class) ("Console" .
jde-gen-console) ("Swing App" . jde-gen-jfc-app))
jde-run-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-run-option-properties nil
)
There was no JDEBug buffer
The contents of the .emacs file was
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; .emacs
;;
;; $Id: .emacs,v 1.31 1996/08/21 00:25:11 jacob Exp $
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; I keep hitting ^X^C by accident and almost never want to...
;;;
(defun are-you-sure ()
(if (not (y-or-n-p "Are you sure? "))
(top-level)))
(setq kill-emacs-hook '(lambda ()
(are-you-sure)))
;
; Common options
;
(setq visible-bell t)
(setq gnus-nntp-server "news.geoworks.com")
(require 'paren)
(if (not (string-match "XEmacs" emacs-version))
(show-paren-mode t))
;;; Start with the right margin word wrap at column 80.
(setq default-fill-column 80)
(setq default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'adams-text-mode-hook)
;(add-hook 'text-mode-hook 'turn-on-auto-fill)
(defun adams-text-mode-hook ()
(setq indent-tabs-mode t)
(turn-on-auto-fill))
(column-number-mode t)
;(setq ediff-prefer-iconified-control-frame t)
;
; Misc.
;
(setq auto-save-list-file-prefix nil)
(auto-compression-mode)
; expand mail aliases interactively
(add-hook 'mail-setup-hook 'mail-abbrevs-setup)
;
; Automatic FCC for all sent mail
(setq mail-archive-file-name "~/nsmail/Sent")
; Run as an emacs server so client apps can use running emacs session
; (remember to 'setenv EDITOR emacsclient')
; Doesn't work with nt - look into gnuserv
;(server-start)
; (setq special-display-buffer-names
; '("*grep*" "*Main*"))
;
; Load system-specific settings:
;
(cond ((eq system-type 'windows-nt)
(progn
(load "~/.emacs.nt"))
)
((eq system-type 'gnu/linux) ;GNU Emacs setting - silly RMS!
(progn
(load "~/.emacs.linux"))
)
((eq system-type 'linux) ;XEmacs setting
(progn
(load "~/.emacs.linux"))
)
(t
(progn
(load "~/.emacs.sparc"))
)
)
; Load my personal list of useful functions & settings for programming.
; Found in ~/my-lisp (which is added to load-path in system-specific
.emacs file)
(load "useful-funcs")
(load "programming")
(set-face-background 'highlight "forestgreen")
(set-face-foreground 'highlight "midnightblue")
;; 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 "~/.xemacs-options")))
;; ============================
;; End of Options Menu Settings
;; Settings set through Custom ui. Probably better not to edit
manually.
(custom-set-variables
'(vm-print-command-switches "-Peng1" t)
'(printer-name (if (memq system-type (quote (ms-dos windows-nt))) "PRN"
"eng1") t)
'(jde-project-file-name "prj.el")
'(toolbar-news-reader (quote gnus))
'(html-helper-use-expert-menu t t)
'(tags-table-list (quote ("/usr/local/lib/jdk/src/TAGS"
"/home/ambrose/jellyfish/tux-2/TAGS")))
'(jde-run-option-heap-size (quote ((1 . "megabytes") (64 .
"megabytes"))))
'(lpr-switches nil t)
'(desktop-buffers-not-to-save
"\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\|^tags\\|^TAGS.*\\)$")
'(ps-lpr-switches (quote ("-Peng1")))
'(jde-db-source-directories (quote ("/usr/local/lib/jdk/src/"
"/home/ambrose/jellyfish/tux-2/server/"
"/home/ambrose/jellyfish/tux-2/lib/"
"/home/ambrose/jellyfish/tux-2/app")))
'(jde-db-option-properties (quote (("java.compiler" . ""))))
'(p4-use-p4config-exclusively t)
'(p4-auto-refresh t)
'(p4-user-email "[EMAIL PROTECTED]")
'(lpr-command "mpage" t)
'(truncate-partial-width-windows nil)
'(c-hanging-comment-ender-p nil)
'(frame-background-mode (quote dark))
'(special-display-buffer-names nil)
'(html-helper-mode-hook (quote (adams-html-mode-hook)) t)
'(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean")
("br" . "break") ("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") ("impl" .
"implements") ("impo" . "import") ("ins" . "instanceof") ("inte" .
"interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" .
"null") ("pa" . "package") ("pri" . "private") ("pro" . "protected")
("pu" . "public") ("sh" . "short") ("st" . "static") ("su" . "super")
("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" .
"throw") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" .
"volatile") ("wh" . "while") ("mie" . "ModuleInfoEvent") ("miep" .
"ModuleInfoEvent.PRIORITY_") ("trie" . "TransactionInfoEvent") ("triec"
. "TransactionInfoEvent.CATEGORY_"))))
'(desktop-enable t nil (desktop))
'(scroll-bar-mode (quote right)))
(custom-set-faces
'(info-xref ((t (:bold t :foreground "turquoise"))))
'(p4-diff-file-face ((t (:background "midnightblue"))) t)
'(p4-diff-head-face ((t (:background "darkred"))) t)
'(region ((((class color) (background dark)) (:background
"midnightblue"))))
'(p4-diff-ins-face ((t (:foreground "lightblue"))) t)
'(modeline ((t (:foreground "black" :background "AntiqueWhite4"))))
'(info-node ((t (:bold t :italic t :foreground "pale green"))))
'(bold-italic ((t (:bold t :italic t :foreground "chocolate"))))
'(bold ((t (:bold t :foreground "chocolate"))))
'(p4-depot-added-face ((t (:foreground "lightskyblue"))) t)
'(p4-depot-unmapped-face ((t (:foreground "azure4"))) t))
=====end inserted .emacs file
The contents of the .emacs.linux file was
(setq load-path
(append
;;'("/n/midwest/jellyfish/Emacs")
'("~/my-lisp/jf-test")
; '("~/my-lisp/jf-test/jde")
'("~/my-lisp/jf-test/jde-2.1.6beta14/lisp")
'("~/my-lisp/jf-test/vm")
; '("/n/midwest/jellyfish/Emacs/jde")
; '("/staff/jellyfish/Emacs/psgml")
'("~/my-lisp")
load-path))
;
; Font lock stuff
;
; The following is emacs 20.2 version
(make-face 'font-lock-emphasized-face)
(make-face 'font-lock-other-emphasized-face)
; For cperl mode: (default colors don't work well)
(set-face-foreground 'font-lock-emphasized-face "orange")
(set-face-foreground 'font-lock-other-emphasized-face "violet")
;
; Key bindings for Linux
;
(define-key global-map [delete] 'delete-char)
(define-key global-map [f12] 'repeat-complex-command)
(define-key global-map "\C-xg" 'goto-line)
; For Goldtouch keyboard:
;
; Keep hitting the following rather than M-d. Since it's not defined
already,
; might as well get some use out of it.
(define-key global-map "\M-s" 'kill-word)
; Have C-backspace do the same as C-del
(define-key global-map [C-backspace] 'backward-kill-word)
(if (not (string-match "XEmacs" (symbol-value 'emacs-version)))
(progn
(set-face-background 'show-paren-match-face "seagreen")
(set-face-background 'modeline "midnightblue")
(set-face-foreground 'modeline "tan")))
;
; Jellyfish programming schme
;
(load "jf-basic")
(setq-default jellyfish-root-path "~/my-lisp/jf-test")
(setq template-dir "~/my-lisp/jf-test/Templates")
(set-face-background 'p4-depot-unmapped-face "black")
; Use template.el for new html template
(setq html-helper-build-new-buffer nil)
(setq template-p4-style t)
; setup easier debugging keys
(define-key jde-mode-map [f3] 'gud-step)
(define-key jde-mode-map [f4] 'gud-next)
(define-key global-map [f3] 'gud-step)
(define-key global-map [f4] 'gud-next)
; Java tags (which includes my local tag file)
(setq jf2home (getenv "JFHOME"))
;(setq tags-file-name (concat jf2home "/server"))
;(if (getenv "JFHOME") ; if JFHOME is set...
; (setq tags-table-list
; (cons "/usr/local/lib/jdk/src"
; (list jf2home) ))
; (setq tags-table-list ; else...
; (cons "/usr/local/lib/jdk/src"
; (list "$HOME/jellyfish/tux") )) )
;
; Some env vars for debugging inside JDE:
;
(setenv "THREADS_FLAG" "green")
;(setenv "JAVA_COMPILER" "NONE")
(setenv "JAVAC" "jikes +E -g")
;
; Sending mail
;
;(load "sendmail")
(load "smtpmail")
(setq smtpmail-default-smtp-server "almh")
;
; emacsclient - emacs connection (used with p4 submit/user/client)
;
; (if (not (string-match "XEmacs" (symbol-value 'emacs-version)))
; (server-start))
(server-start)
;
; VM mail reader
;
(autoload 'vm "vm" "Start VM on your primary inbox." t)
(autoload 'vm-other-frame "vm" "Like `vm' but starts in another frame."
t)
(autoload 'vm-visit-folder "vm" "Start VM on an arbitrary folder." t)
(autoload 'vm-visit-virtual-folder "vm" "Visit a VM virtual folder." t)
(autoload 'vm-mode "vm" "Run VM major mode on a buffer" t)
(autoload 'vm-mail "vm" "Send a mail message using VM." t)
(autoload 'vm-submit-bug-report "vm" "Send a bug report about VM." t)
; psgml
;(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
;(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
;(load "sgml-settings")
;
; Setup psgml
;
;(require 'psgml)
; (setq sgml-indent-data t ; autoindent SGML code
; sgml-set-face t ; color code the data
; sgml-auto-activate-dtd t ; load dtd when loading file
; sgml-custom-dtd ; menus for creating new documents
; '(("HTML 4.0 strict" "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML
4.0//EN'>")
; ("HTML 4.0 loose" "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0
Transitional//EN'>")
; ("HTML 4.0 frameset" "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML
4.0 Transitional//EN'>")
; ("HTML 3.2" "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML
4.0//EN'>")
; ("HTML 2.0" "<!DOCTYPE HTML PUBLIC '-//IETF//DTD HTML
2.0//EN'>")
; ))
; (setq sgml-markup-faces
; '((doctype font-lock-variable-name-face)
; (sgml font-lock-string-face)
; (comment font-lock-comment-face)
; (ignored font-lock-type-face)
; (end-tag font-lock-keyword-face)
; (start-tag font-lock-keyword-face)
; (ms-end font-lock-function-face)
; (ms-start font-lock-function-face)
; (pi font-lock-reference-face)
; (entity font-lock-function-name-face)
; (shortref font-lock-function-name-face)))
; (defun html-mode () (interactive) (sgml-mode))
=====end inserted .emacs.linux file
The contents of the jf-basic library file was
; Jellyfish-specific emacs configuration.
;(setq debug-on-error t)
;
; Emacs templates
;--------------------------------------------------
; Note: don't load gw-basic.el, since that mucks
; with tags stuff.
;
(setq template-dir "/n/midwest/jellyfish/Emacs/Templates")
(load-library "templates")
;(define-key global-map x11-shift-f1 'add-template)
;(define-key global-map x11-shift-f2 'insert-functemp)
(define-key global-map [S-f1] 'add-template)
(define-key global-map [S-f2] 'insert-functemp)
(define-key global-map [S-f3] 'insert-taghandlertemp)
(setq current-project "Premion Server+")
;--------------------------------------------------
; Settings across modes.
; ----------------------
;
; Setup fontification of buffers.
(setq font-lock-support-mode 'lazy-lock-mode)
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
;
; Settings for modes other than Java:
;
(setq-default indent-tabs-mode nil) ; Don't use tabs when indenting
(turn-on-auto-fill)
;;
;; setup HTML-helper-mode
;;--------------------------------------------------
; Only do it if it's not WinNT, since that OS doesn't distinguish case,
; thus we can't have ".html" files be html-helper-mode & ".HTML" files
; be jf-meta-mode. So I default to jf-meta-mode, since that's just a
; superset of html-helper-mode.
; I should add a nil condition for Win95 as well.
; (cond ((eq system-type 'windows-nt)
; (progn ( ) ))
; (t
; (progn
; (autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
; (setq auto-mode-alist
; (append '(
; ("\\.html$" . html-helper-mode)
; ("\\.hdml$" . html-helper-mode)
; ) auto-mode-alist))
; ;; Use same timestamp format as VisualPage
; (setq html-helper-timestamp-start "<!--last modified on ")
; (setq html-helper-timestamp-end " -->\n"))))
; The next is a mode for editing content template files with
; Jellyfish II meta-tag syntax
; It's just a hack of html-helper-mode now, and isn't polished.
(autoload 'jf-meta-mode "jf-meta-mode" "Yay Jellyfish" t)
(setq auto-mode-alist
(append '(
("\\.HTML$" . jf-meta-mode)
("\\.HDML$" . jf-meta-mode)
("\\.TEXT$" . jf-meta-mode)
("\\.null$" . jf-meta-mode)
("\\.vars$" . jf-meta-mode)
("\\.var$" . jf-meta-mode)
("\\+CV$" . jf-meta-mode)
("\\.ddl$" . c++-mode)
) auto-mode-alist))
;--------------------------------------------------
; cperl-mode - souper-dooper perl mode
;--------------------------------------------------
; Still can't fontify all perl correctly, tho'. Dang!
; (load "cperl-mode")
; (autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl
programs" t)
; Alt to cperl-hairy:
(setq cperl-electric-keywords t)
(setq cperl-lazy-help-time 5)
; (setq interpreter-mode-alist (append interpreter-mode-alist
; '(("miniperl" . perl-mode))))
;(add-hook 'cperl-mode-hook
; (turn-on-auto-fill))
(setq cperl-mode-hook
'(lambda ()
(turn-on-auto-fill)))
;--------------------------------------------------
;
; Better Java editing support
;--------------------------------------------------
;
; Setup Java environment - JDE + indent defaults.
;
(require 'jde)
(add-hook 'java-mode-hook 'jf-java-mode-hook)
(defun jf-java-mode-hook ()
(setq indent-tabs-mode nil) ; Don't use tabs when indenting
;; Set tab width & offset width to match JavaSoft Coding Conventions
(setq tab-width 8)
(setq c-basic-offset 4)
(setq fill-column 80)
(setq c-comment-continuation-stars "* ")
;; So case labels get indented inside switch statements:
(c-set-offset 'case-label '+)
;; flush '{' that are on line following 'if', 'for', etc.:
(c-set-offset 'substatement-open '0)
;; Indent just a bit if 1st method param is put on next line:
(c-set-offset 'arglist-intro '+)
;; So the Enter key does both newline & indent:
;;(define-key c-mode-base-map "\C-m" 'newline-and-indent)
(turn-on-auto-fill))
;; The following are Java editing settings not currently in use:
;;
;; Actually, "statement-cont" controls how all statement continuation
;; works, so all continueation statements will be be flush with the
;; preceeding line, such as the following:
;; varable =
;; functionCall(param1, param2);
;; Since there's a general consensus against this behavior, I'm leaving
;; "statement-cont" at its default value of '+'.
;; There's another setting which would fit the Coding Conventions for
;; some cases but be very ugly for many others, "c-lineup-math". This
;; would indent after the '=' sign. We would only want this to occur
;; if the equals sign wasn't too far over to the right in the buffer.
;;(c-set-offset 'statement-cont '0)
;;
;; This next one was supposed to indent if statements as specified in
;; conventions, but this messed up function argument indenting, too.
;; There's not enough default granularity in CC Mode.
;; (c-set-offset 'arglist-cont-nonempty '++)
;;
;; setup ini-file mode
;;--------------------------------------------------
(autoload 'ini-mode "ini-mode" "" t)
(setq auto-mode-alist
(append '(
("\\.config$" . ini-mode)
("\\.ini$" . ini-mode)
("\\.build$" . ini-mode)
) auto-mode-alist))
;--------------------------------------------------
;
; Perforce integration
;--------------------------------------------------
(load-library "p4")
;--------------------------------------------------
;
; Miscellaneous
;--------------------------------------------------
; To use TAGS, set the following list to a list of directories
containing TAGS
; files. Use the command 'jtags' for creating Java TAGS files, and
'etags' for
; creating TAGS files for other languages, such as perl.
;(setq tags-table-list
; '("/usr/local/lib" "~/jellyfish/javadev"))
;
; Override C-a & C-e to go to beginning/end of line or, if already at
; beginning/end of line, to go to beginning/end of text (non-whitespace)
on line.
;
(global-set-key "\^A" 'smart-beginning-of-line)
(global-set-key "\^E" 'smart-end-of-line)
(defun smart-beginning-of-line (count)
(interactive "p")
(if (or (null count) (= count 0))
(setq count 1))
(if (and (bolp) (= count 1))
(skip-chars-forward " \t")
(beginning-of-line count)))
(defun smart-end-of-line (count)
(interactive "p")
(if (or (null count) (= count 0))
(setq count 1))
(if (and (eolp) (= count 1))
(skip-chars-backward " \t")
(end-of-line count)))
--VAA29389.945406927/tigger.geoworks.com--