File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add another launching class in eclipse

 
mansoor altaf
Greenhorn
Posts: 8
  • 0
  • 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
Pie
Posts: 20188
26
MySQL Database
  • 0
  • 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
  • 0
  • 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
Pie
Posts: 17626
39
Android Eclipse IDE Linux
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic