RE: Needs help to get JDEE working...
Hi, Do you want to use JDK 1.1 when compiling? The error message says that you can't use the 'selected' debug info option. JDE has determined that you are using JDK 1.1, so if that's unintentional, you should check the $JAVA_VERSION environment variable and the jde-jdk customization variable. You may also want to look at the jde-compile-option-debug customization variable to choose some other option for debug info than 'selected'. Best of luck, Petter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nandan Chandrakant Joshi Sent: den 1 februari 2002 04:45 To: [EMAIL PROTECTED] Subject: Re: Needs help to get JDEE working... Hallo, thank u very much that u have provided me the .emacs file. I found the error. I was using latest version of Semantic. and thanked God that I found it as I have given the name to the installed folders according to beta releases. And now I installed quite older Semantic and now I can get JDE Menu as I wanted and even my font-lock error has be solved. Thanx a lot. But I've got one more problem, when I try to compile my java files, I get error as 'jde-compile-javac-11: JDK 1.1 version of javac does not support selected debug info.' Well, I dunno what exactly it wanna say, as here is the excerpt from my new .gnu-emacs file: JDE custom set variables;;; (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(delete-selection-mode nil nil (delsel)) '(jde-bug-jdk-directory /usr/lib/j2sdk1.4.0) '(jde-bug-jpda-directory /usr/lib/j2sdk1.4.0) '(jde-bug-local-variables t) '(jde-bug-vm-includes-jpda-p t) '(jde-db-source-directories (quote (./ /usr/lib/j2sdk1.4.0/src))) '(jde-debugger (quote (JDEbug))) '(jde-global-classpath (quote ($CLASSPATH ./))) '(scroll-bar-mode (quote right))) (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. ) Well, I have all those files in that particular directory that I had entered there. But what could be wrong. I'd be glad to have any help from u in this case. Thanx in advance again!!! nandan -- *** Not dead which eternal lie stranger eons Death my die drain you of your sanity face The Thing That Should Not Be. it's not who you are it's who you know others lives are the basis of your own burn your bridges build them back with wealth judge not lest ye be judged yourself ||| On the side of the software box, in the 'System Requirements' section, it said 'Requires Windows 95 or better'. So I installed Linux.' ||| Nandan Chandrakant Joshi [EMAIL PROTECTED] [EMAIL PROTECTED] Tel.Nr.- +49 511 3708570 Mobile Nr.- +49 160 5436882
Re: JDEbug performance
Start your java application with a -classic option to disable HotSpot - then it runs smooth! What JVM are you running under? java -version java version 1.3.1_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) Runing on Windows 2000 Service pack 2 I am just setting -Djava.compiler=NONE That was also enough in the good old days :) This is from my 1.3.1_02 javadoc: The Java HotSpotTM Client VM The Java HotSpot Client VM is the default virtual machine. Its use of Java HotSpot technology gives it superior performance to that of the Classic VM. Unless special command-line options are used to invoke the Classic VM instead (see below), java will always launch an application to run on the Client VM. The Java 2 Classic VM The Java 2 Classic VM is essentially the same virtual machine implementation as in version 1.2 of the Java 2 SDK. It may be invoked by using the -classic command-line option, as in this example: java -classic MyApp The Java 2 Classic VM is included only in the Java 2 SDK. It is not included in the Java 2 Runtime Environment. The -classic option will not work with the Java 2 Runtime Environment. So, even the doc says: To disable HotSpot use -classic, AND it is only possible on the SDK. I also read at some point which I can't find again (nice proof, eh! :) that the JDK in 1.3 will ignore the -Djava.compiler=NONE instruction and still use HotSpot. A while ago I posted some fixes/suggestions for changes in JDE to ensure that debugged applications started from JDE ran in classic mode, but I do not know if these changes have made it into the codebase yet Do you have this documented anywhere? What was the subject line? Here is some trace of it. http://www.mail-archive.com/jde@sunsite.dk/msg02979.html Maybe it has been fixed - can't remember it. But this still holds: But the solution is to just start your java app externally from e.g. Ant or a simple commandline and then just attach to the JVM from JDebug. With hope Max
JDEBug trace exceptions dialog
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When one is using JDEBug and they want to trace exceptions where is the data kept generated from this dialog. Could this feature use customization? Seems like a pain to continually have to fill this data out. Kevin - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Location - San Francisco, CA, Cell - 415.595.9965 Jabber - [EMAIL PROTECTED], Web - http://relativity.yi.org/ Says Ransome Love: We gave the Linux community more than Stallman with his libraries. Our work helps Linux so much more than a few lines of code. (http://www.zdnet.com/zdnn/stories/news/0,4586,2779682,00.html) See http://www.gnu.org/gnu/the-gnu-project.html for the real story. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE8Wld6AwM6xb2dfE0RAoh5AKC0N9vBieaAvDOeIOaXz0Dy0xORhQCgi7qM vKtPVxYaJalYm+yZKYMoU34= =iy0Z -END PGP SIGNATURE-
jde-bug-thread-show-thread-info ??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (defun jde-bug-thread-show-thread-info () (interactive) (message not implemented)) What would it do IF it were implemented??? - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Location - San Francisco, CA, Cell - 415.595.9965 Jabber - [EMAIL PROTECTED], Web - http://relativity.yi.org/ Learn from other people's mistakes, you don't have time to make your own. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE8WlonAwM6xb2dfE0RAtZHAJoDHazuXSeX48DCcqw1URZ3pdc3gACffalG lRUpLdIekjAtu/zqB7Vl1gg= =TWCq -END PGP SIGNATURE-
Re: JDEbug performance
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max Rydahl Andersen [EMAIL PROTECTED] writes: Start your java application with a -classic option to disable HotSpot - then it runs smooth! What JVM are you running under? java -version java version 1.3.1_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) snip/ I also read at some point which I can't find again (nice proof, eh! :) that the JDK in 1.3 will ignore the -Djava.compiler=NONE instruction and still use HotSpot. Oh... that is good! :( You know... I was just going over some code... The -classic option did seem to speed things up. Of course this is totally anecdotal.. A while ago I posted some fixes/suggestions for changes in JDE to ensure that debugged applications started from JDE ran in classic mode, but I do not know if these changes have made it into the codebase yet Do you have this documented anywhere? What was the subject line? Here is some trace of it. http://www.mail-archive.com/jde@sunsite.dk/msg02979.html Maybe it has been fixed - can't remember it. But this still holds: But the solution is to just start your java app externally from e.g. Ant or a simple commandline and then just attach to the JVM from JDebug. snip/ Yes... doing that anyway... from Ant. Kevin - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Location - San Francisco, CA, Cell - 415.595.9965 Jabber - [EMAIL PROTECTED], Web - http://relativity.yi.org/ They must have programmed it to get rid of the competition! You mean like Microsoft? Exactly! -- Simpsons -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE8WlyrAwM6xb2dfE0RAsviAJ49UR3E4aI+bZouEaa5j+Dn9P8XVACff8Jq FGP6j0A3qBlHGUso7VCyKOY= =jKWI -END PGP SIGNATURE-
2.2.9beta8 - annoying screen jumps
I'm using JDEE 2.2.9beta8 with EmacsNT 21.1 on NT4sp6. I've noticed that the screen is jumping (scrolling) every time an I stop typing for a few seconds. The cursor line gets centered. There is no message in the *Messages* buffer. I find this quite annoying. Can I turn it off. I didn't notice it with beta 7. Anyone else experiencing the same behaviour? Dave -- David Shepherd [EMAIL PROTECTED] __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
Re: 2.2.9beta8 - annoying screen jumps
Yes, this is also happening to me (and it's *really* annoying). For me, it's been sporadic ... for example, it didn't happen at all yesterday. Unfortunately, I'm relatively new to xemacs (and jdee), so I wasn't able to figure out what was causing it. Restarting xemacs would usually cure it ... at least for a little while. I'm using JDEE 2.2.9beta8, XEmacs 21.4.6, and Win2kPro(sp2) :Paul --- David Shepherd [EMAIL PROTECTED] wrote: I'm using JDEE 2.2.9beta8 with EmacsNT 21.1 on NT4sp6. I've noticed that the screen is jumping (scrolling) every time an I stop typing for a few seconds. The cursor line gets centered. There is no message in the *Messages* buffer. I find this quite annoying. Can I turn it off. I didn't notice it with beta 7. Anyone else experiencing the same behaviour? Dave -- David Shepherd [EMAIL PROTECTED] __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com
feature request: tools to create new project/bootstrapping ant script
Hi fellow JDEE users: In terms of jdee-ant integration, is it possible to do some kind of front-end to integrate the ant project build script and the jdee project file? I was facing this problem of starting a new project and was thinking a tool/interface to create a new project and create corresponding prj.el and build.xml scripts would be really good to simplify the manual process. Tasks can be done with such a tool include: * specify the classpath of all the libs (corresponding entries for jdee project file and ant script will be created); * create package/directory structures; * create standard package-level javadoc files; * specify other important jdee-specific and ant-specific properties. Not sure if there is a tool for ant script creation, but ant could have a built-in task to do this kind of bootstrapping from a standard setting and jdee could then integrate with that task. Any thoughts? Thanks, j.t. __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com
Re: JDEbug performance
Max Rydahl Andersen wrote: What if they phased it out altogether in the next sdk? The Java 2 Classic VM The Java 2 Classic VM is essentially the same virtual machine implementation as in version 1.2 of the Java 2 SDK. It may be invoked by using the -classic command-line option, as in this example: java -classic MyApp The Java 2 Classic VM is included only in the Java 2 SDK. It is not included in the Java 2 Runtime Environment. The -classic option will not work with the Java 2 Runtime Environment. Heather
Re: find all instances of method x
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 aaron armstrong [EMAIL PROTECTED] writes: there is one ide feature which i have used in other ides this i constantly miss. there was a way to find all instances of any method within a project - thus allowing me to know who/what might be effected by my changes and to know if anything was actually using it still. Which IDE? Probably Visual Age. i've been using jde as my ide for almost 2 years now and love it, i don't use many of its bells and whistles, so i'm ignorant of all it can do and am hoping someone can give me some pointers on how to find this feature. Basically you need either a incremental compiler with an index or the ability to parse method bodies. From what I hear Semantic 2 will include message body parsing. what this feature would allow me to do is find all places where my.class.Person.create() is called in my project. yeah... sorry.. grep? Kevin - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Location - San Francisco, CA, Cell - 415.595.9965 Jabber - [EMAIL PROTECTED], Web - http://relativity.yi.org/ Help! I'm a neural net trapped inside a man's body! -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE8WuzwAwM6xb2dfE0RApa3AJ0Z2UC1ImW8U9WaEQs9U4Zc7TgZwwCglwVB ud9GUl3zVtPFgGggODGlQMc= =0E87 -END PGP SIGNATURE-
Re: speedbar
To accomplish what you want you can use a function like this (defun switch-to-speedbar() (interactive) (switch-to-buffer-other-frame SPEEDBAR)) and then map that to F4. (global-set-key [f4] 'switch-to-speedbar) I would *highly* recommend that you *not* do that. You will probably encounter very strange behavior and break the speedbar. huh? It only switches to the buffer containing the speedbar what is wrong with that? I have patches to my local speedbar that fix all these problems. Speedbar was just not meant to be run this way. The patches will be incorporated into the Are you saying that speedbar is meant to be access only by clicking on it? main speedbar as soon as the FSF legal stuff is done. I don't use the speedbar, so you might be right. It just strikes me that switching to the buffer could cause very strange behavior that breaks the speedbar. Javier Kevin - -- -- Javier S. Lopez [EMAIL PROTECTED]Forum Systems, Inc. (781) 263-540640 Williams St., Suite G20, http://www.forumsys.com Wellesley, MA 02481
Re: speedbar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Javier S. Lopez [EMAIL PROTECTED] writes: snip/ main speedbar as soon as the FSF legal stuff is done. I don't use the speedbar, so you might be right. It just strikes me that switching to the buffer could cause very strange behavior that breaks the speedbar. snip/ The speedbar does a lot of strange stuff with the current frame and frames. it will scroll your buffer around assumes things about other frames, etc, etc. You can try it ... you probably will run into issues. When speedbar was first written it was assumed tha tit would ALWAYS run within one dedicated frame. Now people want to run it multiple times. For the most part I have fixed this locally (wan't fun). Hopefully I will have the legal BS taken care of soon. I believe the papers are in the mail :) Kevin - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Location - San Francisco, CA, Cell - 415.595.9965 Jabber - [EMAIL PROTECTED], Web - http://relativity.yi.org/ YEAH!!! I'M A MIME! -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE8WvRPAwM6xb2dfE0RAv5QAKCMdhLybhdE1FBs41f3JOyHFwtDygCgxy29 KvbQVQ5wcr+J1MFlrgIGhcs= =CawZ -END PGP SIGNATURE-
Re: find all instances of method x
Thanks to everyone who wrote me with ideas - sounds like Paul's will work the best for now. aaron At Fri, 1 Feb 2002 15:09:47 -0500, Paul Kinnucan wrote: Curtis Clifton writes: Aaron, I use grep in emacs for this purpose. In your example I would do a M-x grep, then grep -n -e 'create(' *.java This will display a buffer showing all the lines containing the string 'create('. Clicking on lines in that buffer will jump to the particular line in the source code. I use JDE-Find-Expression to search for an expression everwhere in the JDE source path (jde-db-source-directories). This displays all the hits as hyperlinks in a popup buffer. Clicking on any hyperlink takes you to the source of the hit. This command assumes that you have the Unix utilities grep and find installed on your system. The Cygwin Unix emulation package for Windows, which I use, includes both utilities. Since Windows also includes an incompatible function named find, I make sure that the Cygwin bin directory is ahead of the Windows system directory so that Emacs will find and use the Unix version. - Paul
RE: find all instances of method x
Grep works fine for somethings, but not if you have some method like size that appears all over the place for other classes. In our development shop we run a nightly process after the build that pokes the the jar file and builds a cross reference file. There are a variety of java decompiler tools out there that could be used. We use InsideJC from Dr Dobbs, cafebabe and jode.
Better interactive definition for jde-bug-attach-local-host
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doesn't this make sense. By default is uses the port for input. I got sick of typing '2112' every time :) (defun jde-bug-attach-local-host (process-port) Attaches the debugger to a process running on local host. This command connects to the process via a socket. (interactive (list (read-string Process Port: (cdr jde-bug-server-socket - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Location - San Francisco, CA, Cell - 415.595.9965 Jabber - [EMAIL PROTECTED], Web - http://relativity.yi.org/ And the beast shall come forth surrounded by a roiling cloud of vengeance. The house of the unbelievers shall be razed and they shall be scorched to the earth. Their tags shall blink until the end of days. - from The Book of Mozilla, 12:10 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE8WwB1AwM6xb2dfE0RApZwAKCjulCSWftxWLBbY2I3gieAwz1D4QCeINGT uGXCWRHRoGhCPj3x6HhEsb0= =qBX9 -END PGP SIGNATURE-