|
|
|
|
Re: Headless build does not produce launcher [message #720842 is a reply to message #720814] |
Wed, 31 August 2011 10:20 |
|
On 2011-08-31 11:38, sobert wrote:
> Hi,
>
> i'm trying to follow the tutorial http://www.ralfebert.de/blog/eclipsercp/rcp_builds/ to create automated builds using
> buckminster and hudson. However, i'm already stuck at the manual installation of the product from a generated p2
> repository using director.
>
> When i run director it seems everything is properly created, except that the binary launcher (eclipse.exe on win32) is
> missing.
>
> Director finishes without any errors and generates the following artifacts:
>
> * configuration (folder)
> * p2 (folder)
> * plugins (folder)
> * artifacts.xml * eclipse.ini
>
> In my product definition i have set a launcher name, launcher icons and selected "the product includes native launcher
> artifacts".
>
> Has anyone a hint what can cause director to not create the launcher?
>
The most likely reason is that you don't have org.eclipse.equinox.executable feature present in your target platform.
The publisher needs that feature to find the launchers for all platforms. The best way to ensure that the launcher is
present is probably to add it as a dependency in a buckminster.cspec or buckminster.cspex file. Do not include it as a
feature or product dependency since this feature is not something that should be installed.
- thomas
|
|
|
|
|
|
|
Re: Headless build does not produce launcher [message #721350 is a reply to message #721333] |
Thu, 01 September 2011 14:24 |
|
On 2011-09-01 15:46, Stephan wrote:
> Hi Thomas
>
>> Again, I would advice against including the executable feature in another feature.
>
> So this means the chapter "Building RCP Products > Structure" in the BuckyBook is not up-to-date anymore (which shows an
> inclusion of o.e.e.excutable)?
>
> Thanks, Stephan
Yes, please file a bugzilla for this.
Thanks,
- thomas
|
|
|
|
|
|
Re: Headless build does not produce launcher [message #722236 is a reply to message #721933] |
Mon, 05 September 2011 06:27 |
|
On 2011-09-03 19:03, Stephan wrote:
> Hi Thomas
>
> I just made a quick test of this dependency configuration. In a working build I
> - removed o.e.e.executable from the list of included features
> - added a buckminster.cspex with a dependency on o.e.e.executable
>
> When run from the IDE, I still can build the site but creating the product with the director fails
> (org.eclipse.core.runtime.CoreException:
> C:\projects\cctvnet\wstrunk37\com.diligentit.cctvnet.server.config.build\build\product.ant:22: Java returned: 13). - How
> can I get a debug log from the p2-director to find out whats wrong?
> - What else must be changed to make this working?
>
> Regards, Stephan
The output usually ends up in the directors <director installation>/configuration directory in a file with many digits
ending with .log.
- thomas
|
|
|
|
Re: Headless build does not produce launcher [message #722435 is a reply to message #722403] |
Mon, 05 September 2011 18:47 |
|
I'm fairly certain that the problem is this:
!MESSAGE Missing requirement for filter properties ~= $0:
com.diligentit.cctvnet.server.config.product.executable.win32.win32.x86 5.6.0 requires
'org.eclipse.equinox.launcher.win32.win32.x86 0.0.0' but it could not be found
which would indicate that either you don't have the launcher in your target platform or you didn't use '*' for the
target.os, target.ws, and target.arch when you resolved or performed site.p2.
- thomas
On 2011-09-05 18:47, Stephan wrote:
> Thank you, now I found the log and it contains:
>
> Command-line arguments: -application org.eclipse.equinox.p2.director -artifactRepository
> file:/C:/01_Build/buckybuild/CfgServer/com.diligentit.cctvnet.server.config.build_5.6.0-eclipse.feature/site.p2/
> -metadataRepository
> file:/C:/01_Build/buckybuild/CfgServer/com.diligentit.cctvnet.server.config.build_5.6.0-eclipse.feature/site.p2/
> -destination
> C:\01_Build\buckybuild\CfgServer\com.diligentit.cctvnet.server.config.build_5.6.0-eclipse.feature\CfgServer.win32.win32.x86
> -bundlepool
> C:\01_Build\buckybuild\CfgServer\com.diligentit.cctvnet.server.config.build_5.6.0-eclipse.feature\CfgServer.win32.win32.x86
> -profile CCTVnetCfgServerProfile -profileProperties org.eclipse.update.install.features=true -installIU
> com.diligentit.cctvnet.server.config.product -p2.os win32 -p2.ws win32 -p2.arch x86 -consoleLog -roaming
>
> !ENTRY org.eclipse.equinox.p2.director 4 1 2011-09-05 18:31:19.750
> !MESSAGE Cannot complete the install because one or more required items could not be found.
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:19.750
> !MESSAGE Software being installed: CfgServer 5.6.0 (com.diligentit.cctvnet.server.config.product 5.6.0)
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:19.750
> !MESSAGE Missing requirement for filter properties ~= $0:
> com.diligentit.cctvnet.server.config.product.executable.win32.win32.x86 5.6.0 requires
> 'org.eclipse.equinox.launcher.win32.win32.x86 0.0.0' but it could not be found
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-09-05 18:31:19.859
> !MESSAGE Cannot satisfy dependency:
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:19.859
> !MESSAGE From: CfgServer 5.6.0 (com.diligentit.cctvnet.server.config.product 5.6.0)
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:19.859
> !MESSAGE To: toolingcom.diligentit.cctvnet.server.config.product.application [5.6.0]
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-09-05 18:31:19.859
> !MESSAGE Cannot satisfy dependency:
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:19.968
> !MESSAGE From: toolingcom.diligentit.cctvnet.server.config.product.application 5.6.0
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:19.968
> !MESSAGE To: toolingcom.diligentit.cctvnet.server.config.product.executable.win32.win32.x86 [5.6.0]
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-09-05 18:31:19.968
> !MESSAGE Cannot satisfy dependency:
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:19.968
> !MESSAGE From: toolingcom.diligentit.cctvnet.server.config.product.executable.win32.win32.x86 5.6.0
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-09-05 18:31:20.078
> !MESSAGE To: com.diligentit.cctvnet.server.config.product.executable.win32.win32.x86 [5.6.0]
>
> The prefix "tooling" looks strange and I don't know where this is coming from but I don't know if this causes the
> problem...
>
> BTW, if I have several nested features, where should I put the buckminster.cspex with the dependency (at the moment I
> have added it to every feature)?
>
> Regards, Stephan
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05503 seconds