Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] download buckminster headless issue

Hi Thomas,

Thanks for letting me know the aggregator. I did not get a chance to play with it yet. However, I did try below over the weekend and unable to find success.

  I mirrored the following repositories like below

 eclipse -nosplash -verbose
 -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
 -source http://download.eclipse.org/eclipse/updates/4.4 
 -destination C:/mirror/eclipse/updates/4.4/

 eclipse -nosplash -verbose
 -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication
 -source http://download.eclipse.org/eclipse/updates/4.4 
 -destination C:/mirror/eclipse/updates/4.4/
Likewise, I did mirroed the metadata and artifacts for ("/releases/luna" and "/modeling/tmf/xtext/updates/composite/releases")

I changed my projects-platform.rmap 

<rm:property key="xtext.p2.repository" value="file:/C:/mirror/modeling/tmf/xtext/updates/composite/releases"/>
  <rm:property key="eclipse.target.platform" value="file:/C:/mirror/releases/luna"/>
  <rm:property key="eclipse.updates.target.platform" value="file:/C:/mirror/eclipse/updates/4.4"/>  
  <rm:redirect pattern="com.visa.ovn.rules.buckminster" href="">
  <rm:locator pattern="^org\.eclipse\.(?:xtext|xpand|xtend|xtend2|emf\.mwe|emf\.mwe2)(?:\..+)?$" searchPathRef="xtext"/>
  <rm:locator pattern="^com\.google.*" searchPathRef="xtext"/>
  <rm:locator pattern="^org\.antlr.*" searchPathRef="xtext"/>
  <rm:locator pattern="javax.inject" searchPathRef="xtext"/>
  <rm:locator pattern="^org\.objectweb\.asm.*" searchPathRef="xtext"/>
  <rm:locator pattern="^org\.apache\.commons\.lang.*" searchPathRef="xtext"/>
  <rm:locator pattern="^org\.apache\.log4j.*" searchPathRef="xtext"/>
  <rm:locator pattern="^org\.eclipse\.emf.*" searchPathRef="xtext"/>
  <rm:locator searchPathRef="eclipse"/>
  <rm:searchPath name="xtext">
    <rm:provider componentTypes="osgi.bundle,eclipse.feature" readerType="p2" source="false">
      <rm:property key="buckminster.source" value="false"/>
      <rm:uri format="{0}">
        <bc:propertyRef key="xtext.p2.repository"/>
      </rm:uri>
    </rm:provider>
  </rm:searchPath>
  <rm:searchPath name="eclipse">
   <rm:provider componentTypes="eclipse.feature,osgi.bundle" readerType="p2" source="false" mutable="false">
      <rm:property key="buckminster.source" value="false"/>
      <rm:property key="buckminster.mutable" value="false"/>
      <rm:uri format="{0}">
        <bc:propertyRef key="eclipse.updates.target.platform"/>
      </rm:uri>
    </rm:provider>
  
    <rm:provider componentTypes="eclipse.feature,osgi.bundle" readerType="p2" source="false" mutable="false">
      <rm:property key="buckminster.source" value="false"/>
      <rm:property key="buckminster.mutable" value="false"/>
      <rm:uri format="{0}">
        <bc:propertyRef key="eclipse.target.platform"/>
      </rm:uri>
    </rm:provider>
  </rm:searchPath>

But ended up with the below errors.

buckminster:
     [echo] IMPORTANT: Populating an empty target platform may took over 10 minutes.
     [java] INFO:  setpref 'targetPlatformPath=C:\ovn-dsl-rules\buildroot/target.platform'
     [java] INFO:  resolve 'C:\ovn-dsl-rules/com.ovn.rules.buckminster/projects-platform.cquery'
     [java] [Fatal Error] :18566:49: Premature end of file.
     [java] [Fatal Error] :1299:60: Premature end of file.
     [java] ERROR   [0002] : An error occurred while collecting items to be installed
     [java]   ERROR   [0002] : session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Co
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.osgi,3.10.2.v20150203-1939
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.equinox.app,1.3.200.v20130910-1609
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.core.contenttype,3.4.200.v20140207-1251
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.core.jobs,3.6.1.v20141014-1248
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.core.commands,3.6.100.v20140528-1422
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.swt,3.103.2.v20150203-1313
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.jface,3.10.2.v20141021-1035
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.jface.text,3.9.2.v20141003-1326
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.osgi.services,3.4.0.v20140312-2051
     [java]   ERROR   [0002] : No repository found containing: osgi.bundle,org.eclipse.e4.core.services,1.2.1.v20140808-1251

Not sure what's going on? Any clues. I really appreciate your help.

Thank you very much.

-Siva.
 

On Sun, Jun 7, 2015 at 11:28 PM, Thomas Hallgren <thomas@xxxxxxx> wrote:
Hi Siva,

I suggest you take a look at the b3 aggregator:

https://wiki.eclipse.org/Eclipse_b3/aggregator/manual

You can use it to create a tailored local p2 repository that contains all components that your organization (or, in this case, the jenkins instance you're working with) needs to access. The b3 aggregator is whats being used to assemble the Eclipse release train.

One of the primary use-cases for the b3 aggregator is to create a repository of "blessed things" that is made available within a closed organization.

HTH,
- thomas


On 2015-06-06 03:38, sivanarayana ganesh wrote:
Hi Thomas,

I was able to configure jenkins with buckminster behind the firewall and ran into the issues below.

      [java] ERROR   [0002] : No suitable provider for component org.eclipse.platform:eclipse.feature was found in resourceMap file:/home/jenkins/workspace/ovn_dsl_rules_build-visa-preprod-job/com.visa.ovn.rules.buckminster/projects-platform.rmap
      [java]   ERROR   [0002] : No suitable provider for component org.eclipse.platform:eclipse.feature was found in searchPath eclipse
      [java]     ERROR   [0002] : Rejecting provider p2({0}[http://download.eclipse.org/eclipse/updates/4.4]): No component match was found
      [java]       ERROR   No repository found athttp://download.eclipse.org/eclipse/updates/4.4/.
      [java]     ERROR   [0002] : Rejecting provider p2({0}[http://download.eclipse.org/releases/luna]): No component match was found
      [java]       ERROR   No repository found athttp://download.eclipse.org/releases/luna/.

      [java] INFO:  TAG-ID 0002 = Query for com.visa.ovn.rules.buckminster:buckminster, path: com.visa.ovn.rules.buckminster:buckminster$1.0.0
      [java]

BUILD FAILED

As we guess, these go away if we just setup proxy but not allowed in our organization. Please suggest any workaround to
circumvent this issue.

Thanks.

-Siva.


_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/buckminster-dev


Back to the top