Coverage Report - org.mule.modules.boot.GuiInstallerLibraryDownloader
 
Classes in this File Line Coverage Branch Coverage Complexity
GuiInstallerLibraryDownloader
0%
0/10
0%
0/4
3
 
 1  
 /*
 2  
  * $Id: GuiInstallerLibraryDownloader.java 9403 2007-10-26 18:45:53Z aguenther $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.modules.boot;
 12  
 
 13  
 import java.io.File;
 14  
 
 15  0
 public class GuiInstallerLibraryDownloader
 16  
 {
 17  
     public static void main(String args[]) throws Exception
 18  
     {
 19  0
         File muleHome = new File(args[0]);
 20  0
         MuleBootstrapUtils.ProxyInfo proxyInfo = null;
 21  0
         if (args.length > 2)
 22  
         {
 23  0
             proxyInfo = new MuleBootstrapUtils.ProxyInfo(args[1], args[2]);
 24  
         }
 25  0
         if (args.length > 4)
 26  
         {
 27  0
             proxyInfo = new MuleBootstrapUtils.ProxyInfo(args[1], args[2], args[3], args[4]);
 28  
         }
 29  0
         MuleBootstrapUtils.addLocalJarFilesToClasspath(muleHome, muleHome);
 30  0
         MuleBootstrapUtils.addExternalJarFilesToClasspath(muleHome, proxyInfo);
 31  0
     }
 32  
 }