Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » web start/jnlp/signing question
web start/jnlp/signing question [message #787384] Tue, 31 January 2012 14:14 Go to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-Reichert
Messages: 220
Registered: July 2009
Senior Member
Hi,

I want to build a web start Eclipse application using Buckminster in a Hudson build.

I have created a wrapping feature for this purpose.
Inside this feature I've created an extension spec (xspec).
The relevant part is:

<actions>
<public name="create.eclipse.jnlp.product" actor="ant">
<actorProperties>
<property key="buildFileId" value="buckminster.pdetasks"/>
<property key="targets" value="create.eclipse.jnlp.product"/>
</actorProperties>
<properties>
<property key="buckminster.eclipse.productFile"
value="org.eclipse.platform.ide"/>
<property key="buckminster.eclipse.deleteuilauncher" value="false"/>
</properties>
<prerequisites alias="action.requirements">
<attribute name="feature.exports"/>
</prerequisites>
<products alias="action.output" base="${buckminster.output}" >
<path path="webstart/"/>
</products>
</public>
</actions>

Then I perform this action in the build with the following properties:

site.signing=true
site.retain.unpacked=true
signing.type=local
local.keystore.path=D:/hudson/keystore/keystore.jks
local.keystore.alias=xxx
local.keystore.password=xxx

So far the build works quite well and in the buckminster.output I find a folder for my wrapping feature containing a webstart
folder with plugins, features and jnlp files.

Unfortunately the jars aren't signed!

Can anybody help?

Thanks,
Henrik
Re: web start/jnlp/signing question [message #788023 is a reply to message #787384] Wed, 01 February 2012 08:54 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Henrik,

The signing functionality is part of the 'site.p2' action. I don't think it is included as a prerequisite to the
create.eclipse.jnlp.product.

- thomas



On 01/31/2012 03:14 PM, Henrik Rentz-Reichert wrote:
> Hi,
>
> I want to build a web start Eclipse application using Buckminster in a Hudson build.
>
> I have created a wrapping feature for this purpose.
> Inside this feature I've created an extension spec (xspec).
> The relevant part is:
>
> <actions>
> <public name="create.eclipse.jnlp.product" actor="ant">
> <actorProperties>
> <property key="buildFileId" value="buckminster.pdetasks"/>
> <property key="targets" value="create.eclipse.jnlp.product"/>
> </actorProperties>
> <properties>
> <property key="buckminster.eclipse.productFile"
> value="org.eclipse.platform.ide"/>
> <property key="buckminster.eclipse.deleteuilauncher" value="false"/>
> </properties>
> <prerequisites alias="action.requirements">
> <attribute name="feature.exports"/>
> </prerequisites>
> <products alias="action.output" base="${buckminster.output}">
> <path path="webstart/"/>
> </products>
> </public>
> </actions>
>
> Then I perform this action in the build with the following properties:
>
> site.signing=true
> site.retain.unpacked=true
> signing.type=local
> local.keystore.path=D:/hudson/keystore/keystore.jks
> local.keystore.alias=xxx
> local.keystore.password=xxx
>
> So far the build works quite well and in the buckminster.output I find a folder for my wrapping feature containing a webstart
> folder with plugins, features and jnlp files.
>
> Unfortunately the jars aren't signed!
>
> Can anybody help?
>
> Thanks,
> Henrik
Re: web start/jnlp/signing question [message #788042 is a reply to message #788023] Wed, 01 February 2012 09:22 Go to previous messageGo to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-Reichert
Messages: 220
Registered: July 2009
Senior Member
Hi Thomas,

so do I have to invoke the site.p2 action in advance? I think I've tried that with the result that the jars in the site have been
signed but not those in the webstart folder (as result of create.eclipse.jnlp.product).

Or can I add that (and how) as a prerequisite to the create.eclipse.jnlp.product action?

Thanks,
Henrik


Am 01.02.2012 09:54, schrieb Thomas Hallgren:
> Hi Henrik,
>
> The signing functionality is part of the 'site.p2' action. I don't think it is included as a prerequisite to the
> create.eclipse.jnlp.product.
>
> - thomas
>
>
>
> On 01/31/2012 03:14 PM, Henrik Rentz-Reichert wrote:
>> Hi,
>>
>> I want to build a web start Eclipse application using Buckminster in a Hudson build.
>>
>> I have created a wrapping feature for this purpose.
>> Inside this feature I've created an extension spec (xspec).
>> The relevant part is:
>>
>> <actions>
>> <public name="create.eclipse.jnlp.product" actor="ant">
>> <actorProperties>
>> <property key="buildFileId" value="buckminster.pdetasks"/>
>> <property key="targets" value="create.eclipse.jnlp.product"/>
>> </actorProperties>
>> <properties>
>> <property key="buckminster.eclipse.productFile"
>> value="org.eclipse.platform.ide"/>
>> <property key="buckminster.eclipse.deleteuilauncher" value="false"/>
>> </properties>
>> <prerequisites alias="action.requirements">
>> <attribute name="feature.exports"/>
>> </prerequisites>
>> <products alias="action.output" base="${buckminster.output}">
>> <path path="webstart/"/>
>> </products>
>> </public>
>> </actions>
>>
>> Then I perform this action in the build with the following properties:
>>
>> site.signing=true
>> site.retain.unpacked=true
>> signing.type=local
>> local.keystore.path=D:/hudson/keystore/keystore.jks
>> local.keystore.alias=xxx
>> local.keystore.password=xxx
>>
>> So far the build works quite well and in the buckminster.output I find a folder for my wrapping feature containing a webstart
>> folder with plugins, features and jnlp files.
>>
>> Unfortunately the jars aren't signed!
>>
>> Can anybody help?
>>
>> Thanks,
>> Henrik
>
Re: web start/jnlp/signing question [message #788058 is a reply to message #788042] Wed, 01 February 2012 09:47 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Henrik,

I'm afraid that the signing capabilities are especially tailored to be used with the site.p2 action (it's also
intertwined with the pack200 code). It was never intended to work with the JNLP stuff. So I'm afraid you'll need to
revert to some copy/pasting and write your own signing for that.

- thomas


On 02/01/2012 10:22 AM, Henrik Rentz-Reichert wrote:
> Hi Thomas,
>
> so do I have to invoke the site.p2 action in advance? I think I've tried that with the result that the jars in the site have been
> signed but not those in the webstart folder (as result of create.eclipse.jnlp.product).
>
> Or can I add that (and how) as a prerequisite to the create.eclipse.jnlp.product action?
>
> Thanks,
> Henrik
>
>
> Am 01.02.2012 09:54, schrieb Thomas Hallgren:
>> Hi Henrik,
>>
>> The signing functionality is part of the 'site.p2' action. I don't think it is included as a prerequisite to the
>> create.eclipse.jnlp.product.
>>
>> - thomas
>>
>>
>>
>> On 01/31/2012 03:14 PM, Henrik Rentz-Reichert wrote:
>>> Hi,
>>>
>>> I want to build a web start Eclipse application using Buckminster in a Hudson build.
>>>
>>> I have created a wrapping feature for this purpose.
>>> Inside this feature I've created an extension spec (xspec).
>>> The relevant part is:
>>>
>>> <actions>
>>> <public name="create.eclipse.jnlp.product" actor="ant">
>>> <actorProperties>
>>> <property key="buildFileId" value="buckminster.pdetasks"/>
>>> <property key="targets" value="create.eclipse.jnlp.product"/>
>>> </actorProperties>
>>> <properties>
>>> <property key="buckminster.eclipse.productFile"
>>> value="org.eclipse.platform.ide"/>
>>> <property key="buckminster.eclipse.deleteuilauncher" value="false"/>
>>> </properties>
>>> <prerequisites alias="action.requirements">
>>> <attribute name="feature.exports"/>
>>> </prerequisites>
>>> <products alias="action.output" base="${buckminster.output}">
>>> <path path="webstart/"/>
>>> </products>
>>> </public>
>>> </actions>
>>>
>>> Then I perform this action in the build with the following properties:
>>>
>>> site.signing=true
>>> site.retain.unpacked=true
>>> signing.type=local
>>> local.keystore.path=D:/hudson/keystore/keystore.jks
>>> local.keystore.alias=xxx
>>> local.keystore.password=xxx
>>>
>>> So far the build works quite well and in the buckminster.output I find a folder for my wrapping feature containing a webstart
>>> folder with plugins, features and jnlp files.
>>>
>>> Unfortunately the jars aren't signed!
>>>
>>> Can anybody help?
>>>
>>> Thanks,
>>> Henrik
>>
>
Previous Topic:[Buckminster headless] How to control buckminster workspace?
Next Topic:Resolution question
Goto Forum:
  


Current Time: Wed Sep 24 00:39:13 GMT 2014

Powered by FUDForum. Page generated in 0.06816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software