Thread: Keeping tidy.

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Keeping tidy. 
    cheezex
    Guest
    Purpose: To help you orgernise your server files.

    Difficulty: Will be 1.

    Assumed Knowledge: Creating new folders and editting current files.

    Server Base: Works with any.

    Classes Modified: None.

    Procedure

    Step 1: First off, lets start making the folders:
    • src - For your .JAVAs.
    • build - for your .Class files.


    -NOTE-A cool thing is to Right click then select Aranage Icons By > Type and then do the same and put them into groups.

    If you have a CFG File, or CFGs(you should) Put them in your build Folder. or they will not load.

    Step 2: Move all your .JAVA files into src. Do the same for build

    Step 3: Fixing compile.bat and run.bat:
    Code:
    @echo off
    title Compiler
    echo Copiling files from SRC...
    color 0C
    cd src
    "C:/Program Files/Java/jdk1.6.0/bin/javac" -d ../build *.java
    pause
    Code:
    @echo off
    title Server
    cd build
    java -Xmx1024m -cp .;./jython.jar;./mysql.jar server 0
    pause

    There are other files you need to put other places
    Work it out.
    My server files:

    Classes should be build will update later.

    Credits: 95% Me. 5% for the correction(build)
     

  2. #2  
    I'm unique


    Join Date
    Oct 2006
    Age
    29
    Posts
    708
    Thanks given
    0
    Thanks received
    1
    Rep Power
    82
    Don't really get it, what will this really help for? Pointless? (c)
    You can't just move files...
    Sincerly yours,
    Simox.
     

  3. #3  
    Banned
    Join Date
    Jan 2007
    Posts
    562
    Thanks given
    0
    Thanks received
    11
    Rep Power
    0
    it is ok i gues
     

  4. #4  
    cheezex
    Guest
    Yes you can.

    Seriously, it works. Should do. If you know what files to move and were.
     

  5. #5  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,881
    Thanks given
    1,854
    Thanks received
    4,741
    Rep Power
    5000
    Actually you can do it, but you have to edit patches in runserver, compiler and java other (c)



     

  6. #6  
    Whitey
    Guest
    And make them load the .cfg's from the right places.
     

  7. #7  
    Registered Member
    Join Date
    Feb 2007
    Posts
    308
    Thanks given
    0
    Thanks received
    1
    Rep Power
    72
    Java conventions says that you should have already been doing this, it also says to keep all folder names lowercase and to name your "Classes" folder build.
    [Only registered and activated users can see links. ] - The ultimate source of technical RuneScape information.
     

  8. #8  
    × Zenzie ×
    Guest
    Java Conventions for the real "coders" even though wtf "coders" mean.
     

  9. #9  
    cheezex
    Guest
    Quote Originally Posted by samuraiblood2 View Post
    Java conventions says that you should have already been doing this, it also says to keep all folder names lowercase and to name your "Classes" folder build.
    Ah cool, ill change

    Another reason why this helps.
     

  10. #10  
    S.O.A.D
    Guest
    I really dont think that anybody here should need this... Most of you should have it by now lol. This tutorial will probally confuse alot of people even though its so basic..
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •