diff --git a/build.gradle b/build.gradle
index ea817fc87694ca09a1acfc75dbe62043c1f90073..623681898d4e1b3eb9945833eb53df024bc3913f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,6 +19,7 @@ targetRepositories = ["http://cobra.cs.uni-duesseldorf.de/prob_dev_target/","htt
 
 workspacePath = ""					// Relative Path to workspace directory e.g. your build is located in the folder workspace/buildscript please set relativePath to ".../"
 
+
 apply from: 'tycho_build.gradle'
 
 // Local tasks
diff --git a/tycho_build.gradle b/tycho_build.gradle
index 12311927a8e266b73af88de2208cd9f69d644042..409e4d5dfd4cd58a0a463721b8fff1ef5989fa9e 100644
--- a/tycho_build.gradle
+++ b/tycho_build.gradle
@@ -3,10 +3,7 @@ apply plugin: 'base'
 
 
 def projects(int i){
-	///
-	String subprojectsName =  subprojects.name[i]	
-	subprojectsName = subprojectsName.replace(workspacePath,'')
-	return  subprojectsName
+	return  subprojects.name[i]
 }
 //	returns the name of a subproject listed in the settings.gradle file
 
@@ -73,7 +70,7 @@ subprojects {
 		
 		
 		if(features.every{ it != project.name }){			// Generating Poms for sub projects except features
-			content = new File("${project.name}/META-INF/MANIFEST.MF").getText("UTF-8") 
+			content = new File(workspacePath+"${project.name}/META-INF/MANIFEST.MF").getText("UTF-8") 
 
 	 		printFileLine = { 
 				if(  it ==~ /Bundle-Version.+qualifier/ ){
@@ -120,7 +117,7 @@ subprojects {
 			
 				boolean idfound = false
 
-				content = new File("${project.name}/feature.xml").getText("UTF-8") 
+				content = new File(workspacePath+"${project.name}/feature.xml").getText("UTF-8") 
 
 				printFileLine = {
 		
@@ -211,7 +208,7 @@ task createRepository() << {
 	f << categoryHead()
 	for(int i = 0; i < features.size(); i++){
 
-		content = new File("${features[i]}/feature.xml").getText("UTF-8") 
+		content = new File("${workspacePath}${features[i]}/feature.xml").getText("UTF-8") 
 		boolean idfound = false
 		printFileLine = {
 				if(  it ==~ /.+version.+qualifier.+/ ){