Re: [h-e-w] next-error method for java stack traces

2002-06-10 Thread Max Rydahl Andersen
This is exactly the same issue/question I raised earlier on, when one is using e.g. ant to run the java application - then the trace is in the standard compilation buffer (and thus the run-etrace stuff is not activated properly)... I looked high and low for a possibility to activate the etrac

Re: Fontifying problem with XML, HTML documents

2002-05-12 Thread Max Rydahl Andersen
This is a "well known" conflict between the standard sgml mode and psgml. I seem to remember that there have been an upgrade to psgml that removed this conflict. Try to look at its homepage. /max ""Wellie W. Chao"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: enabling etrace-xxx in ant based runs ?

2002-04-17 Thread Max Rydahl Andersen
de for ant-based compilation buffers ? (or just for ANY compilation buffer ?) Any hints ? :) Max ""Max Rydahl Andersen"" <[EMAIL PROTECTED]> wrote in message a9j8eb$ad9$[EMAIL PROTECTED]">news:a9j8eb$ad9$[EMAIL PROTECTED]... > Hi! > > I do not use jd

enabling etrace-xxx in ant based runs ?

2002-04-17 Thread Max Rydahl Andersen
Hi! I do not use jde-run (nor compile for that matter) as all our builds (including launching of compile, run, debug etc.) is initiated and controlled by ant. But for some reason the jde-run-etrace-xxx is only available when i am using jde-run, so... How do I enable jde-run-etrace-xxx functions

Re: print the stack in JDebug

2002-02-24 Thread Max Rydahl Andersen
Any tips on howto enable this for stacktraces generated when compiling, building and running via jde-build ? /Max "Paul Kinnucan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Laurent Mirguet writes: > > Thank you for your answer. It is indeed what I was lo

Re: JDEbug performance

2002-02-01 Thread Max Rydahl Andersen
> > 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, mixe

todays contribution :)

2002-01-31 Thread Max Rydahl Andersen
noselect source-file With hope Max Rydahl Andersen

Re: problem with stack/Up

2002-01-31 Thread Max Rydahl Andersen
I am using the latest beta, and yes it looks like a regression bug. I fixed it by replacing jde-dbo-show-line with jde-db-set-debug-cursor in jde-bug.el "Paul Kinnucan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Max Rydahl A

problem with stack/Up

2002-01-31 Thread Max Rydahl Andersen
When I press stack Up in JDEbug i get a message saying "let*: Symbol's function definition is void: jde-dbo-show-line" Anyone ? With hope Max

Re: JDEbug performance

2002-01-31 Thread Max Rydahl Andersen
> Huh... when I try -classic -Xdebug, I get: > Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/agent/Agent > Could not create the Java virtual machine. > > Running just -classic works, but adding the -Xdebug gives me the above barfage. It should be the very first argument

Re: JDEbug performance

2002-01-31 Thread Max Rydahl Andersen
unny you should ask that as im just sitting doing the same thing - and I got an answer :) Start your java application with a -classic option to disable HotSpot - then it runs smooth! A while ago I posted some fixes/suggestions for changes in JDE to ensure that debugged applications started from

Re: problems with jde-help-docsets

