Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 402784 | Differences between
and this patch

Collapse All | Expand All

(-)a/releng/org.eclipse.orion.releng/builder/scripts/hudson.bat (+27 lines)
Lines 8-13 Link Here
8
mkdir test
8
mkdir test
9
rd /S /Q %WORKSPACE%\test\eclipse
9
rd /S /Q %WORKSPACE%\test\eclipse
10
10
11
REM set current proxy configurations in base builder
12
13
set settingsDir=%WORKSPACE%\org.eclipse.releng.basebuilder\configuration\.settings
14
set settingsFile=%settingsDir%\org.eclipse.core.net.prefs
15
16
echo settingsDir: %settingsDir% 
17
echo settingsFile: %settingsFile%
18
19
REM mkdir, just in case does not exist yet. 
20
mkdir %settingsDir%
21
22
REM replace contents of org.eclipse.core.net.prefs as exported from CVS
23
(
24
echo eclipse.preferences.version=1
25
echo org.eclipse.core.net.hasMigrated=true   
26
echo proxiesEnabled=true
27
echo systemProxiesEnabled=false
28
echo nonProxiedHosts="172.30.*.*|172.25.*.*|localhost|127.0.0.1|hudson.eclipse.org"
29
echo proxyData/HTTP/hasAuth=false 
30
echo proxyData/HTTP/host=proxy.eclipse.org 
31
echo proxyData/HTTP/port=9898 
32
echo proxyData/HTTPS/hasAuth=false 
33
echo proxyData/HTTPS/host=proxy.eclipse.org 
34
echo proxyData/HTTPS/port=9898 
35
echo. 
36
) >%settingsFile%
37
11
"c:\java\jdk1.6.0_20\jre\bin\java" -Xmx500m -jar %WORKSPACE%/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar -application org.eclipse.equinox.p2.director -repository %repository% -i org.eclipse.orion -d %WORKSPACE%/test/eclipse
38
"c:\java\jdk1.6.0_20\jre\bin\java" -Xmx500m -jar %WORKSPACE%/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar -application org.eclipse.equinox.p2.director -repository %repository% -i org.eclipse.orion -d %WORKSPACE%/test/eclipse
12
39
13
cd %WORKSPACE%\test\eclipse
40
cd %WORKSPACE%\test\eclipse

Return to bug 402784