RE: jswat-user Digest, Vol 32, Issue 6

"Nascif Abousalh-Neto" <[email protected]> Fri, 25 Nov 2005 20:52:44 -0500
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Hi Nathan,

Sorry about the trouble with my many e-mail accounts :-)

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;
2) Supporting command line parameters in the new version (not sure if this is even possible).
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.

Thanks,
  Nascif

 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.


> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> [email protected]
> Sent: Thursday, November 24, 2005 3:00 PM
> To: [email protected]
> Subject: jswat-user Digest, Vol 32, Issue 6
> 
> Send jswat-user mailing list submissions to
> 	[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.bluemarsh.com/mailman/listinfo/jswat-user
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> When replying, please edit your Subject line so it is more 
> specific than "Re: Contents of jswat-user digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Questions about new version (Nathan Fiedler)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 23 Nov 2005 16:18:25 -0800
> From: Nathan Fiedler <[email protected]>
> Subject: [jswat-user] Re: Questions about new version
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi Nascif,
> 
> I've changed your jswat-user subscription so that it has your 
> sas.com address, instead of the acm.org address (otherwise 
> Mailman won't let you post messages). If you want to have 
> both addresses subscribed, let me know.
> 
> Now about your questions:
> 
> 1. The README file has a link to the NetBeans site which 
> documents the available launcher options. According to that 
> page, it should support -h and --help, but maybe it isn't 
> working. I'll check when I get the chance. In the meantime, 
> here is the URL:
> 
> http://www.netbeans.org/kb/41/using-netbeans/configuring.html#switches
> 
> 2. Okay, I'll look at adding spacers around the combobox. I 
> admit, it does look a little big when the toolbar icons are 
> at the large size setting, but looks fine when the icons are 
> small (see the View menu).
> 
> As for an API for launching JSwat, there is none at the 
> moment. I want to add support for the 'launch' JPDA flag, 
> although that is a little different than what you're asking 
> for. Let me know exactly what you're looking for and I'll 
> enter an RFE. I can probably implement it for the next release.
> 
> Thanks
> 
> n
> 
> 
> Nascif Abousalh-Neto wrote:
> > Hi Nathan and all,
> > 
> > I am trying the latest 3.2 and I have some suggestions:
> > 1) the executable doesn't answer to standard command-line 
> flags like 
> > -? And --help
> > 2) The combobox on the toolbar would look much better if 
> you put it inside a GridBagLayout and added empty panels to 
> the top and bottom to act as "spacers" and take the extra space.
> > 
> > And now for some questions:
> > I wrote an Emacs extension for the 2.x versions that would 
> launch Jswat from Emacs, using the attributes from the 
> current Java Development Environment (JDE) to provide the 
> source path, classpath, main class and args. I would like to 
> do something similar for the current version, but I believe 
> it is now impossible to pass those arguments in the command 
> line. Is there any other option? 
> > 
> > If session options are kept in a text file, I could create 
> this file from the JDE configuration and then point Jswat to 
> it. It would be a step closer.
> > 
> > Thanks,
> >   Nascif
> 
> 
> ------------------------------
> 
> _______________________________________________
> jswat-user mailing list
> [email protected]
> http://www.bluemarsh.com/mailman/listinfo/jswat-user
> 
> 
> End of jswat-user Digest, Vol 32, Issue 6
> *****************************************
>