[Tut] Editing and Compiling OdinMS using the Eclipse IDE

Results 1 to 4 of 4
  1. #1
    Helper secutos is offline
    MemberRank
    May 2008 Join Date
    206Posts

    [Tut] Editing and Compiling OdinMS using the Eclipse IDE

    A Guide To: Editing and Compiling OdinMS using the Eclipse IDE

    Note: I'm aware there is a similar guide here, but this guide has pictures and should be easier to follow.

    Welcome

    Eclipse is an IDE (Integrated Development Enviroment). IDE's have code editors and compilers. We'll be looking at how to use Eclipse to view, edit, and compile the OdinMS java source.

    Downloads

    Note: If you can't extract a ZIP file, download WinRAR here.
    1. Eclipse

    Installation

    Note: Eclipse doesn't really have an installation process. You simply extract the files in the ZIP.

    1. Extract the ZIP file you downloaded (eclipse-java-ganymede-SR1-win32.zip) to the desktop.
    2. Open the eclipse folder.
    3. Run the file eclipse.exe inside that folder.


    Caption: Eclipse's Splash Screen

    4. If you are a first time user, skip this step. When Eclipse is finished loading, if you are a first time user, Eclipse will show this welcome screen:


    Caption: Eclipse's Welcome Screen

    Click the right arrow to go to the Workbench.

    5. Select File->New Java Project. For the project name, enter your desired project name (odinms recommended). Check "Create project from existing source." For the Directory, click Browse... and select the parentfolder of src. (If you don't know what the src folder is, you can recognize it by the folders inside: net->sf->odinms.) src is the folder that contains the OdinMS java source files with alot of other folders.


    Caption: Adding the project

    6. That's it for viewing. To edit the source, simply change it. To compile the source, you can right click the Project Folder and click Build Project.

    7. To build a working JAR file to use in your newly edited server, right click the Project Folder and select Export.


    Caption: Step 1, Compiling to a JAR file

    Browse... for a destination for the "To archive file:"

    8. You will see a JAR file in that directory. Copy that jar file to your dist folder inside your private server folder.


  2. #2
    Proficient Member yoyonerd is offline
    MemberRank
    Apr 2008 Join Date
    159Posts

    Re: [Tut] Editing and Compiling OdinMS using the Eclipse IDE

    very informative, thanks for posting

  3. #3
    Account Upgraded | Title Enabled! ajczdabomb is offline
    MemberRank
    Sep 2008 Join Date
    NYLocation
    242Posts

    Re: [Tut] Editing and Compiling OdinMS using the Eclipse IDE

    nice job, using it now. more user-friendly, love your guide.
    if i want to compile maplecharacter, only, and i compile the src, is that wrong>?
    the maplecharacter is in the src.

    does not tell us how to fix errors, please add
    Last edited by ajczdabomb; 07-02-09 at 01:16 AM. Reason: more info

  4. #4
    Account Upgraded | Title Enabled! HawksKing is offline
    MemberRank
    Aug 2008 Join Date
    Behind You!Location
    219Posts

    Re: [Tut] Editing and Compiling OdinMS using the Eclipse IDE

    Great! 8/10



Advertisement