Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add another launching class in eclipse

 
mansoor altaf
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

regards.

Mansoor
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
mansoor altaf
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).

regards.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).

regards.


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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic