Skip to content
Snippets Groups Projects
Commit efc839bf authored by Wei Liu's avatar Wei Liu
Browse files

Bug fix.

parent 55adb10a
No related branches found
No related tags found
No related merge requests found
...@@ -123,6 +123,9 @@ public class MFInstrumentUpload extends MFSyncApp { ...@@ -123,6 +123,9 @@ public class MFInstrumentUpload extends MFSyncApp {
* parse MF config * parse MF config
*/ */
MFConfigurationBuilder mfConfig = new MFConfigurationBuilder(); MFConfigurationBuilder mfConfig = new MFConfigurationBuilder();
if (mfConfig.app() == null) {
mfConfig.setApp(applicationName());
}
mfConfig.loadFromXmlFile(configPath.toFile()); mfConfig.loadFromXmlFile(configPath.toFile());
/* /*
......
...@@ -9,4 +9,4 @@ popd ...@@ -9,4 +9,4 @@ popd
set JAR=%ROOT%\lib\unimelb-mf-clients.jar set JAR=%ROOT%\lib\unimelb-mf-clients.jar
java -Xmx1024m -cp "%JAR%" unimelb.mf.client.sync.cli.unimelb-mf-upload.cmd %* java -Xmx1024m -cp "%JAR%" unimelb.mf.client.sync.cli.MFInstrumentUpload %*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment