This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
the project at which i am working is developed in eclipse and the run script is some sort of python script, i wanted to change the behaviour of my program when it initially starts and i plugged in my own class in it, now i am unable to make it "first launch choice " by eclipse, how to make my own class a first class to launch, i have changed the run/debug configurations but i am unable to find my class in run configuration search. any help is highly appreciated.
Sorry, I'm not familiar with "first launch choice" in Eclipse and when I searched the Internet for it, I couldn't find anything about it. Can you tell us how you get to that option, i.e. which Eclipse menu options you're using?
Joined: Jan 25, 2009
ok, i think that i was unable to explain. "first launch choice" is nothing , i just want that when i run my eclipse project it chooses my java class to run (there are many java classes having main method in them).
mansoor altaf wrote:ok, i think that i was unable to explain. "first launch choice" is nothing , i just want that when i run my eclipse project it chooses my java class to run (there are many java classes having main method in them).
That is determined by your Eclipse run/debug profile. You can create multiple profiles against the same project and each one may invoke a different main class and/or run parameters. I do this frequently, in fact.
Customer surveys are for companies who didn't pay proper attention to begin with.