@@ -67,13 +67,12 @@ public void createManifesto(boolean includeLibs) {
67
67
fOperations .createManifesto (
68
68
configValues .get ("Created-By" ),
69
69
configValues .get ("Main-Class" ),
70
- configValues .get ("Libraries" )
70
+ configValues .get ("Libraries" ),
71
71
includeLibs
72
72
);
73
73
}
74
74
public void createConfigFile () {
75
75
String m = fOperations .getMainClass ();
76
- File f = new File (rootPath + File .separator + "config.txt" );
77
76
if (m == null ) {
78
77
try {
79
78
File f = new File (rootPath );
@@ -82,16 +81,6 @@ public void createConfigFile() {
82
81
e .printStackTrace ();
83
82
}
84
83
}
85
- if (!f .exists ()) {
86
- fOperations .createConfigFile ("" , "./src/" , "/bin/" , m , "-Werror -Xlint:all" );
87
- } else {
88
- fOperations .createConfigFile (
89
- configValues .get ("Created-By" ),
90
- configValues .get ("Source-Path" ),
91
- configValues .get ("Class-Path" ),
92
- configValues .get ("Main-Class" ),
93
- configValues .get ("Compile-Flags" )
94
- );
95
- }
84
+ fOperations .createConfigFile ("" , "./src/" , "/bin/" , m , "-Werror -Xlint:all" );
96
85
}
97
86
}
0 commit comments