[buckminster-dev] create.eclipse.jnlp.product issues [message #478718] |
Thu, 06 August 2009 10:24 |
Eclipse User |
|
|
|
Originally posted by: dieter.cailliau.barco.com
This is a multi-part message in MIME format.
------_=_NextPart_001_01CA16A1.AC3FE73D
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I'm using this ant target create.eclipse.jnlp.product from =
buckminster.pdetasks (1) using the properties file (2) to produce an =
installer/ folder containing most of the contents for my =
webstartable.war; to turn it into a war i zip the folder, and add the =
WEB-INF/lib/jnlp-servlet.jar + WEB-INF/web.xml + startup.signed.jar + =
my.jnlp (3). My target env is eclipse 3.5 with delta pack. The =
feature-project where i run this target, has a feature.xml with 4 =
included features: my own app, rcp, platform and help
I'm not sure if this startup.jar is the right way to launch the 3.5 =
thing, but it used to work in eclipse 3.2 so i just copied it :)
To get it actually downloadable, i have to fix some things:
A) the jars never get signed even though site.signing=3Dtrue. I tried to =
fix this by signing them myself, but eventually the client env still =
stops, saying "jar resources in jnlp are not signed by the same =
certificate".
for i in $(find installer/*/*.jar)=20
do
echo $i;
jarsigner -keystore jnlp.keystore -keypass xyz -storepass xyz $i me
done
jarsigner -keystore jnlp.keystore -keypass xyz -storepass xyz =
startup.signed.jar me
B) in the generated jnlp files, i see extension nodes that refer to =
other generated jnlp files. Typically the href looks like =
"features/....jnlp" though the actual jnlp is not in that features =
folder; it's on the root. Fix =3D remove the "features/" prefix from the =
href value.
C) for win32 win32 x86 the org.eclipse.rcp...jnlp refers to 2 ...wpf... =
bundles or fragments which are not there (but the same name with =
....win32... is there). I just remove these lines.
(1)
<public name=3D"create.eclipse.jnlp.product" actor=3D"ant">
<actorProperies>
<property key=3D"buildFileId" value=3D"buckminster.pdetasks"/>
<property key=3D"targets" value=3D"create.eclipse.jnlp.product"/>
</actorProperties>
<properties>
<property key=3D"buckminster.eclipse.productFile" =
value=3D"client.product"/>
<property key=3D"buckminster.eclipse.deleteuilauncher" value=3D"false"/>
</properties>
<prerequisites alias=3D"action.requirements">
<attribute name=3D"feature.exports"/>
</prerequisites>
<products alias=3D"action.output" base=3D"${buckminster.output}" >
<path path=3D"installer/"/>
</products>
</public>
(2)
buckminster.output.root /tmp/x6
buckminster.temp.root /tmp/y6
local.keystore.path ${workspace.root}/.../jnlp.keystore
local.keystore.alias me
local.keystore.password xyz
local.keystore.passphrase xyz =20
site.pack200 false
site.signing true
signing.type local
cbi.include.source false
qualifier.replacement.*=3Dgenerator:lastRevision
#target.os=3Dlinux
#target.ws=3Dgtk
#target.arch=3Dx86
target.os=3Dwin32
target.ws=3Dwin32
target.arch=3Dx86
=20
(3)
....
<resources>
<jar href=3D"startup.signed.jar"/>
<extension=20
name=3D"mystuff"
href=3D"installer/com....generated.jnlp"/>
=20
</resources>
DISCLAIMER:
Unless indicated otherwise, the information contained in this message is =
privileged and confidential, and is intended only for the use of the =
addressee(s) named above and others who have been specifically =
authorized to receive it. If you are not the intended recipient, you are =
hereby notified that any dissemination, distribution or copying of this =
message and/or attachments is strictly prohibited. The company accepts =
no liability for any damage caused by any virus transmitted by this =
email. Furthermore, the company does not warrant a proper and complete =
transmission of this information, nor does it accept liability for any =
delays. If you have received this message in error, please contact the =
sender and delete the message. Thank you.
------_=_NextPart_001_01CA16A1.AC3FE73D
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7654.12">
<TITLE>create.eclipse.jnlp.product issues</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=3D2>I'm using this ant target create.eclipse.jnlp.product =
from buckminster.pdetasks (1) using the properties file (2) to produce =
an installer/ folder containing most of the contents for my =
webstartable.war; to turn it into a war i zip the folder, and add the =
WEB-INF/lib/jnlp-servlet.jar + WEB-INF/web.xml + startup.signed.jar + =
my.jnlp (3). My target env is eclipse 3.5 with delta pack. The =
feature-project where i run this target, has a feature.xml with 4 =
included features: my own app, rcp, platform and help<BR>
<BR>
I'm not sure if this startup.jar is the right way to launch the 3.5 =
thing, but it used to work in eclipse 3.2 so i just copied it :)<BR>
<BR>
To get it actually downloadable, i have to fix some things:<BR>
<BR>
A) the jars never get signed even though site.signing=3Dtrue. I tried to =
fix this by signing them myself, but eventually the client env still =
stops, saying "jar resources in jnlp are not signed by the same =
certificate".<BR>
<BR>
for i in $(find installer/*/*.jar)<BR>
do<BR>
echo $i;<BR>
jarsigner -keystore jnlp.keystore -keypass xyz -storepass xyz $i me<BR>
done<BR>
jarsigner -keystore jnlp.keystore -keypass xyz -storepass xyz =
startup.signed.jar me<BR>
<BR>
B) in the generated jnlp files, i see extension nodes that refer to =
other generated jnlp files. Typically the href looks like =
"features/....jnlp" though the actual jnlp is not in that =
features folder; it's on the root. Fix =3D remove the =
"features/" prefix from the href value.<BR>
<BR>
C) for win32 win32 x86 the org.eclipse.rcp...jnlp refers to 2 ...wpf... =
bundles or fragments which are not there (but the same name with =
....win32... is there). I just remove these lines.<BR>
<BR>
<BR>
<BR>
(1)<BR>
<public name=3D"create.eclipse.jnlp.product" =
actor=3D"ant"><BR>
<actorProperies><BR>
<property key=3D"buildFileId" =
value=3D"buckminster.pdetasks"/><BR >
<property key=3D"targets" =
value=3D"create.eclipse.jnlp.product"/& ;gt; <BR>
</actorProperties><BR>
<properties><BR>
<property key=3D"buckminster.eclipse.productFile" =
value=3D"client.product"/><BR>
<property key=3D"buckminster.eclipse.deleteuilauncher&quo t; =
value=3D"false"/><BR>
</properties><BR>
<prerequisites alias=3D"action.requirements"><BR>
<attribute name=3D"feature.exports"/><BR>
</prerequisites><BR>
<products alias=3D"action.output" =
base=3D"${buckminster.output}" ><BR>
<path path=3D"installer/"/><BR>
</products><BR>
</public><BR>
<BR>
(2)<BR>
buckminster.output.root &nb sp; /tmp/x6<BR>
buckminster.temp.root   ; =
/tmp/y6<BR>
local.keystore.path ${workspace.root}/.../jnlp.keystore<BR>
local.keystore.alias me<BR>
local.keystore.password xyz<BR>
local.keystore.passphrase xyz <BR>
site.pack200 &nbs p; &=
nbsp; & nbsp; false<BR>
site.signing &nbs p; &=
nbsp; & nbsp; true<BR>
signing.type &nbs p; &=
nbsp; & nbsp; local<BR>
cbi.include.source &a mp;nbsp; &=
nbsp; false<BR>
qualifier.replacement.*=3Dgenerator:lastRevision<BR>
#target.os=3Dlinux<BR>
#target.ws=3Dgtk<BR>
#target.arch=3Dx86<BR>
target.os=3Dwin32<BR>
target.ws=3Dwin32<BR>
target.arch=3Dx86<BR>
<BR>
<BR>
(3)<BR>
....<BR>
<resources><BR>
<jar =
href=3D"startup.signed.jar"/><BR>
<BR>
<extension<BR>
=
name=3D"mystuff"<BR>
=
href=3D"installer/com....generated.jnlp"/& amp;gt; <BR>
<BR>
</resources></FONT>
</P>
<p></p><p>DISCLAIMER:<br>Unless indicated otherwise, the information =
contained in this message is privileged and confidential, and is =
intended only for the use of the addressee(s) named above and others who =
have been specifically authorized to receive it. If you are not the =
intended recipient, you are hereby notified that any dissemination, =
distribution or copying of this message and/or attachments is strictly =
prohibited. The company accepts no liability for any damage caused by =
any virus transmitted by this email. Furthermore, the company does not =
warrant a proper and complete transmission of this information, nor does =
it accept liability for any delays. If you have received this message in =
error, please contact the sender and delete the message. Thank =
you.</BODY>
</HTML>
------_=_NextPart_001_01CA16A1.AC3FE73D--
|
|
|
Powered by
FUDForum. Page generated in 0.03970 seconds