Skip to content

Instantly share code, notes, and snippets.

@aib
Created July 30, 2012 01:03
Show Gist options
  • Save aib/3203079 to your computer and use it in GitHub Desktop.
Save aib/3203079 to your computer and use it in GitHub Desktop.
MCP should do this
From 1f17ce8262b1c5194e061819af8fe1e9a2bb15b6 Mon Sep 17 00:00:00 2001
From: aib <[email protected]>
Date: Mon, 30 Jul 2012 04:00:34 +0300
Subject: [PATCH] Added mod source directories to their corresponding Eclipse projects.
---
eclipse/Client/.classpath | 2 ++
eclipse/Client/.project | 10 ++++++++++
eclipse/Server/.classpath | 2 ++
eclipse/Server/.project | 10 ++++++++++
4 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/eclipse/Client/.classpath b/eclipse/Client/.classpath
index ec8c600..98ae8a0 100644
--- a/eclipse/Client/.classpath
+++ b/eclipse/Client/.classpath
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="mod_src_client"/>
+ <classpathentry kind="src" path="mod_src_common"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="jars/bin/jinput.jar">
<attributes>
diff --git a/eclipse/Client/.project b/eclipse/Client/.project
index f380419..8a8674a 100644
--- a/eclipse/Client/.project
+++ b/eclipse/Client/.project
@@ -25,6 +25,16 @@
<type>2</type>
<locationURI>MCP_LOC/src/minecraft</locationURI>
</link>
+ <link>
+ <name>mod_src_client</name>
+ <type>2</type>
+ <locationURI>MCP_LOC/mod/src/client</locationURI>
+ </link>
+ <link>
+ <name>mod_src_common</name>
+ <type>2</type>
+ <locationURI>MCP_LOC/mod/src/common</locationURI>
+ </link>
</linkedResources>
<filteredResources>
<filter>
diff --git a/eclipse/Server/.classpath b/eclipse/Server/.classpath
index a4bd2c1..eb29275 100644
--- a/eclipse/Server/.classpath
+++ b/eclipse/Server/.classpath
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="mod_src_server"/>
+ <classpathentry kind="src" path="mod_src_common"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="jars/minecraft_server.jar"/>
<classpathentry kind="output" path="bin"/>
diff --git a/eclipse/Server/.project b/eclipse/Server/.project
index 1199d4f..a28c027 100644
--- a/eclipse/Server/.project
+++ b/eclipse/Server/.project
@@ -25,6 +25,16 @@
<type>2</type>
<locationURI>MCP_LOC/src/minecraft_server</locationURI>
</link>
+ <link>
+ <name>mod_src_server</name>
+ <type>2</type>
+ <locationURI>MCP_LOC/mod/src/server</locationURI>
+ </link>
+ <link>
+ <name>mod_src_common</name>
+ <type>2</type>
+ <locationURI>MCP_LOC/mod/src/common</locationURI>
+ </link>
</linkedResources>
<filteredResources>
<filter>
--
1.7.3.1.msysgit.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment