1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
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 | |
} |