This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I need to start debugging my "Java Application" (This is a swing based application) in WSAD. The start class needs some input paramerts/arguments and classpath settings so it is not as simple as "java classname". When i want to debug the application it staright away starts from the class having the main method but later on the program fails as the necessary conditions have not be specified. Can you tell me how to set up a class before begining to debug it. I need to specify parameters and arguments to the java class pARAMERTS COME AFTER "java" command but before specifying the name of the start class. arguments come after the classname. Pl. help.
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>I have no special talent. <b>I am only passionately curious.</b> <br /> <br />Albert Einstein <hr></blockquote>
In WSAD you specify the classpath by configuring the project's "Build Path", not at any command line. That's in the properties dialog for the project. As for command line parameters, if you select "Run" then "Run..." you can create a new configuration for the "Java Application" type. This has an "Arguments" tab where the command-line parameters go.
I'm telling you this based on RAD 6.0. It may have been different in WSAD 5.x, I don't remember, but not that different. Sometimes you have to poke around a bit before you find the things that work.