Jump to content

Recommended Posts

Posted

Actually I just use a very simple script.  I have all my files in a subdirectory of the MCP install (like forge does), then run an install script to set it up.  This sets up my mods whole structure (bash script):

#!/bin/bash

# Setup variables
SELF="`pwd`"
cd ..
BASE="`pwd`"
cd "$SELF"

# Make directory and symlinks
mkdir -p $BASE/src/minecraft/com/overminddl1/minecraft/mods/overgreenetics/
mkdir -p $BASE/src/minecraft_server/com/overminddl1/minecraft/mods/overgreenetics/
mkdir -p $BASE/src/minecraft/com/overminddl1/minecraft/libs/
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/client" "$BASE/src/minecraft/com/overminddl1/minecraft/mods/overgreenetics/client"
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/common" "$BASE/src/minecraft/com/overminddl1/minecraft/mods/overgreenetics/common"
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/server" "$BASE/src/minecraft_server/com/overminddl1/minecraft/mods/overgreenetics/server"
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/common" "$BASE/src/minecraft_server/com/overminddl1/minecraft/mods/overgreenetics/common"
ln -sf "$SELF/src/com/overminddl1/minecraft/libs/NMT" "$BASE/src/minecraft/com/overminddl1/minecraft/libs/NMT"

 

Shared common directory between client/server, always synced, with a dedicated client and dedicated server area as well.

 

It could be pretty easily ported to windows too (yes, windows 2000 and higher, including xp/vista/7/8 have a concept of symlinks like linux).

Posted

Note, for the most part it takes about 10 seconds to create a linked source folder in eclipse.

You only need to copy files around when you recompile/reobf.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Oh crap, you do system links, I did not see that :P

That works, but ya, google is your friend if you dont know how to make linked folders in eclipse.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.