Changeset 30234

Show
Ignore:
Timestamp:
08.09.2015 22:18:11 (4 years ago)
Author:
ak19
Message:

Adding in debugging for installer

Location:
main/trunk/greenstone3
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r30196 r30234  
    18871887 
    18881888    <!--<echo>${admin.password}</echo>--> <!-- for testing --> 
     1889    <echo>gsdl3.writablehome: ${gsdl3.writablehome}</echo>--> <!-- for testing --> 
     1890    <echo>web.home: ${web.home}</echo>--> <!-- for testing --> 
    18891891    <java classname="org.greenstone.gsdl3.util.ModifyUsersDB"> 
    18901892      <classpath refid="compile.classpath"/> <!--for ${web.lib}/gsdl3.jar and supporting files--> 
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/DerbyWrapper.java

    r30233 r30234  
    5353        } 
    5454         
    55         System.err.println("@@@@@ GlobalProperties.getGSDL3Home(): " + GlobalProperties.getGSDL3Home()); //test 
     55        System.out.println("@@@@@ GlobalProperties.getGSDL3Home(): " + GlobalProperties.getGSDL3Home()); //test 
    5656         
    5757        // No more fallback values, use exactly what's propagated into global.properties from build.properties 
     
    5959        PORT = GlobalProperties.getProperty("derby.server.port");// "1527"); 
    6060        DERBYSERVER = GlobalProperties.getProperty("derby.server");// "localhost");      
    61         System.err.println("@@@ PORT " + PORT); //check in installer 
    62         System.err.println("@@@ DERBYSERVER " + DERBYSERVER); //check in installer 
     61        System.out.println("@@@ PORT " + PORT); //check in installer 
     62        System.out.println("@@@ DERBYSERVER " + DERBYSERVER); //check in installer 
    6363 
    6464    } catch (Exception ex){ 
    65         System.err.println("@@@ Got exception: " + ex.getMessage()); 
    66         System.err.println("@@@ Using default derby port and servername"); 
     65        System.out.println("@@@ Got exception: " + ex.getMessage()); 
     66        System.out.println("@@@ Using default derby port and servername"); 
    6767        PORT = "1527"; 
    6868        DERBYSERVER = "localhost"; 
     
    7070 
    7171        PROTOCOL = "jdbc:derby://"+DERBYSERVER+":"+PORT+"/"; // "jdbc:derby://localhost:1527"; // by default         
    72         System.err.println("@@@ PROTOCOL:" + PROTOCOL); //check in installer 
     72        System.out.println("@@@ PROTOCOL:" + PROTOCOL); //check in installer 
    7373    } 
    7474    }