in progress
[jalview.git] / forester / java / src / org / forester / application / confadd.java
index dbc4d50..db01fd4 100644 (file)
@@ -33,6 +33,7 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 
+import org.forester.io.parsers.util.ParserUtils;
 import org.forester.io.writers.PhylogenyWriter;
 import org.forester.phylogeny.Phylogeny;
 import org.forester.phylogeny.PhylogenyNode;
@@ -54,11 +55,12 @@ public class confadd {
     final static private String PRG_NAME         = "confadd";
     final static private String PRG_VERSION      = "1.01";
     final static private String PRG_DATE         = "2010.10.26";
-    final static private String E_MAIL           = "czmasek@burnham.org";
+    final static private String E_MAIL           = "phylosoft@gmail.com";
     final static private String WWW              = "www.phylosoft.org/forester/";
 
     public static void main( final String args[] ) {
-        ForesterUtil.printProgramInformation( PRG_NAME, PRG_VERSION, PRG_DATE, E_MAIL, WWW );
+         ForesterUtil.printProgramInformation( PRG_NAME, null, PRG_VERSION, PRG_DATE, E_MAIL, WWW, ForesterUtil.getForesterLibraryInformation() );
+        
         CommandLineArguments cla = null;
         try {
             cla = new CommandLineArguments( args );
@@ -145,7 +147,7 @@ public class confadd {
         Phylogeny[] evaluators = null;
         final PhylogenyFactory factory = ParserBasedPhylogenyFactory.getInstance();
         try {
-            targets = factory.create( target_file, ForesterUtil.createParserDependingOnFileType( target_file, true ) );
+            targets = factory.create( target_file, ParserUtils.createParserDependingOnFileType( target_file, true ) );
         }
         catch ( final IOException e ) {
             ForesterUtil.fatalError( PRG_NAME,
@@ -170,7 +172,7 @@ public class confadd {
         }
         try {
             evaluators = factory.create( evaluators_file,
-                                         ForesterUtil.createParserDependingOnFileType( evaluators_file, true ) );
+                                         ParserUtils.createParserDependingOnFileType( evaluators_file, true ) );
         }
         catch ( final IOException e ) {
             ForesterUtil.fatalError( PRG_NAME, "failed to read evaluator topologies from [" + evaluators_file + "]: "