Small bug in JDE 2.2.9beta2 - fix provided
Thanks for this wonderful product. I have using it for years with great joy, and much awe. I some trouble with this latest version getting it to compile, or even load. If this is not the right way to file a bug report please accept my apologies, I didn't see anything on the web site. in lisp\jde-compile.el I had to make a one line change to the following class to bring success: (defclass jde-compile-compiler () ((name :initarg :name :type string :documentation Name of compiler) (version :initarg :version :version string :documentation ;; inserted this line ;;; Compiler version.) (path :initarg :path :type string :documentation Path of the compiler executable.) (buffer :initarg :buffer :type buffer :documentation Compilation buffer) (window :initarg :window :type window :documentation Window that displays the compilation buffer.) (interactive-args :initarg :interactive-args :type list :documentation Arguments entered in the minibuffer.) (use-server-p :initarg :use-server-p :type boolean :documentation Run as a compile server in the Beanshell.)) Class of Java compilers.) End of jde code ** My environment is Xemacs-21.4.3 on Win2000, binary version from the Xemacs ftp site. I have not yet tried it under emacs, nor on linux, although I could do both if that would help. Thanks for you all you hard work. Hope this is helpfull. Cheers, Shawn At 06:57 AM 9/30/2001, you wrote: http://jde.sunsite.dk/rootpage.html#Downloading JDE 2.2.9beta2 *** * PLEASE READ * *** * * * This release requires semantic 1.4beta10 (or later),* * speedbar 0.13 (or later), and eieio-0.16 (or later, * * except eieio-0.17beta1). You can obtain all three * * packages at http://cedet.sourceforge.net* * * * This release requires version 1.2.2 (or later) of the * * JDK.* * * * Note: This release does not work with eieio-0.17beta1, but * * it does work with eieio-0.17beta2. * * * * This release also requires avltree.el, which is part of the * * elib 1.0 package. You can obtain elib at the JDE web site * * in compressed tar (http://sunsite.dk/jde/elib.tar.gz) * * or zip (http://sunsite.dk/jde/elib.zip) format. * * * * JDEbug runs on Windows 2000 only if Service Pack 2 (or * * later) is installed.* * * * If syntax-coloring does not work, download and install * * overlay-fix.el from the semantic web site. * * * *** * The jde-build-ant-command now quotes all path arguments to accommodate Windows. This change was submitted by Kevin Jones [EMAIL PROTECTED]. I don't use Ant so I've not tested this change. * Replaced the customization variable jde-db-debugger with jde-debugger to be consistent with jde-compiler. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Overlay-fix.el
I can not found overlay-fix.el in the ftp server [ cedet.sourceforge.net/pub/cedet] working with the lastest beta some one can post this file on the jde mailing list ? regards, Benoit Benoit Moussaud - Software Team Leader[EMAIL PROTECTED]CTS - Cril Telecom Softwarehttp://www.criltelecom.com8 rue danjou92517 Boulogne Billancourt - FranceTel: (33) 1 58 17 04 78
Overlay-fix.el
;;; overlay-fix.el --- overlay bug workaround ;; Copyright (C) 2001 by David Ponce ;; Author: David Ponce [EMAIL PROTECTED] ;; Maintainer: David Ponce [EMAIL PROTECTED] ;; Created: 12 Feb 2001 ;; X-RCS: $Id$ ;; This file is not part of Emacs ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation; either version 2, or (at ;; your option) any later version. ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program; see the file COPYING. If not, write to ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. ;;; Commentary: ;; ;; In GNU Emacs versions before 21 when the overlay 'face property is ;; nil it can disable the overlayed text face property. The most ;; visible issue is that overlayed text is not syntax highlighted. ;; This library advices the built-in functions `make-overlay', ;; `overlay-put' and `overlay-get' to ensure that the overlay 'face ;; property will never be nil but `overlay-fix-empty-face' instead. ;; And that callers will continue to see nil for the corresponding ;; 'face property. ;;; History: ;; ;;; Code: (if (or (featurep 'xemacs) ( emacs-major-version 20)) ;; Not needed for Emacs since v21 nor XEmacs nil ;; Define an empty face (make-empty-face 'overlay-fix-empty-face) (defadvice make-overlay (after after-make-overlay activate) Ensure overlay 'face property is never nil. (or (overlay-get ad-return-value 'face) (overlay-put ad-return-value 'face 'overlay-fix-empty-face))) (defadvice overlay-put (around before-overlay-put activate) Ensure overlay 'face property is never nil. (if (and (eq (ad-get-arg 1) 'face) (null (ad-get-arg 2))) (ad-set-arg 2 'overlay-fix-empty-face)) ad-do-it (and (eq (ad-get-arg 1) 'face) (eq (ad-get-arg 2) 'overlay-fix-empty-face) (setq ad-return-value nil))) (defadvice overlay-get (after after-overlay-get activate) Ensure overlay 'face property is never nil. (if (and (eq (ad-get-arg 1) 'face) (eq ad-return-value 'overlay-fix-empty-face)) (setq ad-return-value nil))) ) (provide 'overlay-fix) ;;; overlay-fix.el ends here MOUSSAUD Benoît writes: I can not found ftp://cedet.sourceforge.net/pub/cedet/overlay-fix.el overlay-fix.el in the ftp server [ cedet.sourceforge.net/pub/cedet] working with the lastest beta some one can post this file on the jde mailing list ? regards, Benoit Benoit Moussaud - Software Team Leader [EMAIL PROTECTED] CTS - Cril Telecom Software http://www.criltelecom.com http://www.criltelecom.com/ 8 rue danjou 92517 Boulogne Billancourt - France Tel: (33) 1 58 17 04 78 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=iso-8859-1 META content=MSHTML 5.50.4611.1300 name=GENERATOR STYLE/STYLE /HEAD BODY bgColor=#ff DIVSPAN class=850092809-01102001FONT face=Arial color=#ff size=2I can not found A href=ftp://cedet.sourceforge.net/pub/cedet/overlay-fix.el;FONT face=Times New Roman size=3overlay-fix.el/FONT/Anbsp; in the ftp server [ cedet.sourceforge.net/pub/cedet] working with the lastest beta/FONT/SPAN/DIV DIVSPAN class=850092809-01102001FONT face=Arial color=#ff size=2some one can post this file on the jde mailing list ?/FONT/SPAN/DIV DIVSPAN class=850092809-01102001FONT face=Arial color=#ff size=2regards,/FONT/SPAN/DIV DIVSPAN class=850092809-01102001FONT face=Arial color=#ff size=2Benoit/FONT/SPAN/DIV DIVnbsp;/DIV PFONT size=2BRBenoit Moussaud - Software Team LeaderBR[EMAIL PROTECTED]BRCTS - Cril Telecom SoftwareBRA target=_blank href=http://www.criltelecom.com/;http://www.criltelecom.com/ABR8 rue danjouBR92517 Boulogne Billancourt - FranceBRTel: (33) 1 58 17 04 78BRBR/FONT/P BLOCKQUOTE dir=ltr style=MARGIN-RIGHT: 0pxFONT face=Arial color=#ff size=2/FONTnbsp;/BLOCKQUOTE/BODY/HTML
Re: Can't use env variable in global classpath
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 why your environment variable is not defined in Emacs. Are you sure that your .bashrc is being invoked? Have you checked by other means that the environment variable (e.g., (getenv VAR) is defined in the Emacs child process? - Paul Max [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Okay, found this in the docs... Note: do not use environment variables in the paths that you set via jde-global-classpath. ...so nevermind my question. Thanks, Ian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 30, 2001 12:52 AM Subject: Can't use env variable in global classpath Hi, Running latest cygwin on Win2K, pre-compiled NTEmacs 20.7.1, and JDE2.2.8. I have set the global classpath to include entries that use environment variables per the users guide, but when I try to Run App I get Substituting nonexistent environment variable MY_ENV_VAR. I am using unix format for the variable (e.g. $MY_ENV_VAR). The variable is set in my .bashrc for Cygwin (e.g. export MY_ENV_VAR=/foo/bar). I launch emacs from that same bash shell (so in other words I am assuming emacs gets the env of that shell). What am I missing? Thanks, Ian . .
semantic output in minibuffer
Hi, A long time ago, J.T. wrote: How do I turn off this message ($buffername [ done ]? Tried to find it in customization could not find anything related to this. I find this output from semantic quite annoying, too. I contacted Eric Ludlam, the maintainer of the package and he writes: Set the variable `working-status-percentage-type' or `working-status-dynamic-type' to nil to turn off messages. Both variables can be customized in the `working' customization group. Hope this helps. Kind regards, bert -- bert van vreckem If Bill Gates had a nickel for every time Windows crashed... Oh wait! He does!
Compile Problem with 2.2.9beta2
When I compile with 2.2.9beta2 I get the following message Wrong type argument: sequencep, t The failed expression in the back trace is as follows: Signaling: (wrong-type-argument sequencep t) mapconcat((lambda (arg) arg) (-classpath /home/easton/eeaston/ree_r62_dev/Windchill/codebase:/home/easton/eeaston/ree_r62_dev/Windchill/lib/CommonCore.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/CoreDependencies.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/SystemGeneration.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/UpgradeTools.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/wtbeans.jar t -d /home/easton/eeaston/ree_r62_dev/Windchill/codebase) ) (let ((args ...) output) (while (string-match \ args) (setq args ...)) (setq args (concat ... args)) (let* (... ... ...) (setq output ...) (save-excursion ... ... ... ... ...))) jde-compile-compiler([object jde-compile-javac javac server javac unbound unbound #buffer *compilation* #window 10 on *Backtrace* nil t]) ... I've converted my project and .emacs files to use jde-jdk and jde-jdk-registry. I get this problem using jde-compiler set to 'javac server' and 'javac'. I'm using: - 2.2.9beta2 - eieio-0.17beta2 - semantic-1.4beta10 - speedbar-0.13a - elib-1.0 Anyone else see this problem or know a solution (or what I might be doing wrong)? Thanks, Evan
Netbean Forms
Hi Everyone, Has anyone created a minor mode to edit java files generated from Netbean forms? [EMAIL PROTECTED]
Re: Compile Problem with 2.2.9beta2
Paul Kinnucan wrote: Evan Easton writes: When I compile with 2.2.9beta2 I get the following message Wrong type argument: sequencep, t The failed expression in the back trace is as follows: Signaling: (wrong-type-argument sequencep t) mapconcat((lambda (arg) arg) (-classpath /home/easton/eeaston/ree_r62_dev/Windchill/codebase:/home/easton/eeaston/ree_r62_dev/Windchill/lib/CommonCore.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/CoreDependencies.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/SystemGeneration.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/UpgradeTools.jar:/home/easton/eeaston/ree_r62_dev/Windchill/lib/wtbeans.jar t -d /home/easton/eeaston/ree_r62_dev/Windchill/codebase) ) What is the t argument? I was wondering what the t argument was as well. I don't seem to have a stray t in any of my jde variables. It appears to be a regression bug in the compiler command-line argument generation code, which was revised extensively for this release. What jde-compile-option variables have you customized? I don't think I have any jde-compile-options vars customized either other than jde-compile-option-directory. Here's the project file: (jde-project-file-version 1.0) (jde-set-variables '(jde-project-name R62 Windchill Development) '(jde-global-classpath (quote (/home/easton/eeaston/ree_r62_dev/Windchill/codebase /home/easton/eeaston/ree_r62_dev/Windchill/lib))) '(jde-jdk (quote (1.3.1))) '(jde-compile-option-directory /home/easton/eeaston/ree_r62_dev/Windchill/codebase) '(jde-db-source-directories (quote (/home/easton/eeaston/ree_r62_dev/Windchill/src))) '(jde-run-application-class wt.method.MethodServerMain) '(jde-help-docsets (quote ((javadoc /opt/jdk1.3.1/docs/api nil) (javadoc http://windchillweb.mn.ptc.com/javadoc/Windchill_R6/docs/api/; nil) and here are all my jde related settings from my .emacs: '(jde-help-docsets (quote ((javadoc /opt/jdk1.3.1/docs/api nil '(jde-gen-kr nil) '(jde-jdk (quote (1.3.1))) '(jde-jdk-doc-url http://www.javasoft.com/products/jdk/1.3/docs/index.html;) '(jde-global-classpath (quote (~/libs/xalan-j_2_2_D10/bin/xalan.jar ~/libs/xalan-j_2_2_D10/bin/xerces.jar . ~/libs/Saxon-6.3/saxon.jar))) '(jde-bug-jpda-directory ~/elisp/JDPA-1.0) '(jde-bug-vm-includes-jpda-p t) '(jde-jdk-registry (quote ((1.3.1 . /opt/jdk1.3.1) (1.3.0_02 . /opt/jdk1.3.0_02 '(jde-run-classic-mode-vm t) Evan
RE: revolutionary casino software
OWN YOUR VERY OWN CASINO AND SPORTSBOOK! - NO PROGRAMMING skills necessary! - OPEN for business 24 hours per day - NO INVESTMENT required! - CUSTOM BRANDED website design! - Offer over 20 extremely popular and exciting games including: Blackjack Bacarrat Craps Roulette Pai Gow Slots ...and much more ...Internet Gambling is by far the fastest growing and most profitable business on the Internet today! according to Steve Wynn, CEO of Mirage Resorts. With our state-of-the-art, easy to use software, you can now build your own Internet gambling website instantly and start capitalizing on a multi-bullion dollar industry which is still in its relative infancy. Unlike conventional dot com businesses, online gambling is a fast-growing, cash-rich business. Just imagine if you captured a fraction of 1% of the bets placed online. As the number of internet users increases exponentially, so will the amounts wagered online. The time to establish an online presence is now, before the next big surge in internet growth. You will receive 50% of all net winnings - the highest commission payout in the online gambling industry! You can expect to earn $3,000 - 5,000 plus a week! Best of all, this is 100% LEGAL. Don't believe it? Check out the web site http://www.MyCasinoBuilder.com for more details. ### We strongly oppose the use of SPAM email and do not want anyone who does not wish to receive our mailings to receive them. As a result, we have retained the services of an independent 3rd party to administer our list management and remove list (www.removeyou.com). This is not SPAM. If you do not wish to receive further mailings, please click below and enter your email at the bottom of the page. You may then rest-assured that you will never receive another email from us again. http//www.removeyou.com The 21st Century Solution. I.D. # 032950 ###
Re: Sorting methods
It should be pretty easy to do this with JavaCC. Just use one of the Java grammars that are included with JavaCC and write the parse tree back out in whatever order you need. This will make it possible to preserve javadoc too. You didn't mention where Visual Age puts field declarations, but JavaCC should be able to help there too. You might also want to search the comp.compilers.tools.javacc newsgroup to see if anyone has already done something similar -- it seems like the sort of code beautifying tool that a compulsive neat freak must have been inspired to write at some point. You could also look at ANTLR for the same stuff: it's a different parser generator, and its adherents may have done something that would be helpful to you. Eric In message [EMAIL PROTECTED], Perkens-Golomb, Burkhard writes: : I'm looking for a tool to arrange methods in Java sources : alphabetically. : : I've given away sources to a customer. They've worked with them in : Visual Age and I want to look at their changes. They don't remember : all changes they've made so I have to do a diff. But Visual Age stores : the sources in a database, not in flat files, and if you want normal : Java files from Visual Age you get them terrible formatted and the : methods are arranged alphabetically. A diff with my sources is futile. : : I'm looking for a tool to arrange the methods in my sources : alphabetically. Of course I could load my sources in Visual Age and : get them back terrible formatted, too :-) . But I don't have Visual : Age and I don't want to use it if it's possible without it! : : Could Emacs do it (with semantic, senator etc.)? Or other tools? Any : ideas or hints? : : TIA, : : Burkhard :