Subversion Repositories DevTools

Rev

Rev 854 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 854 Rev 858
Line 88... Line 88...
88
  /**main method for the Build Daemon program
88
  /**main method for the Build Daemon program
89
   * instantiates a BuildDaemon object
89
   * instantiates a BuildDaemon object
90
   */
90
   */
91
  public static void main(String[] args)
91
  public static void main(String[] args)
92
  {
92
  {
-
 
93
    String abtdXml = System.getenv("ABT_HOME");
-
 
94
    
-
 
95
    if ( abtdXml != null )
-
 
96
    {
-
 
97
      abtdXml += System.getProperty( "file.separator" ) + "abtd.xml";
-
 
98
    }
-
 
99
    else
-
 
100
    {
-
 
101
      abtdXml = new String("abtd.xml");
-
 
102
    }
-
 
103
    DOMConfigurator.configure(abtdXml);
-
 
104
    mLogger.debug("main");
93
    String antHome = System.getenv("ANT_HOME");
105
    String antHome = System.getenv("ANT_HOME");
94
    
106
    
95
    if ( antHome == null )
107
    if ( antHome == null )
96
    {
108
    {
97
      mLogger.fatal("main ANT_HOME not set");
109
      mLogger.fatal("main ANT_HOME not set");
Line 119... Line 131...
119
    {
131
    {
120
      mLogger.fatal("main GBE_UNC not set");
132
      mLogger.fatal("main GBE_UNC not set");
121
      System.exit(1);
133
      System.exit(1);
122
    }
134
    }
123
 
135
 
124
    String abtdXml = System.getenv("ABT_HOME");
-
 
125
    
-
 
126
    if ( abtdXml != null )
-
 
127
    {
-
 
128
      abtdXml += System.getProperty( "file.separator" ) + "abtd.xml";
-
 
129
    }
-
 
130
    else
-
 
131
    {
-
 
132
      abtdXml = new String("abtd.xml");
-
 
133
    }
-
 
134
    DOMConfigurator.configure(abtdXml);
-
 
135
    mLogger.debug("main");
-
 
136
    String connectionString = System.getenv("GBE_RM_LOCATION");
136
    String connectionString = System.getenv("GBE_RM_LOCATION");
137
    String username = System.getenv("GBE_RM_USERNAME");
137
    String username = System.getenv("GBE_RM_USERNAME");
138
    String password = System.getenv("GBE_RM_PASSWORD");
138
    String password = System.getenv("GBE_RM_PASSWORD");
139
 
139
 
140
    for (int optind = 0; optind < args.length; optind++)
140
    for (int optind = 0; optind < args.length; optind++)