Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up a development environment: Can't set target platform #104

Closed
borisbrodski opened this issue Feb 11, 2014 · 3 comments
Closed

Comments

@borisbrodski
Copy link
Collaborator

My configuration:

  • Windows XP 32
  • HTTP/HTTPS Proxy
  • Eclipse: Kepler Service Release 1
  • Jnario SDK 0.7.1.201401122026
  • Xtext UI 2.5.0.v201312110906

Setting up a development environment I constantly get

!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2014-02-11 13:56:28.927
!MESSAGE Unable to read repository at https://hudson.eclipse.org/mexx/job/mwe2lang/lastSuccessfulBuild/artifact/build-result/p2.repository/content.xml.
!STACK 0
java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(StringTokenizer.java:349)
    at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1806)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
    at org.eclipse.ecf.provider.filetransfer.browse.URLFileSystemBrowser.runRequest(URLFileSystemBrowser.java:113)
    at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

while trying to set target platform from /releng/org.jnario.target/kepler.target.

Running mvn clean install also broken. It ends up with

[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.jnario:org.jnario.feature:1.0.0-SNAPSHOT @ C:\EntwicklungSG453\Coding\Jna
rio\plugins\org.jnario.feature\pom.xml

...

Caused by: java.net.UnknownHostException: hudson.eclipse.org
        at java.net.InetAddress.getAllByName0(Unknown Source)
        at java.net.InetAddress.getAllByName(Unknown Source)
        at java.net.InetAddress.getAllByName(Unknown Source)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:242)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:130)
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
        at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
        at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.
java:263)
        at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.jav
a:69)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
  • I configured proxy within the Eclipse (I can install all the plugins)
  • I configured http (not https) proxy in maven settings.xml
  • I configured https proxy using command line parameters and m2.conf
@sebastianbenz
Copy link
Owner

This is weird as it runs without problems on my machine. Is it possible
that this is a firewall problem?

@borisbrodski
Copy link
Collaborator Author

Yes, of course. I'm sure, its a proxy problem.
Did you tried or can you try it through a proxy?

Thank you!

@sebastianbenz
Copy link
Owner

It works for me, but I don't have the chance to try it with a proxy.

On Tue, Feb 11, 2014 at 5:07 PM, Boris Brodski notifications@github.comwrote:

Yes, of course. I'm sure, its a proxy problem.
Did you tried or can you try it through a proxy?

Thank you!

Reply to this email directly or view it on GitHubhttps://github.com//issues/104#issuecomment-34769301
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants