[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Plugins missing sources



On 12-03-16 11:32 AM, Thanh Ha wrote:
Thanks Igor,

I went and commented out all the non win32 x86[_64], and linux x86[_64] and
macosx x86_64 platforms from the feature.xml.

I found the tycho-source-feature-plugin section in the pom.xml file but it's
not clear to me how to use it. I saw there was an existing item already so I
copied it and replaced it with one of the launchers.
             <configuration>
               <excludes>
                 <plugin id="javax.xml" />
                 <plugin id="org.eclipse.equinox.launcher" />
               </excludes>
             </configuration>

Is this the correct syntax?


yes, this is the correct syntax. you need to list all source-less bundles here.


Finally there's an additional plugin org.eclipse.swt_3.8.0.v3815 that does not appear to be a launcher or a platform. What would you suggest I do with this one?


I do not believe org.eclipse.swt bundle has any corresponding sources, so it needs to be excluded from the generated source feature too.


Thanks,


Thanh



-----Original Message-----
From: Igor Fedorenko<igor@xxxxxxxxxxxxxx>
Sent: March 16, 2012 11:02 AM
To: cbi-dev@xxxxxxxxxxx
Cc:
Subject: Re: [cbi-dev] Plugins missing sources

I see couple of problems here.

CBI build is (or at least originally was) limited to the following five
platforms -- win32 x86 and x86_84, linux x86 and x86_64 and macosx
x86_64. It looks like org.eclipse.e4.rcp feature project includes native
launchers and swt fragments for other platforms now and these need to be
removed from feature.xml file for the build to succeed.

For native launchers that are included in the build, these bundles do
not have corresponding sources bundles and need to be explicitly
excluded from generated source feature. This is configured in pom.xml
file tycho-source-feature-plugin<excludes>  configuration element.

--
Regards,
Igor


On 12-03-16 10:54 AM, Thanh Ha wrote:
Hi Everyone,

I'm working on rebasing the CBI R4 M5 branch today and ran into the error
below during the build related to missing sources for some plugins below.
Any
ideas on what I need to do to resolve this issue?

Thanks,


Thanh


[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-source-
feature-
plugin:0.14.0:source-feature (source-feature) on project org.eclipse.e4.rcp:
Could not generate source feature for project MavenProject:
eclipse.platform.ui:org.eclipse.e4.rcp:1.1.0-SNAPSHOT @
/home/user/Downloads/eclipse2/R4_platform-
aggregator/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml
[ERROR] Missing sources for plugins [org.eclipse.equinox.launcher_0.0.0,
org.eclipse.equinox.launcher.gtk.solaris.sparc_0.0.0,
org.eclipse.equinox.launcher.gtk.solaris.x86_0.0.0,
org.eclipse.equinox.launcher.cocoa.macosx_0.0.0,
org.eclipse.equinox.launcher.cocoa.macosx_0.0.0,
org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20110908-1331,
org.eclipse.equinox.launcher.gtk.linux.ppc64_0.0.0,
org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20110908-1331,
org.eclipse.equinox.launcher.gtk.linux.s390x_0.0.0,
org.eclipse.equinox.launcher.gtk.linux.s390_0.0.0,
org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20110908-1331,
org.eclipse.equinox.launcher.gtk.aix.ppc_0.0.0,
org.eclipse.equinox.launcher.gtk.aix.ppc64_0.0.0,
org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20110908-1331,
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20110908-1331,
org.eclipse.swt_3.8.0.v3815, org.eclipse.swt.gtk.linux.s390x_0.0.0,
org.eclipse.swt.gtk.linux.s390_0.0.0,
org.eclipse.swt.gtk.solaris.sparc_0.0.0,
org.eclipse.swt.gtk.solaris.x86_0.0.0,
org.eclipse.swt.gtk.linux.ppc64_0.0.0,
org.eclipse.swt.cocoa.macosx_0.0.0, org.eclipse.swt.cocoa.macosx_0.0.0,
org.eclipse.swt.gtk.aix.ppc_0.0.0, org.eclipse.swt.gtk.aix.ppc64_0.0.0,
org.eclipse.swt.gtk.hpux.ia64_32_0.0.0]


_______________________________________________ cbi-dev mailing list cbi-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/cbi-dev
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev