Re: RE: jswat-user Digest, Vol 32, Issue 6
Nathan Fiedler <[email protected]> Fri, 25 Nov 2005 21:35:54 -0800
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Organization | Blue Marsh Softworks |
| Message-ID | <[email protected]> |
Nascif Abousalh-Neto wrote: > Sorry about the trouble with my many e-mail accounts :-) No trouble, it takes just one command to make the change. > Here is my use case: I am using Emacs (but I guess most IDEs would be the same) and I have a project file with all the info required to create a Jswat session - main class, classpath, sourcepath. With the 2.X versions I was able to build a command line from the info in that project file and use it to launch JSWat running my application. This is a "Good Thing" because it eliminates duplication of information - as I add jar files and change the sourcepath or even start a new project, I just have to do the work once, for my IDE project configuration - Jswat just "gets it" using a little bit of glue code. > > Since the new version doesn't take the old command line parameters, this option is out. I would like to have it again, or at least something equivalent. I can think of the following options: > 1) Attaching Jswat to a running process launched by the IDE; This is easier for me since connecting to a debuggee is very simple. There's no classpath or main class to be parsed and set up for launching. > 2) Supporting command line parameters in the new version (not sure if this is even possible). This will be required actually, even to fulfill option 1. > 3) Supporting an easy-to-generate file format for sessions that could be generated by the "glue" code. Would still require a way to force Jswat to load that particular session. That sounds like more work for both of us, having to generate and subsequently parse files. I'm going to take this discussion off this list and copy another person because he's asking for the same thing at the same time as you. I'm guessing that most folks on this list aren't interested in the discussion, anyway. > PS: Just out of curiosity, what is your experience building on top of NetBeans? Are you using 4.1 or 5.x? Have you considered Eclipse RCP? I have to make that call in my project soon and would really like to know your take on this. I am using NetBeans 4.1 until the 5.0 version is released. I did not consider Eclipse since at the time I made the decision I had just started working for Sun Microsystems. I'd probably be fired if I were to use Eclipse. From what I've seen of it, I wouldn't have wanted to use it anyway. As for NetBeans, it is very satisfactory. It is the single best decision I've made regarding JSwat, and has been a terrific learning experience as well. It also helps with my work at Sun, since I am working on Java Studio Enterprise and that, too, is based on NetBeans. n