Sweet Home 3d How to Upload to Website
Sweet Home 3D Forum
No member browsing this thread
| Thread Condition: Active Full posts in this thread: 14 | |
| KenowaX Newbie Belgique | Hullo, I'1000 using an online web cosmos service which allows me to upload files to my website but does not allow me to insert the files into folders. Therefore, all my files for Sweet Home 3D Viewer are in the following URL : www.mywebsite.com/files/theme/ Having uploaded the files to the theme binder (no other folders possible) I changed the HTML script as follows to add the applet to my website : Sugariness Dwelling house 3D, Copyright (c) 2009-2013 Emmanuel PUYBARET / eTeks <info@eteks.com> This programme is free software; you can redistribute it and/or modify This plan is distributed in the hope that it will be useful, Yous should have received a copy of the GNU General Public License var attributes = {codebase:"http://shibu-q.weebly.com/files/theme/", deployJava.setInstallerType("kernel"); However, when I effort to launch the app on my website, I get the following error : Cannot load ressource : That is normal since the file is not in the lib folder. It is in the theme binder. Is in that location any way to set up this ? Thanks, |
| Puybaret Practiced France Joined: Nov 7, 2005 Post Count: 8109 Status: Offline | Really, the changes you fabricated on the value of the jars variable and codebase attribute take an effect only with Java vi. Under Coffee 7 and further, I think that the JRE always uses the jnlp_embedded parameter after decoding information technology from Base 64. As the jnlp_embedded parameter proposed in the default configuration tries to download jar files from lib subfolder, that would explicate the error you reported. To ready it, you lot should download the SweetHome3DViewer.jnlp file that was used to generate the current value of the jnlp_embedded parameter, update the href attribute of its <jar> elements with a text editor and save it. Then, convert the modified file to Base 64 and copy the encoded string in jnlp_embedded parameter. By the way, there must be a typo in your homeURL parameter where a colon is missing after http. |
| KenowaX Newbie Belgique | Thank you for your respond. I tried what you suggested. Yet, now, the app doesn't even show up on the website. I got the following code from the BASE64 encryption : I got the code by encrypting this text file : <!-- SweetHome3DViewer.jnlp Sugariness Home 3D, Copyright (c) 2013 Emmanuel PUYBARET / eTeks <info@eteks.com> This program is free software; you can redistribute information technology and/or modify it nether the terms of the GNU Full general Public License every bit published by the Gratuitous Software Foundation; either version 2 of the License, or (at your selection) any later version. This plan is distributed in the hope that information technology will exist useful, but WITHOUT Whatsoever WARRANTY; without fifty-fifty the unsaid warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if non, write to the Complimentary Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA --> <!-- Accompanying JNLP file for Sweet Home 3D Viewer. Should match the applet script in SweetHome3DViewer.html and used as its jnlp_embedded parameter value after a conversion to base64. Under Unix, conversion to base64 tin be done with the following command: base64 -i SweetHome3DViewer.jnlp" --> <jnlp href="SweetHome3DViewer.jnlp"> <information> <championship>Sweet Habitation 3D Viewer</championship> <vendor>eTeks</vendor> <homepage href="http://www.sweethome3d.com/"/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.five+" max-heap-size="640m"/> <jar href="SweetHome3DViewer.jar" main="true"/> <jar href="batik-svgpathparser-one.7.jar"/> <property name="jnlp.packEnabled" value="false"/> </resources> <resources os="Windows" curvation="x86"> <jar href="java3d_windows_i386.jar"/> </resource> <resources bone="Windows" arch="amd64"> <jar href="java3d_windows_x64.jar"/> </resource> <resources os="Mac OS 10"> <belongings name="apple tree.awt.graphics.UseQuartz" value="truthful"/> <belongings proper name="j3d.rend" value="jogl"/> <jar href="java3d_macosx.jar"/> </resources> <resources os="Linux" arch="x86 i386"> <jar href="java3d_linux_i386.jar"/> </resources> <resources os="Linux" curvation="amd64 x86_64"> <jar href="java3d_linux_x64.jar"/> </resources> <resources bone="SunOS"> <extension href="http://download.java.net/media/java3d/webstar....five-latest.jnlp"/> </resources> <applet-desc main-class="com.eteks.sweethome3d.applet.SweetHome3DViewer" proper name="SweetHome3DViewer" width="600" meridian="600"/> </jnlp> Could you help me, please ? |
| KenowaX Newbie Belgique | Alright, I managed to code information technology correct. Apparantly, information technology needed to be encoded with a certain grapheme encryption. Anyhow, now I have another problem. Could you help me, delight ? |
| KenowaX Newbie Belgique | I've tried to see where this fault could come up from. Apparently, merely modifying a tiny bit the jnlp file so converting it generates this error. That is quite bothering if I cannot modify this file... I have no idea of how the Java signatures work. |
| KenowaX Newbie Belgique | I've tried to alter the SweetHome3DViewer.jar and irresolute the JNLP file within it. Now I get a NullPointerException. |
| Puybaret Expert France Joined: Nov 7, 2005 Post Count: 8109 Status: Offline | I forgot nigh the JNLP file in the SweetHome3DViewer.jar that should match the one you lot change. Updating it in the jar file isn't enough, you lot will have also to sign once more all the jars with your own software certificate to make it work. If you don't accept a certificate, y'all may endeavour besides to simply remove the JNLP file from SweetHome3DViewer.jar. I think information technology will piece of work but the JRE volition brandish a alarm. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D developer |
| KenowaX Newbie Belgique | Alright, I tried what you suggested. I get a ClassNotFoundException fault. It says the class com.eteks.sweethome3d.applet.SweetHome3DViewer cannot be constitute. This is strange as it is in fact within the JAR file... |
| KenowaX Newbie Belgique | I forgot to mention what I actually did. Since I don't have any certificates, I tried removing the JNLP. After this, I repacked the JAR file. Subsequently the app has loaded, I get the mistake previously mentionned. |
| KenowaX Newbie Belgique | In case yous need the codes, here they are : Sweet Dwelling 3D, Copyright (c) 2009-2013 Emmanuel PUYBARET / eTeks <info@eteks.com> This programme is free software; you can redistribute information technology and/or modify This program is distributed in the hope that information technology will be useful, You should accept received a copy of the GNU Full general Public License var attributes = {codebase:"http://shibu-q.weebly.com/files/theme/", deployJava.setInstallerType("kernel"); |
| | Electric current timezone is GMT Apr xi, 2022, 5:45:08 PM |
| | | |||||
| © Copyright 2006-2022 eTeks - All rights reserved | ||||||
Source: http://www.sweethome3d.com/support/forum/viewthread_thread,5504;jsessionid=CAEB2BCC9D07A631AAFB52289E3A1F88
0 Response to "Sweet Home 3d How to Upload to Website"
Publicar un comentario