1
2
3
4
5
6
7
8
9
10
11 package org.mule.modules.boot;
12
13 import java.io.File;
14
15 public class GuiInstallerLibraryDownloader
16 {
17 public static void main(String args[]) throws Exception
18 {
19 File muleHome = new File(args[0]);
20 MuleBootstrapUtils.ProxyInfo proxyInfo = null;
21 if (args.length > 2)
22 {
23 proxyInfo = new MuleBootstrapUtils.ProxyInfo(args[1], args[2]);
24 }
25 if (args.length > 4)
26 {
27 proxyInfo = new MuleBootstrapUtils.ProxyInfo(args[1], args[2], args[3], args[4]);
28 }
29 MuleBootstrapUtils.addLocalJarFilesToClasspath(muleHome, muleHome);
30 MuleBootstrapUtils.addExternalJarFilesToClasspath(muleHome, proxyInfo);
31 }
32 }