|
@@ -1559,6 +1559,18 @@ function make_def_config(cb) {
|
|
|
JSON.stringify(externalDataSources, null, 4)
|
|
JSON.stringify(externalDataSources, null, 4)
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
|
|
+ let manifest = fs
|
|
|
|
|
+ .readFileSync(
|
|
|
|
|
+ path.resolve(
|
|
|
|
|
+ __dirname,
|
|
|
|
|
+ "target",
|
|
|
|
|
+ "o2server",
|
|
|
|
|
+ "commons",
|
|
|
|
|
+ "ext",
|
|
|
|
|
+ "manifest.cfg"
|
|
|
|
|
+ )
|
|
|
|
|
+ )
|
|
|
|
|
+ .toString();
|
|
|
fs.readdirSync(path.resolve(__dirname, "jar")).forEach((child) => {
|
|
fs.readdirSync(path.resolve(__dirname, "jar")).forEach((child) => {
|
|
|
if (/^.+\.jar$/i.test(child)) {
|
|
if (/^.+\.jar$/i.test(child)) {
|
|
|
fs.copyFileSync(
|
|
fs.copyFileSync(
|
|
@@ -1572,6 +1584,9 @@ function make_def_config(cb) {
|
|
|
child
|
|
child
|
|
|
)
|
|
)
|
|
|
);
|
|
);
|
|
|
|
|
+ if (!manifest.includes(child)) {
|
|
|
|
|
+ manifest += "\n" + child;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|