[Pogamut-list] Eclipse: Selection Does Not Contain A Main Type
jakub.gemrot
pogamut-forum at diana.ms.mff.cuni.cz
Sun Oct 16 12:27:19 CEST 2011
Re: Eclipse: Selection Does Not Contain A Main Type
Author: jakub.gemrot
Hi!
These projects are not meant to be executed by the Eclipse directly.
Nevertheless, it should be working when:
1) you locate bot's main class (usually something like EmptyBot.java, HunterBot.java, etc.)
2) right-click the whole project in the Package explorer and click Run As -> Maven Package
3) wait till the project is built (and review whether it BUILD SUCCESS !)
4) right-click the bot's main class in Package explorer and Run As -> Java Application
Best,
Jakub
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=5&comments_reply_threadId=5&comments_parentId=844&post_reply=1#form>
More information about the Pogamut-list
mailing list