Home » Archived » Buckminster » Buckminster cvs materializing, uses a proxy, how is this configured?
| | |
Re: Buckminster cvs materializing, uses a proxy, how is this configured? [message #629308 is a reply to message #629303] |
Mon, 27 September 2010 18:16 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Yes, I am also surprised. Afaics I don't use a workspace template (how is this specified in buckminster?).
I launch buckminster like this:
<macrodef name="buckminster">
<attribute name="command" />
<attribute name="workspace" />
<element name="globargs" optional="true" />
<element name="cmdargs" optional="true" />
<sequential>
<eclipse.launch app="buckminster">
<args>
<jvmarg value="-Xmx1024m" />
<jvmarg value="-Dbugfix.288796=true" />
<arg value="-data" />
<arg value="@{workspace}" />
<arg value="--loglevel" />
<arg value="${buckminster.loglevel}" />
<arg value="--displaystacktrace" />
<arg value="@{command}" />
<globargs />
<arg value="-P" />
<arg value="${properties.tmp}" />
<cmdargs />
</args>
</eclipse.launch>
</sequential>
</macrodef>
After creating the workspace directory, one of the first things I do is this:
<echo message="Setting jre to ${env.JAVA_HOME}"/>
<buckminster command="installJRE" workspace="${workspacePath}">
<cmdargs>
<arg value="--location" />
<arg value="${env.JAVA_HOME}" />
</cmdargs>
</buckminster>
so I don't understand either where this proxy thing comes from...
gr. Martin
On 09/27/2010 07:16 PM, Thomas Hallgren wrote:
> On 09/23/2010 11:02 PM, Martin Taal wrote:
>> Hi,
>> When building texo/teneo job on hudson.eclipse.org buckminster tries to
>> connect to the cvs server (dev.eclipse.org) using a proxy server it
>> seems.
>>
>> When I check the .settings/org.eclipse.core.net.prefs in the build
>> workspace (created by buckminster) I can see this in the workspace
>> settings:
>>
>> proxyData/HTTP/hasAuth=false
>> proxyData/HTTP/host=proxy.eclipse.org
>> org.eclipse.core.net.hasMigrated=true
>> eclipse.preferences.version=1
>> proxyData/HTTP/port=9898
>>
>> These settings are in this file:
>> https://hudson.eclipse.org/hudson/job/emft-texo-nightly/ws/b uild/build/workspace/.metadata/.plugins/org.eclipse.core.run time/.settings/org.eclipse.core.net.prefs/*view*/
>>
>>
>>
>> Where do these proxy settings come from?
>>
>
> I'm puzzled. I haven't seen this before. AFAIK, Buckminster has no code
> that fiddles with proxy settings and I cannot find any preference
> settings for org.eclipse.core.net in any of my workspaces. Are you using
> a workspace template?
>
> - thomas
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| |
Re: Buckminster cvs materializing, uses a proxy, how is this configured? [message #629505 is a reply to message #629330] |
Tue, 28 September 2010 13:27 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Henrik,
This is a build run on hudson.eclipse.org, afaics I am not reusing an earlier workspace.
The strange thing is when I do the build locally it does not contain this setting. The local build is the same as the
hudson build afaics....
Is there something in buckminster which makes it run differently when run on hudson.eclipse.org?
gr. Martin
On 09/27/2010 09:49 PM, Henrik Lindberg wrote:
> On 9/27/10 7:16 PM, Thomas Hallgren wrote:
>>
>> I'm puzzled. I haven't seen this before. AFAIK, Buckminster has no code
>> that fiddles with proxy settings and I cannot find any preference
>> settings for org.eclipse.core.net in any of my workspaces. Are you using
>> a workspace template?
>>
> Other ways for these preferences to end up in the workspace could be:
> - If reusing a workspace that was used earlier with the IDE
> - Something is installed in headless buckminster that sets or modifies
> the proxy preferences.
>
> Do you see the preferences with a "vanilla" buckminster and a freshly
> created workspace?
>
> - henrik
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: Buckminster cvs materializing, uses a proxy, how is this configured? [message #629541 is a reply to message #629505] |
Tue, 28 September 2010 15:48 |
|
On 09/28/2010 03:27 PM, Martin Taal wrote:
> Is there something in buckminster which makes it run differently when
> run on hudson.eclipse.org?
>
If you mean that we have special code inserted to trap the fact that
it's running on specific servers or in a specific environment, the
answer is no.
What I could suspect is that the Eclipse proxy support performs some
kind of discovery on the network and auto-configures the proxy settings
depending on it's environment. Then again, that's just a wild guess.
- thomas
|
|
|
Re: Buckminster cvs materializing, uses a proxy, how is this configured? [message #629542 is a reply to message #629541] |
Tue, 28 September 2010 15:59 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Thomas,
Yes this auto proxy setting maybe the cause, see an old post from a year back, you answered it :-)
http://dev.eclipse.org/mhonarc/lists/p2-dev/msg01955.html
I will research it further.
gr. Martin
On 09/28/2010 05:48 PM, Thomas Hallgren wrote:
>
> What I could suspect is that the Eclipse proxy support
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: Buckminster cvs materializing, uses a proxy, how is this configured? [message #630405 is a reply to message #629542] |
Fri, 01 October 2010 22:30 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
This was solved!
To finish this thread. Michael Wenz pointed me to a change made in the cdo build (to solve this issue), a snippet from
his email to me:
But I saw that the CDO build is green again and they still do an Ant call from Hudson that again triggers Buckminster.
Previously that build failed with the same exception as ours did or do.
Not sure what these guys changed, but I saw that they added something in their build.xml that seems to fix this. I found
2 snippets that appear to be in connection with this:
...
<condition property="no.proxy" value="${env.no_proxy}, dev.eclipse.org" else="dev.eclipse.org">
<isset property="env.no_proxy" />
</condition>
...
...
<!-- Launch the eclipse application -->
<java fork="true" jar="${@{app}.launcher}" dir="${@{app}.deploy.dir}" failonerror="true">
<env key="no_proxy" value="${no.proxy}" />
<properties />
<!-- Uncomment to debug <jvmarg value=" -agentlib:jdwp=transport=dt_socket,address=8000,server=y,sus pend=y "/> -->
<args />
</java>
...
gr. Martin
On 09/28/2010 05:59 PM, Martin Taal wrote:
> Hi Thomas,
> Yes this auto proxy setting maybe the cause, see an old post from a year
> back, you answered it :-)
> http://dev.eclipse.org/mhonarc/lists/p2-dev/msg01955.html
>
> I will research it further.
>
> gr. Martin
>
> On 09/28/2010 05:48 PM, Thomas Hallgren wrote:
>>
>> What I could suspect is that the Eclipse proxy support
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Goto Forum:
Current Time: Thu Apr 25 17:23:35 GMT 2024
Powered by FUDForum. Page generated in 0.04112 seconds
|