Remove old eclipse workspace and ship/extract as a zip file (use ant setupenvironment)

Fix up install.py for forge multibranch changes
This commit is contained in:
Christian committed 2012-12-03 19:55:37 -05:00
1 parent 6371e9b71e
commit 9c77d3f25b
22 files changed
+21 -344

No files matched your search

+7 -7
View File
@@ -731,13 +731,13 @@ def setup_mcp(fml_dir, mcp_dir, dont_gen_conf=True):
print 'Copying FML conf'
shutil.copytree(fml_conf, mcp_conf)
#update workspace
print 'Fixing MCP Workspace'
if not os.path.isdir(os.path.join(fml_dir, 'eclipse', 'Clean-Client')):
mcp_eclipse = os.path.join(mcp_dir, 'eclipse')
if os.path.isdir(mcp_eclipse):
shutil.rmtree(mcp_eclipse)
shutil.copytree(os.path.join(fml_dir, 'eclipse'), mcp_eclipse)
# #update workspace
# print 'Fixing MCP Workspace'
# if not os.path.isdir(os.path.join(fml_dir, 'eclipse', 'Clean-Client')):
# mcp_eclipse = os.path.join(mcp_dir, 'eclipse')
# if os.path.isdir(mcp_eclipse):
# shutil.rmtree(mcp_eclipse)
# shutil.copytree(os.path.join(fml_dir, 'eclipse'), mcp_eclipse)
def normaliselines(in_filename):
in_filename = os.path.normpath(in_filename)