Re: Renaming Proposal
May be I thinking too simple but isn't it feasable to invoke JMode by M-x j-mode ? Besides I love jde and would also contribute if you need to raise a fund for jde / jmode. Karim.
ANN: Name Change Plans
Hi All, Taking into consideration your feedback and on the advice of Richard Stallman, I have decided to accede to J.D. Edwards demand that I change the name of the JDE. I plan to send a letter notifying them of my decision tomorrow. I have decided to use JMode as the new name of the JDE because it has an Emacs flavor, is not trademarked in the U.S., and has received generally favorable comments from JDE users. I have asked Sunsite Denmark to provide me with a new set of domain, mailing list, and repository addresses based on jmode. To ease the transition to the new name, I have asked Sunsite Denmark to redirect the old addresses to the new. I will let you know as soon as the new addresses become effective. I will start changing the name on the JDE website pages and in the documentation over the next few days. I have not decided whether to change the name in the source code yet but I probably will ASAP to avoid confusion. If you can think of anything else that I can do to minimize the impact of this name change on you, please let me know. Regards, Paul
Re: Name Change Plans
I have decided to use JMode as the new name of the JDE because it has an Emacs flavor, is not trademarked in the U.S., and has received generally favorable comments from JDE users. Good choice. Good name. Path of least resistance; back to coding success. Congratulations, and good luck with the new identity. BC Crandall Wiesbaden Germany [EMAIL PROTECTED]
Re: Renaming Proposal
You wrote: At 01:48 PM 7/18/2001 +0200, Karim Trott wrote: May be I thinking too simple but isn't it feasable to invoke JMode by M-x j-mode ? Yes, one possibility is to replace jde- with j- in symbol names, on the analogy of c-mode. Another is jmode-. Thus, jde-global-classpath might become j-global-classpath or jmode-global-classpath. I'd appreciate feedback on these alternatives. I think jmode- is much better than j- as prefix. The mode activation function could be called jmode though. Too bad you have to change the name, JDE is a well known name for Java programmers now. It's kinda scary that big companies can have such power of us small, hard working developers. I hope nobody starts complaining about ECB... /Jesper Nordenberg
Re: Renaming Proposal
In message [EMAIL PROTECTED], Paul Kinnucan write s: : Yes, one possibility is to replace jde- with j- in symbol names, on the : analogy of c-mode. Another is jmode-. Thus, jde-global-classpath might : become j-global-classpath or jmode-global-classpath. I would very much prefer jmode- as a prefix, but I'm not gonna lose sleep over it.
RE: Go to definition/declaration of a identifier ?
Is there a method in JDE that could jump to the definition/declaration of a identifier ? Yes, M-x senator-jump or C-c , j This just work for global definitions/declarations Javier
convert multiple imports into .*
The jde-import-kill-extra-imports is great, but how about a option to collapse multiple imports from the same package to a .* import ? It should ofcourse be optional and there might be a jde-import-collapse-threshold that decided how many imports from the same package the file should have 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
Re: ANN: Name Change Plans
You sure made a right choice Paul, I just can't stop thinking to the next JMode release :) Will we be transfered to the new mailing list's user list ? Stephane On Wednesday 18 July 2001 07:53, you wrote: Hi All, Taking into consideration your feedback and on the advice of Richard Stallman, I have decided to accede to J.D. Edwards demand that I change the name of the JDE. I plan to send a letter notifying them of my decision tomorrow. I have decided to use JMode as the new name of the JDE because it has an Emacs flavor, is not trademarked in the U.S., and has received generally favorable comments from JDE users. I have asked Sunsite Denmark to provide me with a new set of domain, mailing list, and repository addresses based on jmode. To ease the transition to the new name, I have asked Sunsite Denmark to redirect the old addresses to the new. I will let you know as soon as the new addresses become effective. I will start changing the name on the JDE website pages and in the documentation over the next few days. I have not decided whether to change the name in the source code yet but I probably will ASAP to avoid confusion. If you can think of anything else that I can do to minimize the impact of this name change on you, please let me know. Regards, Paul
Re: ANN: Name Change Plans
Contacting slashdot would be interesting 1- to let open source community know what has happened with this story. It seemes it 's not the last time trademark and patents will hit open source projects. 2- to get some advertising for the new name, to avoid loosing users. Steff On Wednesday 18 July 2001 07:53, Paul Kinnucan wrote: Hi All, Taking into consideration your feedback and on the advice of Richard Stallman, I have decided to accede to J.D. Edwards demand that I change the name of the JDE. I plan to send a letter notifying them of my decision tomorrow. I have decided to use JMode as the new name of the JDE because it has an Emacs flavor, is not trademarked in the U.S., and has received generally favorable comments from JDE users. I have asked Sunsite Denmark to provide me with a new set of domain, mailing list, and repository addresses based on jmode. To ease the transition to the new name, I have asked Sunsite Denmark to redirect the old addresses to the new. I will let you know as soon as the new addresses become effective. I will start changing the name on the JDE website pages and in the documentation over the next few days. I have not decided whether to change the name in the source code yet but I probably will ASAP to avoid confusion. If you can think of anything else that I can do to minimize the impact of this name change on you, please let me know. Regards, Paul
RE: jde-ant
Hi Douglas, This is also kind of a hack, but basically I advise the function `compile-internal' to put the value of `jde-global-classpath' in $CLASSPATH for the duration of the compilation. Has anyone else solved this problem of propagating jde-global-classpath to compiles more elegantly than this? (defadvice compile-internal (around njs-apply-jde-global-classpath-to-make compile activate) Hack compile-internal to apply the current jde-global-classpath as the make process's classpath. Also force load of jde project if not already loaded. (let ((process-environment process-environment)) (if (and (string-equal default jde-project-name) (jde-find-project-file default-directory)) (jde-load-project-file)) (setq process-environment (remove-if (lambda (x) (string-match ^CLASSPATH= x)) process-environment)) (add-to-list 'process-environment (concat CLASSPATH= (jde-global-classpath))) ad-do-it)) Now if you're going to need several different classpaths depending on the target, you're probably best off coding those classpaths into the ant build file. Best, /Nick -Original Message- From: Douglas WF Acheson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 8:29 AM To: [EMAIL PROTECTED] Subject: jde-ant Hello, After finally moving to ant to build my java apps I would like to use the jde-ant feature (new name jmode-ant :-) I have played with it for the last few days. I found a potential problem using XEmacs. I had to add the following code from (let ((temp last-nonmen-event)) to (let ((temp (if (boundp 'last-nonmenu-event) last-nonmen-event nil))) to avoid getting a Symbol's value as variable is void: last-nonmenu-event error. Anyways, it works -- if someone can let me know what I can do to not use this hack, that would be good. Another interesting problem, I have custom targets in the ant build project. How do I adjust the classpath for ant so I can add my jar files. Any help would be very appreciated. Douglas WF Acheson = Douglas WF Acheson __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
JDebug question
What is the recomended way to debug servlets? I was just specifying the servlet engine as the application to be debugged and then setting breakpoints in my coe. However, this stopped working and I found that when I changed to using a port, it became too slow to work with. Should I change to use shared memory? Are there parameters I should tweak to give it more memory?
Re: ANN: Name Change Plans
On 18 Jul 2001 07:53:03 -0400, Paul Kinnucan wrote: If you can think of anything else that I can do to minimize the impact of this name change on you, please let me know. Shall we trademark JMode just in case? It seems many of us, me included, are willing to help defer the legal cost of one.
Re: ANN: Name Change Plans
- Original Message - From: Stephane [EMAIL PROTECTED] To: Paul Kinnucan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 9:57 AM Subject: Re: ANN: Name Change Plans You sure made a right choice Paul, I just can't stop thinking to the next JMode release :) Will we be transfered to the new mailing list's user list ? Yes. Everybody on the current list will be transferred to the new list. - Paul
Re: Renaming Proposal
jmode- is a good choice; could use jm- for an abbreviation if it's not already in use in another emacs package. -WLA
Re: ANN: Name Change Plans
: Shall we trademark JMode just in case? It seems many of us, me included, : are willing to help defer the legal cost of one. Can the FSF help in this area? That is, could the FSF set up a dedicated fund for JMode's trademark (to which we could contribute) and take care of whatever paperwork there is? Keep in mind that part of owning a trademark is defending it - if you don't send out cease and desist letters to people who violate it, you can't later claim that they violated your rights. Perhaps the FSF would be willing to oversee the `trademark watch' that protects trademark holders from such abuses? (I must note here that I have mixed feelings about this - the whole idea of saying that these letters are mine and you may not use them is really very silly, but that's the way things are) Getting the FSF involved would have several advantages that I can think of: 1. Paul wouldn't have to waste any more time on this; 2. Because of 1, jde 2.8 final will be out sooner smile 3. A precedent would be established that other open source projects could follow. 4. cravenness shame='none'Those of us in the US who make contributions to the fund could get a tax credit for contributing to a qualified non-profit organization./cravenness Eric
Re: ANN: Name Change Plans
At 09:12 AM 7/18/01 -0700, [EMAIL PROTECTED] wrote: : Shall we trademark JMode just in case? It seems many of us, me included, : are willing to help defer the legal cost of one. Can the FSF help in this area? That is, could the FSF set up a dedicated fund for JMode's trademark (to which we could contribute) and take care of whatever paperwork there is? Keep in mind that part of owning a trademark is defending it - if you don't send out cease and desist letters to people who violate it, you can't later claim that they violated your rights. Is that actually an issue here? The interest in getting the trademark is to prevent some company from sending Paul another cease and desist letter, not to monopolize the word JMode. Even if he loses the rights, I doubt that someone else could trademark it and force him off of it. At the very least, he's got a very strong case for prior use. This leads me to wonder if it would even be necessary to renew the trademark, making this a one-time expense. Troy who is not a lawyer
Re: Should the JDE require ECB?
Paul, I've played with ecb a little bit, it was a few revisions back though. And I didn't find it all that useful to me. Maybe if you could sell me on what it brings to the table that speedbar/semantic can't do for me. It just felt very cluttered to me. An on a 1600x1200 display making feel cluttered is no small task. Brad On Tue, Jun 12, 2001 at 01:02:11AM -0400, Paul Kinnucan wrote: Hi all, I have come to rely on the Emacs Code Browser (ECB) and would like to integrate it into the JDE. This would entail making ECB yet another external package required by the JDE. The benefit, however, is that the JDE would provide facilities for using ECB, such as keybindings and menu items for toggling ECB off-and-on and setting up ECB to browse jde-db-source-directories. What do you think? I've also started working on a Java-based netinstaller for the JDE that would download and uncompress the JDE and all its required packages and set up your .emacs file. I might even include installing Emacs itself (on Windows) and cygwin as netinstaller options. This should eventually eliminate the problem of having to download and install so many packages. - Paul -- --- There are two kinds of knowledge, you either know the answer or you know where to find it -Kane, Johnson, and anonymous
ECB v1.40 released!
ECB, Emacs Code Browser, version 1.40 is now available at: http://home.swipnet.se/mayhem/ecb.html ECB is a source code browser that displays directories, source files, methods and variables that can be navigated using the mouse (and keyboard). It supports parsing of Java, C, C++ and Elisp source code. It is completely written in Emacs Lisp and uses semantic to parse source files. Major changes since last version: - ECB now requires semantic 1.4beta8 or later! - ECB is now a global minor mode with it's own menu ECB and it's own keymap with prefix C-c .. - Better integration with semantic: - ECB now uses semantic functions to display tokens in the methods buffer. - Only changed tokens are updated in the methods buffer. - Can display any semantic token type in the methods buffer. - Added a token tree cache that stores recently opened buffers' token trees. This makes the buffer switching much faster and also saves expanded token tree nodes. - Better support for small screens: - A new layout, nr. 11. - New function to toggle visibility of the ECB windows (see 'ecb-toggle-ecb-windows'). Contributions, suggestions and bug reports are welcome! Please send them to the public mailing list: http://lists.sourceforge.net/lists/listinfo/ecb-list /Jesper Nordenberg
Block comment indentation
I have some old files where block comments are not formmated the way I want. They are like this: /** * * */ The stars are flush left. Instead I want this: /** * * */ Now, JDE correctly indents this way when I type new comments. However, I would like to reformat my old code automagically using indent-region. This might have been working, I don't remember. But recently I changed my settings and downloaded a new JDE (2.2.8beta3), and now it's not working. Maybe it never did this, I don't know. Anyway, does anyone know what settings control this? Is this more of of cc-mode question? If so, sorry for asking here. Thanks! Steve Molitor [EMAIL PROTECTED]
Re: Renaming Proposal
Hi, I like jmode too. How about slight change with big consequencies?:-) That is, jdm (java development mode of course)? Thanks and sorry if it's too late. Latchezar PS. BTW, I've made a suggestion for j-d-e earlier but haven't heard any comments? Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm From: William L Anderson [EMAIL PROTECTED] Date: Wed, 18 Jul 2001 12:15:11 -0400 To: Paul Kinnucan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Renaming Proposal jmode- is a good choice; could use jm- for an abbreviation if it's not already in use in another emacs package. -WLA Latchezar (Lucho) Dimitrov home: (336) 794-2094 mailto:[EMAIL PROTECTED]http://www.wfu.edu/~dimil01g/ ... If you think education is expensive, try ignorance. -- Derek Bok, president of Harvard
Re: Renaming Proposal
To invoke jde-mode do you type jmode-mode or jmode ? :)
RE: Renaming Proposal
Yeah and what do you put at the top of a file to invoke it? -*- j -*- ? -Original Message- From: Matthew Sherborne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 4:56 PM To: [EMAIL PROTECTED] Subject: Re: Renaming Proposal To invoke jde-mode do you type jmode-mode or jmode ? :)
RE: Renaming Proposal
Is jmode short for Jmode is MOre than a Development Environment? Jmode Makes Other De:s Extinct? Jmode Means Ok Development Environment? -Original Message- From: Latchezar M. Dimitrov [mailto:[EMAIL PROTECTED]] Sent: den 18 juli 2001 23:29 To: Paul Kinnucan Cc: [EMAIL PROTECTED] Subject: Re: Renaming Proposal Hi, I like jmode too. How about slight change with big consequencies?:-) That is, jdm (java development mode of course)? Thanks and sorry if it's too late. Latchezar PS. BTW, I've made a suggestion for j-d-e earlier but haven't heard any comments? Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm From: William L Anderson [EMAIL PROTECTED] Date: Wed, 18 Jul 2001 12:15:11 -0400 To: Paul Kinnucan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Renaming Proposal jmode- is a good choice; could use jm- for an abbreviation if it's not already in use in another emacs package. -WLA Latchezar (Lucho) Dimitrov home: (336) 794-2094 mailto:[EMAIL PROTECTED]http://www.wfu.edu/~dimil01g/ ... If you think education is expensive, try ignorance. -- Derek Bok, president of Harvard
Re: ANN: Name Change Plans
In message [EMAIL PROTECTED], Udalrich wri tes: : : Keep in mind that part of owning a trademark is defending it - if : you don't send out cease and desist letters to people who violate it, : you can't later claim that they violated your rights. : : Is that actually an issue here? The interest in getting the trademark is : to prevent some company from sending Paul another cease and desist letter, : not to monopolize the word JMode. Even if he loses the rights, I doubt : that someone else could trademark it and force him off of it. At the very : least, he's got a very strong case for prior use. IANAL, but I believe it is an issue. In the US, I believe the rule is defend it or lose it. Now that may mean that if you don't defend it, others can use it (which I'm sure would be fine with Paul). But, it may also mean that those who use it can get the USPTO to agree that you've stopped defending it and so *they* should be eligible for exclusivity on the TM. I don't know if this is true or not for trademarks, but it merits investigation. Also, remember that it's not a one time expense: TMs expire and have to be renewed. That's what happened to JD Edwards, as others on this list have explained it - they let their TM lapse for a year or so, right around the time the JDE... er...Jmode was born. Eric speculatingly wildly Friedman
Re: Renaming Proposal
Jim LoVerde wrote: I guess what I'm saying it that depending on the verbage of the letter, it may still be possible to work out an amicable If you own a trademark but never enforce it, it loses validity. So, it might be worthwhile for JD Edwards to flex its muscles at us small fry just because we are an easy target, not because they are worried we would affect their business prospects. If we want to fight, the most effective way would be public ridicule. But it might be better to just accept a new name. cheers -- Rick -- Rick Leir Supply Chain Solutions Pelyco Systems http://www.pelyco.com 613 226 6109[EMAIL PROTECTED]
Re: Renaming Proposal
You are correct regarding enforcement. Hence the reason that they sent Paul the cease and desist notice. However, that only means that they took a cursory glance at JDE, saw that there might be a conflict and took the appropriate measure to notify the potential violator. They are probably unaware of the duration of time that JDE has been used as well as the details of what it really is and the fact that the full name is Java Development Environment. For these reasons it seems perfectly valid to provide them with the facts regarding the product, provide several possible solutions, and request further information with regard to their ownership of the trademark, and which sections of the law they are citing as a violation. Possible solutions: 1. Obtain permission from JDE to continue to use the mark. (The owner of a trademark is fully allowed to grant others permission to use the mark while still retaining rights to it.) 2. Don't use the letters JDE in the logo, or at least incorporate the full product name (which may very well be their largest objection). 3. Place a notice on the website referring users who errantly went to the page to the JD Edwards site. Again, I am not proposing replying to JD Edwards with a challenge. Rather, I am proposing a request for further information. It seems to at least be worth a try before jumping through a lot of hoops for something that might be amicably worked out. One could also point out the bad press companies have received for hitting open source projects and offer to submit a story showing JDE as a counter example to that general trend. I would not recommend asking them if JDEE is an acceptable name without first changing the name of the product on the web site and getting formal proof of use of the name (after which any future trademarking is irrelevant due to common law). Otherwise, they could submit an ITU trademark registration for the new name prior to that decision. Rick Leir wrote: Jim LoVerde wrote: I guess what I'm saying it that depending on the verbage of the letter, it may still be possible to work out an amicable If you own a trademark but never enforce it, it loses validity. So, it might be worthwhile for JD Edwards to flex its muscles at us small fry just because we are an easy target, not because they are worried we would affect their business prospects. If we want to fight, the most effective way would be public ridicule. But it might be better to just accept a new name. cheers -- Rick -- Rick Leir Supply Chain Solutions Pelyco Systems http://www.pelyco.com 613 226 6109[EMAIL PROTECTED] -- Jim LoVerde, Sr. Technical Architect nVISIA, http://www.nvisia.com voice: 312-985-8178 pager: 800-862-0399 #17086723 fax:312-985-8101 epage: [EMAIL PROTECTED] S/MIME Cryptographic Signature
RE: Renaming Proposal
At 02:42 PM 7/18/2001 -0700, Iain Huxley [EMAIL PROTECTED] wrote: I'm sure you're sick of naming comments etc. by now, and it may be too late, but: In some ways using the word mode understates what JDE can do for you - it makes it seem like just some formatting helper; the rich set of features is better indicated by development environment. I agree. I am not entirely satisfied with JMode for exactly the reason you cite. I would like to retain the words development environment in the name. So I have been having second thoughts about JMode. I've asked Sunsite Denmark to hold off on making the name change in order to give us some more time to think about the name. so, here are a couple more possibilities which retain that part: JIDE [java integrated development environment] eJIDE [emacs ...] j-ide Java-IDE I will give these consideration and check out whether they are trademarked. - Paul
Re: ANN: Name Change Plans
At 03:28 PM 7/18/2001 -0700, [EMAIL PROTECTED] wrote: [snip] Also, remember that it's not a one time expense: TMs expire and have to be renewed. That's what happened to JD Edwards, as others on this list have explained it - they let their TM lapse for a year or so, right around the time the JDE... er...Jmode was born. I created the JDE in late 1996 and posted it available on the Internet for the first time in January, 1997. - Paul
Re: Renaming Proposal
At 12:44 AM 7/19/2001 -0400, Paul Kinnucan wrote: Hi Jim, I am now have second thoughts both about simply acceding and about the choice of a name. Your comments make a lot of sense. Maybe I can reach a middle ground with J.D. Edwards. The best scenario would be if they accepted our continued use of JDE. If they won't accept that, I would prefer JDEE over JMode because it is a full acronym for the J(ava) D(evelopment) E(nvironment) for E(macs). JDEE was my first choice but I had discarded it as possibility because somebody had said that any acronym that contained JDE would be considered an infringement. Your research seems to suggest that it would be okay. I will try the approach that you suggest. I just searched the PTO database. JDEE is not trademarked. - Paul
Re: Renaming Proposal
At 09:23 PM 7/18/2001 -0500, you wrote: You are correct regarding enforcement. Hence the reason that they sent Paul the cease and desist notice. However, that only means that they took a cursory glance at JDE, saw that there might be a conflict and took the appropriate measure to notify the potential violator. They are probably unaware of the duration of time that JDE has been used as well as the details of what it really is and the fact that the full name is Java Development Environment. For these reasons it seems perfectly valid to provide them with the facts regarding the product, provide several possible solutions, and request further information with regard to their ownership of the trademark, and which sections of the law they are citing as a violation. Here is the meat of their claim: Your use of JDE in your organization name and on your web site is likely to cause consumer confusion as to possible affiliation or sponsorship by J.D. Edwards and confusion as to the source, origin, or approval of goods and services offered by your organization. Such use, without authorization, constitutes infringement of J.D. Edwards' rights in its marks and unfair competition, even if a disclaimer is included. Needless to say this claim is patently absurd. First, I have no organization so it is factually wrong. Secondly, my website makes it clear that JDE stands for Java Development Environment so there is no possibility of a consumer confusing my software with any product or service offered by J.D. Edwards. My site nowhwere mentions J.D. Edwards or any of its product or services. Thirdly I do not offer any product or service that competes with any product or service offered by J.D. Edwards. [snip] I would not recommend asking them if JDEE is an acceptable name without first changing the name of the product on the web site and getting formal proof of use of the name (after which any future trademarking is irrelevant due to common law). Otherwise, they could submit an ITU trademark registration for the new name prior to that decision. I have just changed the website back to use JDEE to forestall such a move. - Paul
Re: jde-ant
Douglas Regarding your second issue, I typically do something like the following in my ant build.xml file !-- Path element containing all jar files in lib directory -- path id=lib.class.path fileset dir=${lib.dir} include name=**/*.jar/ /fileset /path Then, in my javac task, I have something like the following classpath pathelement location=${build.dest.dir}/ path refid=lib.class.path/ /classpath BTW: I am in the process of making some (relatively extensive) changes to jde-ant (jmode-ant). One of the new features will be the ability to create a new build definition file from a template. Regards Jason Douglas WF Acheson To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: om Subject: jde-ant 07/18/01 09:29 AM Hello, After finally moving to ant to build my java apps I would like to use the jde-ant feature (new name jmode-ant :-) I have played with it for the last few days. I found a potential problem using XEmacs. I had to add the following code from (let ((temp last-nonmen-event)) to (let ((temp (if (boundp 'last-nonmenu-event) last-nonmen-event nil))) to avoid getting a Symbol's value as variable is void: last-nonmenu-event error. Anyways, it works -- if someone can let me know what I can do to not use this hack, that would be good. Another interesting problem, I have custom targets in the ant build project. How do I adjust the classpath for ant so I can add my jar files. Any help would be very appreciated. Douglas WF Acheson = Douglas WF Acheson __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: Renaming Proposal
On Wed, 18 Jul 2001, [EMAIL PROTECTED] wrote: It all comes down to the fact that sending a cease and desist letter seems to be a standard practice (and in fact is required of a trademark owner to retain the rights to a trademark). This doesn't mean that they will necessarily pursue litigation if they find that you have a valid claim on the name. None of that necessarily requires any court action. Interesting. Is there a point at which if you don't comply, then you will be pulled into court? Could you just hold off until that time to see if they are just doing this to cover their tracks? -- Galen Boyer It seems to me, I remember every single thing I know.
Re: jde-ant
Hello, Thanks for the reply. I was under the impression that the custom tasks, the ones that I have developed need to be part of the classpath that ant uses. So, if I were to start ant from the command line (not under Emacs) I would include the ant.jar, parser.jar, and jaxp.jar plus my.jar in the -classpath option to java. I believe that the example below will not work correctly. Am I missing something? Thanks ... Douglas WF Acheson --- [EMAIL PROTECTED] wrote: Douglas Regarding your second issue, I typically do something like the following in my ant build.xml file !-- Path element containing all jar files in lib directory -- path id=lib.class.path fileset dir=${lib.dir} include name=**/*.jar/ /fileset /path Then, in my javac task, I have something like the following classpath pathelement location=${build.dest.dir}/ path refid=lib.class.path/ /classpath BTW: I am in the process of making some (relatively extensive) changes to jde-ant (jmode-ant). One of the new features will be the ability to create a new build definition file from a template. Regards Jason Douglas WF Acheson To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: om Subject: jde-ant 07/18/01 09:29 AM Hello, After finally moving to ant to build my java apps I would like to use the jde-ant feature (new name jmode-ant :-) I have played with it for the last few days. I found a potential problem using XEmacs. I had to add the following code from (let ((temp last-nonmen-event)) to (let ((temp (if (boundp 'last-nonmenu-event) last-nonmen-event nil))) to avoid getting a Symbol's value as variable is void: last-nonmenu-event error. Anyways, it works -- if someone can let me know what I can do to not use this hack, that would be good. Another interesting problem, I have custom targets in the ant build project. How do I adjust the classpath for ant so I can add my jar files. Any help would be very appreciated. Douglas WF Acheson = Douglas WF Acheson __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ = Douglas WF Acheson __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: jde-ant
Douglas Options: 1 - You can use the jde-ant-args custom variable to pass in the classpath you want to use. 2 - There is a custom variable jde-ant-program that points to the script that runs Ant. You could also edit the script (or create a new one) that passes in the classpath you want to use; however, this isn't particularly elegant (or portable), and I generally discourage doing anything fancy in the script you use to run Ant. 3 - Modify your custom Ant tasks to allow specification of the classpath (for an example, look at how the javac task is implemented). HTH Jason Douglas WF Acheson To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: [EMAIL PROTECTED] om Subject: Re: jde-ant 07/18/01 11:30 AM Hello, Thanks for the reply. I was under the impression that the custom tasks, the ones that I have developed need to be part of the classpath that ant uses. So, if I were to start ant from the command line (not under Emacs) I would include the ant.jar, parser.jar, and jaxp.jar plus my.jar in the -classpath option to java. I believe that the example below will not work correctly. Am I missing something? Thanks ... Douglas WF Acheson --- [EMAIL PROTECTED] wrote: Douglas Regarding your second issue, I typically do something like the following in my ant build.xml file !-- Path element containing all jar files in lib directory -- path id=lib.class.path fileset dir=${lib.dir} include name=**/*.jar/ /fileset /path Then, in my javac task, I have something like the following classpath pathelement location=${build.dest.dir}/ path refid=lib.class.path/ /classpath BTW: I am in the process of making some (relatively extensive) changes to jde-ant (jmode-ant). One of the new features will be the ability to create a new build definition file from a template. Regards Jason Douglas WF Acheson To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: om Subject: jde-ant 07/18/01 09:29 AM Hello, After finally moving to ant to build my java apps I would like to use the jde-ant feature (new name jmode-ant :-) I have played with it for the last few days. I found a potential problem using XEmacs. I had to add the following code from (let ((temp last-nonmen-event)) to (let ((temp (if (boundp 'last-nonmenu-event) last-nonmen-event nil))) to avoid getting a Symbol's value as variable is void: last-nonmenu-event error. Anyways, it works -- if someone can let me know what I can do to not use this hack, that would be good. Another interesting problem, I have custom targets in the ant build project. How do I adjust the classpath for ant so I can add my jar files. Any help would be very appreciated. Douglas WF Acheson = Douglas WF Acheson __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ = Douglas WF Acheson __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/