سؤال

أحاول بناء موقع تحديث بي 2 الخاص بي لموقع دلتا الكسوف (لأنه غير متوفر كموقع تحديث بي 2).

ماذا فعلت:

 # Get the delta pack from Eclipse web site
 #
 wget http://mirror.cc.columbia.edu/pub/software/eclipse/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-3.7.2-delta-pack.zip

 # Unzip in its own directory (delta)
 #
 mkdir delta
 cd delta
 unzip ../eclipse-3.7.2-delta-pack.zip
 cd ../

 # Get Eclipse from Eclipse web site (in theory we could only get equinox,
 # but in pratice, it refused to start due to some race conditions.  Using
 # eclipse works out-of-the-box)
 #
 wget http://mirror.cc.columbia.edu/pub/software/eclipse/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-3.7.2-delta-pack.zip

 # Untar Eclipse (it creates an "eclipse" directory)
 #
 tar xzvf eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz

 # Create (publish) a p2 site out of the delta features/plugins
 #
 ./eclipse/eclipse -console -consolelog -nosplash -debug -verbose        \
    -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher       \
    -metadataRepository file:${Repository}  \
    -artifactRepository file:${Repository}  \
    -source delta/eclipse                   \
    -configs ANY            \
    -publishArtifacts

هذا يخلق في ${Repository} الهيكل التالي:

/<...>/local/apache2/htdocs/delta
    |-- artifacts.xml
    |-- content.xml
    |-- features
    |   `-- org.eclipse.equinox.executable_3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ.jar
    `-- plugins
        |-- org.eclipse.compare.win32.source_1.0.200.I20110510-0800.jar
        |-- org.eclipse.compare.win32_1.0.200.I20110510-0800.jar
        |-- org.eclipse.core.filesystem.aix.ppc_1.1.0.v20110423-0524.jar
        |-- org.eclipse.core.filesystem.hpux.ia64_32_1.0.100.v20110423-0524.jar
        |-- org.eclipse.core.filesystem.linux.x86_1.4.0.v20110423-0524.jar
        |-- org.eclipse.core.filesystem.linux.x86_64_1.2.0.v20110423-0524.jar
        |-- org.eclipse.core.filesystem.macosx_1.3.0.v20110423-0524.jar
        |-- org.eclipse.core.filesystem.solaris.sparc_1.2.0.v20110423-0524.jar
        |-- org.eclipse.core.filesystem.win32.x86_1.1.300.v20110423-0524.jar
        |-- org.eclipse.core.filesystem.win32.x86_64_1.1.300.v20110423-0524.jar
        |-- org.eclipse.core.net.linux.x86_1.1.200.I20110419-0800.jar
        |-- org.eclipse.core.net.linux.x86_64_1.1.0.I20110331-0827.jar
        |-- org.eclipse.core.net.win32.x86_1.0.100.I20110331-0827.jar
        |-- org.eclipse.core.net.win32.x86_64_1.0.100.I20110331-0827.jar
        |-- org.eclipse.core.resources.win32.x86_3.5.100.v20110423-0524.jar
        |-- org.eclipse.equinox.launcher.carbon.macosx_1.1.100.v20110502.jar
        |-- org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.101.v20120109-1504.jar
        |-- org.eclipse.equinox.launcher.cocoa.macosx_1.1.101.v20120109-1504.jar
        |-- org.eclipse.equinox.launcher.gtk.aix.ppc64_1.1.0.v20110530.jar
        |-- org.eclipse.equinox.launcher.gtk.aix.ppc_1.1.0.v20110530.jar
        |-- org.eclipse.equinox.launcher.gtk.hpux.ia64_32_1.0.0.v20110502.jar
        |-- org.eclipse.equinox.launcher.gtk.linux.ppc64_1.0.100.v20110505.jar
        |-- org.eclipse.equinox.launcher.gtk.linux.s390x_1.1.100.v20110505.jar
        |-- org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505.jar
        |-- org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505.jar
        |-- org.eclipse.equinox.launcher.gtk.solaris.sparc_1.1.100.v20110505.jar
        |-- org.eclipse.equinox.launcher.gtk.solaris.x86_1.1.100.v20110505.jar
        |-- org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502.jar
        |-- org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502.jar
        |-- org.eclipse.equinox.security.macosx.source_1.100.100.v20100503.jar
        |-- org.eclipse.equinox.security.macosx_1.100.100.v20100503.jar
        |-- org.eclipse.equinox.security.win32.x86.source_1.0.200.v20100503.jar
        |-- org.eclipse.equinox.security.win32.x86_1.0.200.v20100503.jar
        |-- org.eclipse.equinox.security.win32.x86_64.source_1.0.0.v20110502.jar
        |-- org.eclipse.equinox.security.win32.x86_64_1.0.0.v20110502.jar
        |-- org.eclipse.jdt.launching.macosx.source_3.2.100.v20111006_r372.jar
        |-- org.eclipse.jdt.launching.macosx_3.2.100.v20111006_r372.jar
        |-- org.eclipse.jdt.launching.ui.macosx.source_1.0.100.v20111006_r372.jar
        |-- org.eclipse.jdt.launching.ui.macosx_1.0.100.v20111006_r372.jar
        |-- org.eclipse.swt.carbon.macosx.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.carbon.macosx_3.7.2.v3740f.jar
        |-- org.eclipse.swt.cocoa.macosx.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.cocoa.macosx.x86_64.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.cocoa.macosx.x86_64_3.7.2.v3740f.jar
        |-- org.eclipse.swt.cocoa.macosx_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.aix.ppc.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.aix.ppc64.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.aix.ppc64_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.aix.ppc_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.hpux.ia64_32.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.hpux.ia64_32_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.ppc64.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.ppc64_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.s390.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.s390_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.s390x.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.s390x_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.x86.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.x86_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.x86_64.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.linux.x86_64_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.solaris.sparc.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.solaris.sparc_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.solaris.x86.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.gtk.solaris.x86_3.7.2.v3740f.jar
        |-- org.eclipse.swt.win32.win32.x86.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.win32.win32.x86_3.7.2.v3740f.jar
        |-- org.eclipse.swt.win32.win32.x86_64.source_3.7.2.v3740f.jar
        |-- org.eclipse.swt.win32.win32.x86_64_3.7.2.v3740f.jar
        |-- org.eclipse.ui.carbon.source_4.0.100.I20101109-0800.jar
        |-- org.eclipse.ui.carbon_4.0.100.I20101109-0800.jar
        |-- org.eclipse.ui.cocoa.source_1.1.0.I20101109-0800.jar
        |-- org.eclipse.ui.cocoa_1.1.0.I20101109-0800.jar
        |-- org.eclipse.ui.win32.source_3.2.200.v20110928-1505.jar
        |-- org.eclipse.ui.win32_3.2.200.v20110928-1505.jar
        |-- org.eclipse.update.core.linux.source_3.2.200.v20100512.jar
        |-- org.eclipse.update.core.linux_3.2.200.v20100512.jar
        |-- org.eclipse.update.core.win32.source_3.2.200.v20100512.jar
        `-- org.eclipse.update.core.win32_3.2.200.v20100512.jar

التي يمكنني التحقق باستخدام عنوان ورل http://my.الخادم / دلتا.

عندما أضيف عنوان ورل في والدي بوم:

        <repositories>
            <repository>
                    <id>delta</id>
                    <layout>p2</layout>
                    <url>http://my.server/delta</url>
            </repository>
            <repository>
                    <id>eclipse-platform</id>
                    <layout>p2</layout>
                    <url>http://download.eclipse.org/releases/indigo</url>
            </repository>

فإنه لا تلتقط الإضافات احتياجات مشروعي:

[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86_64, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: com.example.fs 1.0.0.qualifier
[ERROR]   Missing requirement: com.example.fs 1.0.0.qualifier requires 'org.eclipse.ui.carbon 0.0.0' but it could not be found

المؤسسة المساعد.الكسوف.واجهة المستخدم.الكربون في المحتويات المتولدة.شمل والتحف.ملفات شمل وأيضا في دليل الإضافات:

/<...>/local/apache2/htdocs/delta
    |-- artifacts.xml
    |-- content.xml
    |-- features
    `-- plugins

لست متأكدا لماذا مخضرم لا يمكن الحصول على البرنامج المساعد من موقع التحديث.كيف يمكنني تصحيح / إصلاح هذا ?

هل كانت مفيدة؟

المحلول 2

في الواقع تحدثت في وقت مبكر جدا.في حين أن موقع التحديث /الكسوف/التحديثات/3.7 لديه "قاذفات منصة الكسوف" أنا لا أرى كيفية الحصول على جميع المنصات.

لم أحصل على" قاذفات منصة الكسوف " ولكن الآن المنتج الخاص بي مفقود البرنامج المساعد التالي.نحتاج إلى هذه المكونات الإضافية لبناء المنتج لعدة منصات:

<plugin id="org.eclipse.swt.carbon.macosx" fragment="true"/>
<plugin id="org.eclipse.swt.cocoa.macosx" fragment="true"/>
<plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.aix.ppc" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.aix.ppc64" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.hpux.ia64_32" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.ppc64" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.s390" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.s390x" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.x86" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.solaris.sparc" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.solaris.x86" fragment="true"/>
<plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>

هذا هو السبب في أنني استخدمت في البداية حزمة دلتا في المقام الأول.

أعتقد أن السؤال كان أكثر:كيف تبني منتجا لعدة منصات باستخدام مواقع تحديثات البرامج فقط ?

نصائح أخرى

تتوفر محتويات حزمة دلتا بالفعل في موقع تحديث" تحديثات مشروع الكسوف " (على سبيل المثال. http://download.eclipse.org/eclipse/updates/4.3 لكبلر).فقط قم بتضمين مجموعات الميزات الكسوف الحزب الشيوعي الثوري و مكونات هدف الإعتدال في النظام الأساسي المستهدف.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top