Skip to content

Commit

Permalink
Fixed problem in classpath.
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Jul 13, 2017
1 parent 13273ce commit 9bbd9e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<target name="create_run_jar">
<jar destfile="${dist}/MedlineXmlToDatabase.jar">
<manifest>
<attribute name="Main-Class" value="org.ohdsi.medline.xmlToDatabase.MainClass"/>
<attribute name="Main-Class" value="org.ohdsi.medlineXmlToDatabase.MainClass"/>
<attribute name="Class-Path" value=". MedlineXmlToDatabase_lib/dom4j-1.6.1.jar MedlineXmlToDatabase_lib/jtds-1.2.7.jar MedlineXmlToDatabase_lib/mysql-connector-java-5.1.30-bin.jar MedlineXmlToDatabase_lib/ojdbc5.jar MedlineXmlToDatabase_lib/ojdbc6.jar MedlineXmlToDatabase_lib/postgresql-9.3-1101.jdbc4.jar MedlineXmlToDatabase_lib/postgresql-9.3-1101.jdbc41.jar MedlineXmlToDatabase_lib/sqljdbc4.jar MedlineXmlToDatabase_lib/stax-api-1.0.1.jar MedlineXmlToDatabase_lib/xmlbeans-2.3.0.jar"/>
</manifest>
<fileset dir="bin"/>
Expand Down
4 changes: 4 additions & 0 deletions src/org/ohdsi/medlineXmlToDatabase/MainClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ private static enum Action {
private static String pathToIniFile;

public static void main(String[] args) {
if (args.length == 0) {
System.out.println("See https://github.com/OHDSI/MedlineXmlToDatabase for details on how to use");
return;
}
parseParameters(args);
if (action == Action.ANALYSE)
MedlineAnalyserMain.main(new String[] { pathToIniFile });
Expand Down

0 comments on commit 9bbd9e5

Please sign in to comment.