recognizing arg list

2003-04-04 Thread Anna H. Pryor
Can you please tell me how I am supposed to integrate my argument list into 
the jde?  I was able to get the make file to work, but not to integrate it 
into the jde.  I type "compile" in the minibuffer and then return and then 
"make run."  But then when I try to use the debugger, it does not recognize 
the arguments.   (I also cannot use M-x jde-run). 

I am using GNU Emacs 20.5.1 (i386-redhat-linux-gnu, Xtoolkit)  with the latest 
version of JDE.  (how do you figure out what the version is?)

Anna 


Fwd: recognizing arg list

2003-04-04 Thread Anna H. Pryor

I'm sorry if you are getting this again.  I don't know why I was sent this 
message...

--  Forwarded Message  --

Subject: recognizing arg list
Date: Fri, 4 Apr 2003 07:50:37 -0800
From: "Anna  H. Pryor" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Can you please tell me how I am supposed to integrate my argument list into
the jde?  I was able to get the make file to work, but not to integrate it
into the jde.  I type "compile" in the minibuffer and then return and then
"make run."  But then when I try to use the debugger, it does not recognize
the arguments.   (I also cannot use M-x jde-run).

I am using GNU Emacs 20.5.1 (i386-redhat-linux-gnu, Xtoolkit)  with the
 latest version of JDE.  (how do you figure out what the version is?)

Anna

---



question about turning off auto-formatting...

2003-04-04 Thread Joseph Jupin
Okay - I just upgraded to the latest builds on many things in my 
XEmacs bundle and for some unknown reason, auto-formatting is turned 
on.  That is, if I do an auto-complete of say "ife" to the proper 
layout, it then goes through the whole document to reformat it - and 
it takes FOREVER!  Could some direct to which variable to turn off to 
get rid of this?  And to whoever turned it on - you should be flogged 
with a rubber chicken!  Thanx for your help...



peace.  JOe...


Re: question about turning off auto-formatting...

2003-04-04 Thread Jeba Bhaskaran

--- Joseph Jupin <[EMAIL PROTECTED]> wrote:
> Okay - I just upgraded to the latest builds on many
> things in my 
> XEmacs bundle and for some unknown reason,
> auto-formatting is turned 
> on.  That is, if I do an auto-complete of say "ife"
> to the proper 
> layout, it then goes through the whole document to
> reformat it - and 
> it takes FOREVER!  Could some direct to which
> variable to turn off to 
> get rid of this?  And to whoever turned it on - you
> should be flogged 
> with a rubber chicken!  Thanx for your help...
> 
> 
> 
> peace.  JOe...

The way I got around this was to customize the
jde-gen-cflow- to remove the call to the indent
function c-indent-defun. 

Jeba


__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


Re: question about turning off auto-formatting...

2003-04-04 Thread Gann Bierner
It looks like you can turn this off in Project->Options->Autocode with 
jde-gen-cflow-enable.  For some reason, I had to restart emacs (I use 
gnuemacs 21.2.1) to have it take effect.

For the record, I like the feature, but I've had to turn it off myself because 
of the long indenting delay Joe mentions.

Gann

On Friday 04 April 2003 09:58 am, Joseph Jupin wrote:
> Okay - I just upgraded to the latest builds on many things in my
> XEmacs bundle and for some unknown reason, auto-formatting is turned
> on.  That is, if I do an auto-complete of say "ife" to the proper
> layout, it then goes through the whole document to reformat it - and
> it takes FOREVER!  Could some direct to which variable to turn off to
> get rid of this?  And to whoever turned it on - you should be flogged
> with a rubber chicken!  Thanx for your help...
>
> 
>
> peace.  JOe...



viewing jar files on line

2003-04-04 Thread john lukar

Hi.

using dired, I can view TAR files on the fly and look
at individual files without having to explicitly untar
the file.

Is it possible to setup xemacs to do the same with jar
files?

I know I can run shell commands in dired mode on a jar
file but that is not as convinient as just clicking on
a archive file to see its content.


thanks for info.

__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


Re: viewing jar files on line

2003-04-04 Thread Nick
I think this is what fixed it for me:

(setq auto-mode-alist (cons '("\\.\\(arc\\|zip\\|jar\\|war\\|lzh\\|zoo\\)\\'" . 
archive-mode) auto-mode-alist))

That's in my init.el.

-Nick


On Fri, Apr 04, 2003 at 12:34:13PM -0800, john lukar wrote:
> 
> Hi.
> 
> using dired, I can view TAR files on the fly and look
> at individual files without having to explicitly untar
> the file.
> 
> Is it possible to setup xemacs to do the same with jar
> files?
> 
> I know I can run shell commands in dired mode on a jar
> file but that is not as convinient as just clicking on
> a archive file to see its content.
> 
> 
> thanks for info.
> 
> __
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com


cygwin emacs

2003-04-04 Thread Robert Mecklenburg
Has anyone gotten JDEE to work with cygwin emacs (running on Cygwin
X)?  I've just spent a couple hours working on it with little
success.  Using the compile server I get:

CompileServer output:

-classpath p://classes;p://classes/lib;r://Tom Sawyer Software-3.1/Graph Editor 
Toolkit 3.1 for Java/lib/swingall.jar;r://Tom Sawyer Software-3.1/Graph Editor Toolkit 
3.1 for Java/lib/tsgetj31.jar;r://Tom Sawyer Software-3.1/Graph Editor Toolkit 3.1 for 
Java/lib/tsjdk11x.jar;r://Tom Sawyer Software-3.1/Graph Editor Toolkit 3.1 for 
Java/layout/lib/tslayout31.jar;r://Tom Sawyer Software-3.1/Graph Layout Toolkit for 
Java/lib/tsgltj10.jar;r://TopLink-2.5/Classes/JDK1.2/TOPLink.jar;r://TopLink-2.5/Classes/JDK1.2/TOPLinkX.jar;r://TopLink-2.5/Classes/JDK1.2/Tools.jar;r://xerces-1_4_2/xerces.jar;r://xalan-j_2_2_d11/bin/xalan.jar;r://oracle-9.0.1.1/Ora90/jdbc/lib/classes12.jar;r://jakarta-regexp-1.2/jakarta-regexp-1.2.jar;r://jbcl-4.0/jbcl.jar;r://junit-3.7/junit.jar;r://jemmy-2.2.1/jemmy.jar;c://home/mecklen/properties;r://weblogic-5.1.0sp12/lib/weblogic510sp12.jar;r://weblogic-5.1.0sp12/classes;r://weblogic-5.1.0sp12/lib/weblogicaux.jar;r://weblogic-5.1.0sp12/license;r://mssqlserve!
r4v70-5.1.0sp11/classes;r://j2sdkee1.3.1/lib/j2ee.jar -sourcepath 
p://code/com/cimsoft/lws/creator/version/p:/code -bootclasspath 
p://classes;r://jdk1.3.1_04/jre/lib/rt.jar;r://jdk1.3.1_04/jre/lib/i18n.jar;r://jdk1.3.1_04/jre/lib/sunrsasign.jar;r://jdk1.3.1_04/jre/classes
 -g -d p://code/com/cimsoft/lws/creator/version/p:/classes -target 1.3 
p://code/com/cimsoft/lws/creator/version/ConvertTo217.java
p://code/com/cimsoft/lws/creator/version/ConvertTo217.java:19: error while writing 
com.cimsoft.lws.creator.version.ConvertTo217: 
p:\code\com\cimsoft\lws\creator\version\p:\classes\com\cimsoft\lws\creator\version\ConvertTo217.class
 (The filename, directory name, or volume label syntax is incorrect)
public class ConvertTo217 extends Conversion
   ^
1 error



For the record I modified jde-cygwin-path-converter-cygpath to
properly handle "/p/classes" style cygwin paths.  BTW, the
//drive-letter syntax has not been supported by cygwin for some time
(> year?).


(defun jde-cygwin-path-converter-cygpath (path)
  (interactive "sPath: ")
  (if (string-match "^[a-zA-Z]:" path)
  path
(cond
 ((string-match "^/\\(cygdrive\\)?/\\([a-zA-Z]\\)/" path)
  (concat 
   (substring
path
(match-beginning 2)
(match-end 2))
   ":/"
   (substring path (match-end 0
 ((string-match "^/\\([a-zA-Z]\\)/" path)
  (concat 
   (substring
path
(match-beginning 1)
(match-end 1))
   ":/"
   (substring path (match-end 0
 ((string-match "^/[^/]*" path)
   (let* ((root (substring 
path (match-beginning 0) (match-end 0)))
  (rest (substring path (match-end 0)))
  (converted-root (cdr (assoc root jde-cygwin-root-cache
 (if (not converted-root)
   (progn
 (setq converted-root (jde-cygpath root))
 (if converted-root
 (add-to-list 'jde-cygwin-root-cache 
  (cons root converted-root))
   (error "Cannot convert %s" path   
 (if (string= rest "")
 converted-root
   (concat converted-root rest
 (t
  (error "Cannot convert %s" path)



Emacs  : GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit)
 of 2003-01-23 on DRACO
Package: JDE version 2.3.2
Required packages: semantic-1.4.1 eieio-0.17 speedbar-0.14beta4


current state:
==
(setq
 jde-gen-session-bean-template '("(jde-import-insert-imports-into-buffer "
 "  (list \"javax.ejb.*\"" "
\"java.rmi.RemoteException\"))"
 "'>" "(jde-wiz-update-implements-clause 
\"SessionBean\")" "'>"
 "(jde-gen-method-signature" "  \"public\"" "  
\"void\""
 "  \"ejbActivate\"" "  nil" "  \"RemoteException\"" " 
)" "'>"
 "(if jde-gen-k&r " " ()" " 'n)" "\"{\"'>'n" 
"\"}\"'>'n 'n"
 "(jde-gen-method-signature" "  \"public\"" "  
\"void\""
 "  \"ejbPassivate\"" "  nil" "  \"RemoteException\"" 
" )" "'>"
 "(if jde-gen-k&r " " ()" " 'n)" "\"{\"'>'n" 
"\"}\"'>'n 'n"
 "(jde-gen-method-signature" "  \"public\"" "  
\"void\""
 "  \"ejbRemove\"" "  nil" "  \"RemoteException\"" " 
)" "'>"
 "(if jde-gen-k&r " " ()" " 'n)" "\"{\"'>'n" 
"\"}\"'>'n 'n"
 "(jde-gen-method-signature" "  \"public\"" "  
\"void\""
 "  \"setSessionContext\"" "  \"SessionContext ctx\""
 "  \"RemoteException\"" " )" "'>" "(if jde-gen-

RE: [PATCH] smart complete?

2003-04-04 Thread Andy Piper
> At any rate, until completion works better, I would vote to hold off
> on that change.  Or check in it, with a default of "off".

Right, that's what Paul wanted. I find completion reasonably quick, but if
its more accessible that will also motivate me to use it and fix bugs that I
find...

andy



RE: Re: [PATCH] smart complete?

2003-04-04 Thread Andy Piper
> Tools > Packages > List and Install

Or -> Update Installed Packages

andy