2002-01-25 Thread Max Rydahl Andersen
sets then the customization buffer shows this: jde-help-docsets: Hide (list (list "JDK API" "" nil)) State: this option has been changed outside the customize buffer. (mismatch) Lists collections of HTML files documenting Java classes. Hide This list is used by the `jde-h

Re: JDE vs. java-mode

2002-01-24 Thread Max Rydahl Andersen
> > Stuff that java-mode does not do which is VERY usefull :) > > > > * import of a class with a simple keystroke (C-v-z) > > * lookup java doc for a class or symbol (C-v-w) > > * lookup java source code for class (C-v-y) > > * auto-completion (C-v .) > > Hey, some of those *are* pretty cool.

Re: jde-file-to-url which are compatible with Opera and internet explorer

2002-01-24 Thread Max Rydahl Andersen
And now I have tested it with IE6 and it works! halleluja! :) ""Max Rydahl Andersen"" <[EMAIL PROTECTED]> wrote in message a2pm59$ei1$[EMAIL PROTECTED]">news:a2pm59$ei1$[EMAIL PROTECTED]... > > "Paul Kinnucan" <[EMAIL PROTECTED]> wro

Re: problems with jde-help-docsets

2002-01-24 Thread Max Rydahl Andersen
Hello Paul, Always ready to help a great and usable project :) Thursday, January 24, 2002, 9:26:09 PM, you wrote: Paul> Max Rydahl Andersen writes: Paul> > I've discovered a "oddity" with jde-help-docsets :) Paul> > Paul> > It seems that the third parame

problems with jde-help-docsets

2002-01-24 Thread Max Rydahl Andersen
I've discovered a "oddity" with jde-help-docsets :) It seems that the third parameter which designates the doc-lookup-function has to be something other than nil, even though it is ignored by the jde lookup facility when it simply is a "javadoc" type of docset. Customise will not let me save ma

another (and better?) jde-open-soruce-for-symbol

2002-01-22 Thread Max Rydahl Andersen
Hi! I was getting tired of having the javadoc lookup and source-code lookup behave diferently, so I decided to code a better source lookup method :) You are free to (mis)use it as you please :) (defun jde-open-source-for-symbol () "Displays source for a symbol. The symbol may reference an obj

Re: best mode to edit Ant files ?

2001-12-17 Thread Max Rydahl Andersen
I tried to use your modifications but it seems like it brakes the functionallity :( When editing ant build files the indention and auto-end-tag-complete stops working (where it used to work fine) :( ""Reilly, Peter"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].

Re: Emacs, JDE, already done ? help please

2001-12-12 Thread Max Rydahl Andersen
If you have configured jde-db-sourcepath to something reasonable C-c C-v C-y looksup the symbol around your cursor :) "Joel Cordonnier" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi ! > > I have start to use Emacs JDE as my IDE (instead of > bad slow java

Re: best mode to edit Ant files ?

2001-12-12 Thread Max Rydahl Andersen
If u use Emacs 21 (maybe even 20.7) use this small, but efficient addition to sgml/xml-mode. sgml/xml-mode provides the colouring of the tags (it is xml after all) - the hack provide indention and auto-completion of end tags. Completion of the tags is not possible without a DTD, but for this I ju

jde-build-ant-command does not handle Script for jde-ant-invocation-method

2001-12-03 Thread Max Rydahl Andersen
Using ant to build does work in the latest beta! jde-build-ant-command does not use the variable jde-ant-program at any point, thus it only works if you uses Java as the jde-ant-invocation-method. I use the script method. With hope Max

jde-package-gen question

2001-10-30 Thread Max Rydahl Andersen
Hi! Why does jde-gen-package only search for a valid package name in the first non-nil variable found in jde-package-search-classpath-variabels ? Why not just search from the begining to the end and use the first best-fit ? With hope Max

Re: JDEbug slowlyness

2001-10-29 Thread Max Rydahl Andersen
PROTECTED]... On Monday, 29. October 2001 18:38, Max Rydahl Andersen wrote: > Hi! > > I've asked this before and never got a "good" answer - Why is JDEbug so > slow..and now I have the answer - or at least part hereof. > > The reason why I have experienced a dre

JDEbug slowlyness

2001-10-29 Thread Max Rydahl Andersen
Hi! I've asked this before and never got a "good" answer - Why is JDEbug so slow..and now I have the answer - or at least part hereof. The reason why I have experienced a dreadly slow JDEbug is because I cannot tell JDEbug to use the "classic" JVM. It seems that the intention is that one sh

another beanshell "bug" :)

2001-10-29 Thread Max Rydahl Andersen
It seems that beanshell keeps a handle to all the .zip/.jar files it has accessed. That is not nice :) It makes it impossible to call "ant clean" on a project which deletes all the generated .jar files which might be on jde-global-classpath. It would be much better if beanshell just kept a handl

beanshell fails if classpath contains reference to empty/zero-sized .jar file

2001-10-29 Thread Max Rydahl Andersen
When I use some of the completion, javadoclookup, find-class-source functions and the global-classpath contains a .jar file with size zero (or the .jar file does not exist) jde fails and shows the following stacktrace in *Messages*. Error evaluating Lisp result of Java expression evaluation. Ja

Re: jde-ant completion and bug-fix ?

2001-10-26 Thread Max Rydahl Andersen
latest JDE beta > distribution, which was made before these changes were submitted. > > However, it would also be really nice to get Douglas WF Acheson's changes in > as well, that added the ability to run Ant via Java from the bean shell JVM > :) > > Steve Molitor > [E

Re: mini-buffer completion completion ? (I could not wait :) - e

2001-10-21 Thread Max Rydahl Andersen
Anyone with knowledge on how to have syntax-highlighting in the buffer used when calling completing-read ? It could be nice to have the correct colors while completing (it would be easier to get an overivew of the completion possibilities) With hope Max ""Max Rydahl Andersen

JDEBug performance questions....

2001-10-18 Thread Max Rydahl Andersen
Hi! Why is JDEBug so slow compared to other Java debuggers, e.g. JSwat ? Any hints for performance tuning ? Im using Win2000 (service pack 2) and JDK 1.3 With hope Max

Re: Can't use env variable in global classpath

2001-10-01 Thread Max Rydahl Andersen
> The JDE does support environment variables in jde-global-classpath. Ok - so the documentation concerning jde-global-classpath is wrong then ? Snip from jde-global-classpath doc: Note: do not use environment variables in the paths that you set via jde-global-classpath. Max > I don't know wh

Re: Can't use env variable in global classpath

2001-10-01 Thread Max Rydahl Andersen
Well - then I have another follow up question :) Why is it that we are not allowed to use environment variables in the jde-global-classpath ? As I remember jde support environment variables in most other relevant settings ? Please correct me if I'm wrong :) Max <[EMAIL PROTECTED]> wrote in mes

Re: junit integration....and questions :)

2001-08-17 Thread Max Rydahl Andersen
> > Use customize. Customize generates code in your .emacs file. Yes - I know, but I do not want it to be part of my .emacs file. The scenario is as follows: Presume I write a jde-XYZ.el with stuff for integrating XYZ with jde. In this jde-XYZ.el I provide a set of templates that should just b

Re: junit integration....and questions :)

2001-08-17 Thread Max Rydahl Andersen
"Paul Kinnucan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 06:52 PM 8/16/2001 +0200, Max Rydahl Andersen wrote: > >Sounds great - but is there not a method for adding such templates > >programattically as an ex

Re: junit integration....and questions :)

2001-08-16 Thread Max Rydahl Andersen
;(file-name-sans-extension (file-name-nondirectory > >buffer-file-name))" > >"\" extends TestCase\"" > > > > "(if jde-gen-k&r " > > "()" > > "'>'n)" > > "\"{\"'>'n'n" > > > >"\"public \"" > >"(file-name-sans-extension (file-name-nondirectory > >buffer-file-name))" > >"\" (String name)\"" > > > >"(if jde-gen-k&r " > > "()" > > "'>'n)" > > "\"{\"'>'n" > > > > > >"\"super(name);\"" > >"'>'p'n" > >"\"}\">" > >"'>'n'n" > >"\"protected void setUp() \"" > >"(if jde-gen-k&r " > > "()" > > "'>'n)" > > "\"{\"'>'n" > > > >"'>'p'n" > >"\"}\">" > >"'>'n'n" > >"\"public static Test suite() \"" > >"(if jde-gen-k&r " > > "()" > > "'>'n)" > > "\"{\"'>'n" > > "\"return new TestSuite(\"" > > "(file-name-sans-extension (file-name-nondirectory > >buffer-file-name))" > > "\".class);\"'n" > >"'>'p'n" > >"\"}\">" > >"'>'n'n" > > > >"\"public static void main(String[] args) \"" > >"(if jde-gen-k&r " > > "()" > > "'>'n)" > > "\"{\"'>'n" > > "\"junit.textui.TestRunner.run(\"" > > "(file-name-sans-extension (file-name-nondirectory > >buffer-file-name))" > > "\".class);\"'n" > >"'>'p'n" > >"\"}\">" > >"'>'n'n" > > > > > >"\"}\">" > >"\"// \"" > >"(file-name-sans-extension (file-name-nondirectory > >buffer-file-name))" > >"'>'n") > > "*Template for new Java class. > >Setting this variable defines a template instantiation > >command `jde-gen-test-class', as a side-effect." > > :group 'jde-gen > > :type '(repeat string) > > :set '(lambda (sym val) > > (defalias 'jde-gen-test-class > > (tempo-define-template "java-test-class-buffer-template" > > (jde-gen-read-template val) > > nil > > "Insert a generic Java class buffer skeleton.")) > > (set-default sym val))) > > > >###autoload > >(defun jde-gen-test-class-buffer (file) > > "Create a new Java buffer containing a class of the same name. > >This command inserts the class template generated by `jde-gen-class'. > >It then moves the point to the location to the constructor." > > (interactive "F") > > (find-file file) > > (jde-gen-test-class) > > (beginning-of-buffer) > > (search-forward "{") > > (backward-char 1) > > (c-indent-exp) > > (tempo-forward-mark)) > > > > > >Max Rydahl Andersen wrote: > >> > >> How does one correctly register a new template so it will be available via > >> the Files/JDE New/Other... ? >

Re: [CONTRIB] jde-import-expand-imports

2001-07-28 Thread Max Rydahl Andersen
Just so you know - I've posted a similar function a few days ago under the subject "Convert multiple imports into single import statement", it does the same but it is build upon the existing jde-import management and it is customizible how many imports that should be in a file before a single pac

Re: auto-gen get/set pairs for existing class variables

2001-07-27 Thread Max Rydahl Andersen
All of this sounds great, but I have one small suggestion/question :) Is it not possible to optionally disable the generation of the javadoc comments for these set/gets methods ? The set/get names kind of explain the meaning of the methods in 999 out of 1000 cases :) Max "Sandip Chitale" <[EMAI

Re: Speedbar output to std out?

2001-07-26 Thread Max Rydahl Andersen
Use the keyboard instead of the mouse to select the contents. Max ""Heemskerk, Marcel"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] m... > > Hi all, > > I cannot select the speedbar frame contents to put it in a different buffer. > I'd like to be able to create a listing of meth

convert multiple imports into .* imports

2001-07-23 Thread Max Rydahl Andersen
Well - noone answered to my request so I implemented it my self. Here is a jde-import-collapse-imports function that will collapse multiple imports from the same package into a single package import statement if the number of imports are equal or higher than the value of jde-import-collapse-impor

Submit...Re: convert multiple imports into .*

2001-07-21 Thread Max Rydahl Andersen
-imports-threshold. Hope you can use it - I sure can :) With regards Max ""Max Rydahl Andersen"" <[EMAIL PROTECTED]> wrote in message 9j43it$88r$[EMAIL PROTECTED]">news:9j43it$88r$[EMAIL PROTECTED]... > > The jde-import-kill-extra-imports is great, but h

convert multiple imports into .*

2001-07-18 Thread Max Rydahl Andersen
before it should start creating .*'s Just an idea Regards -- Max Rydahl Andersen, Software Engineer --- Medfork, Margrethepladsen 3, 8000 Aarhus C, Denmark Tel: +45 8732 8787 / Fax: +45 8732 8788

Go to definition/declaration of a identifier ?

2001-07-18 Thread Max Rydahl Andersen
Hi! Is there a method in JDE that could jump to the definition/declaration of a identifier ? Thanx -- Max Rydahl Andersen, Software Engineer --- Medfork, Margrethepladsen 3, 8000 Aarhus C, Denmark Tel: +45 8732 8787 / Fax

Re: [OT] Auto-scroll *compilation* window

2001-04-07 Thread Max Rydahl Andersen
Mark Bucciarelli <[EMAIL PROTECTED]> writes: > I found a cool utility that will auto scroll the compilation window as the > output grows. (Since I started using Ant/JUnit with JDE, the output to my > *compilation* window has grown quite a bit and I got tired of C-x o, C-v or > C-M-v to see if my