|
From: Geoffrey De S. (JIRA) <no...@at...> - 2006-03-12 17:23:47
|
Petclinic: (Re)Enable webstart + standalone webstart on site demo
-----------------------------------------------------------------
Key: RCP-285
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285
Project: Spring Framework Rich Client Project
Type: New Feature
Components: Build System
Reporter: Geoffrey De Smet
Assigned to: Geoffrey De Smet
Fix For: PR1
Enable webstart for petlinic:
- client webstart included in server
- standalone webstart included in maven site as demo "WEB START ME NOW"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: Jan H. (JIRA) <no...@at...> - 2006-03-27 12:45:42
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=all ] Jan Hoskens updated RCP-285: ---------------------------- Fix Version: 0.2.0 (was: 0.1.0) > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.2.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Geoffrey De S. (JIRA) <no...@at...> - 2006-05-13 12:04:43
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=comments#action_17575 ] Geoffrey De Smet commented on RCP-285: -------------------------------------- Acegi & jhelp are already signed jars. Untill the maven-webstart-plugin can unsign already signed jars before signing them with my/yours certificate we can't fix this. I 'll look into creating a patch for the maven-webstart-plugin. They have an issue for this: MOJO-??? > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.2.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Larry S. (JIRA) <no...@at...> - 2006-05-13 13:24:46
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=comments#action_17579 ] Larry Streepy commented on RCP-285: ----------------------------------- Just a note that the "unsign" operation needs to be careul not to erase other needed information in the META-INF directory. The simple approach that was taken in the original spring rich ant build file was insufficient. It was just removing everything in META-INF, which would lead to failures for things like the java mail jar (which contains critical configuration files in META-INF). > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.2.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Jan H. (JIRA) <no...@at...> - 2006-09-14 12:59:31
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=all ] Jan Hoskens updated RCP-285: ---------------------------- Fix Version: (was: 0.2.0) 0.3.0 > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.3.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Rogan D. (JIRA) <no...@at...> - 2006-12-21 15:51:43
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=comments#action_21394 ] Rogan Dawes commented on RCP-285: --------------------------------- Any progress on this? I'm looking for a way to JWS deploy my Spring RCP my application, and was hoping for some guidance from the folks who have done it before . . . Thanks Rogan > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.3.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Geoffrey De S. (JIRA) <no...@at...> - 2006-12-21 17:05:47
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=comments#action_21397 ] Geoffrey De Smet commented on RCP-285: -------------------------------------- I am currently a bit preoccupied with another spare time project, but I am going to do this sometime. Basically what you need is this: - maven-webstart-plugin - a javascript that checks whether java is installed If you create a war for a client-server app, you 'll also want this: - deployment servlet, so you don't have to hardcode codebase in the jnlp - the Jnlp* class in spring-richclient I wrote so you don't have to hardcode codebase in the client > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.3.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Geoffrey De S. (JIRA) <no...@at...> - 2006-12-21 17:09:43
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=comments#action_21398 ] Geoffrey De Smet commented on RCP-285: -------------------------------------- Here's that javascript, now just take a look at the docs of the maven-webstart-plugin <!-- Detect if java webstart is available --> <script type="text/javascript"> function isInternetExplorerJavaEnabled() { try { // Detect Java 5 platform var obj = new ActiveXObject('JavaWebStart.isInstalled.1.5.0.0'); if (obj != null) { return 1; } } catch (exception) { // do nothing } try { // Detect Java 5 platform var obj = new ActiveXObject('JavaWebStart.isInstalled.1.6.0.0'); if (obj != null) { return 1; } } catch (exception) { // do nothing } return 0; } function isFirefoxJavaEnabled() { for (var i = 0; i < navigator.mimeTypes.length; i++) { var s = navigator.mimeTypes[i].type; // Detect Java 5 platform if (s == 'application/x-java-applet;version=1.5' || s == 'application/x-java-applet;version=1.6') { return 1; } } return 0; } if (!isInternetExplorerJavaEnabled() && !isFirefoxJavaEnabled()) { document.write('<p class="error">' + 'Er is geen upgedate versie van de Java JRE aanwezig op uw systeem. ' + 'Voor u Triton kan starten, moet u eerst de Java JRE installeren' + ' en dan uw browser herstarten.' + '</p>'); document.write('<a class="error" href="http://java.com/getjava" target="_blank">' + 'Klik hier om de recentste Java JRE te installeren.' + '</a>'); } </script> > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.3.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Rogan D. (JIRA) <no...@at...> - 2006-12-22 15:38:44
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-285?page=comments#action_21418 ] Rogan Dawes commented on RCP-285: --------------------------------- Ok, I figured out my problem. Thanks, Geoffrey. I'll document the solution here for those searching for info in the future. My situation is as follows: I have a RCP app, which is using JavaHelp, and needs to open network connections and access the filesystem. So, signing the app is required. The biggest problem I had was that I tried to add signing after I had run the mvn install webstart:jnlp goal a few times. As a result, when I tried to add signing, all the dependent jars were already in place in the target directory, and so no matter WHAT I did in the pom.xml. messing around with <includes> and <excludes>, my dependent jars were never being signed. This was easily rectified by simply running mvn clean first. My next problem was that the javahelp jar was already signed. As suggested elsewhere, one approach is simply to unsign the jar before signing it with your own key. My approach was to use a resource element in my jnlp, and exclude the javahelp jar from being signed using a <dependencies><excludes><exclude>javax.hel;p:jhelp</exclude></excludes></dependencies> stanza. My template.vm file then looked like (snipped): <resources> <property name="com.apple.macos.useScreenMenuBar" value="true"/> <property name="apple.laf.useScreenMenuBar" value="true"/> <property name="com.apple.mrj.application.apple.menu.about.name" value="WebScarab"/> <j2se version="1.5+" max-heap-size="128m" /> $dependencies <extension name="Java Help" href="lib/jhelp.jnlp"/> </resources> and jhelp.jnlp looks like: <?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="wherever" href="help.jnlp"> <information> <title>JavaHelp</title> <vendor>Sun Microsystems, Inc.</vendor> </information> <resources> <jar href="jhelp-2.0.jar"/> </resources> <component-desc/> </jnlp> Note that I have the jhelp-2.0.jar in a lib subdirectory. Otherwise, if it went directly into the toplevel target directory, the JnlpMojo class would try to sign it anyway, with predictable consequences. Hope this helps someone. If anyone is interested in seeing my app in action, you can try it at: http://dawes.za.net/rogan/webscarab-ng/webstart/WebScarab-ng.jnlp Feedback appreciated ;-) > Petclinic: (Re)Enable webstart + standalone webstart on site demo > ----------------------------------------------------------------- > > Key: RCP-285 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-285 > Project: Spring Framework Rich Client Project > Type: New Feature > Components: Build System > Reporter: Geoffrey De Smet > Assignee: Geoffrey De Smet > Fix For: 0.3.0 > > Enable webstart for petlinic: > - client webstart included in server > - standalone webstart included in maven site as demo "WEB START ME NOW" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Jan H. (JIRA) <no...@sp...> - 2008-03-18 07:22:10
|
[ http://jira.springframework.org/browse/RCP-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hoskens updated RCP-285:
----------------------------
Fix Version/s: (was: 1.0.0)
1.0.1
> Petclinic: (Re)Enable webstart + standalone webstart on site demo
> -----------------------------------------------------------------
>
> Key: RCP-285
> URL: http://jira.springframework.org/browse/RCP-285
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Build System
> Reporter: Geoffrey De Smet
> Assignee: Geoffrey De Smet
> Fix For: 1.0.1
>
>
> Enable webstart for petlinic:
> - client webstart included in server
> - standalone webstart included in maven site as demo "WEB START ME NOW"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Lieven D. (JIRA) <no...@sp...> - 2008-10-09 19:16:23
|
[ http://jira.springframework.org/browse/RCP-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo updated RCP-285:
-----------------------------
Fix Version/s: (was: 1.0.1)
1.0.2
> Petclinic: (Re)Enable webstart + standalone webstart on site demo
> -----------------------------------------------------------------
>
> Key: RCP-285
> URL: http://jira.springframework.org/browse/RCP-285
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Build System
> Reporter: Geoffrey De Smet
> Assignee: Geoffrey De Smet
> Fix For: 1.0.2
>
>
> Enable webstart for petlinic:
> - client webstart included in server
> - standalone webstart included in maven site as demo "WEB START ME NOW"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Lieven D. (JIRA) <no...@sp...> - 2008-10-09 20:19:20
|
[ http://jira.springframework.org/browse/RCP-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo updated RCP-285:
-----------------------------
Fix Version/s: (was: 1.0.2)
1.x
> Petclinic: (Re)Enable webstart + standalone webstart on site demo
> -----------------------------------------------------------------
>
> Key: RCP-285
> URL: http://jira.springframework.org/browse/RCP-285
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Build System
> Reporter: Geoffrey De Smet
> Assignee: Geoffrey De Smet
> Fix For: 1.x
>
>
> Enable webstart for petlinic:
> - client webstart included in server
> - standalone webstart included in maven site as demo "WEB START ME NOW"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|