| Home | About | Account | Forums | Games |
| Guest | Login |
|
Index
| Recent Threads
| Register
| Search
| Help
| |
![]() |
Forums » List all forums » Forum: Tutorials and Help » Thread: digest.txt.sig problem |
|
Thread Status: Normal Forum Status: Locked Total posts in this thread: 10 |
[Add To My Favorites] [Watch this Thread] |
| Author |
|
|
aderal123
Stranger
|
Hi! I use Getdown I config everythin and when I try to lunch it I get that error:
Can someone can help me witch this ?? Its very important. |
|||
|
|
mdb
Advanced Member Joined: May 7, 2002 Posts: 282 Status: Offline |
If you are using Getdown as an applet, you need to generate a signature file which binds your signed applet to a particular application URL otherwise someone could use your signed Getdown applet to download and install their own software while impersonating yourself or your company. That would be bad. :) When you invoke the digester to generate your digest.txt file, you need to pass information about the same keystore you use to sign the getdown applet .jar file. For example: <taskdef name="digest" classname="com.threerings.getdown.tools.DigesterTask">In this case:
|
||
|
|
aderal123
Stranger
|
Ok, and whar ant code schould I use to generate digest.txt ?? I generated it by hand :) |
||
|
|
mdb
Advanced Member Joined: May 7, 2002 Posts: 282 Status: Offline |
The code I showed you above will generate the digest.txt file *and* the digest.txt.sig file. |
||
|
|
aderal123
Stranger
|
Eclips tell me that the com.threerings.getdown.tools.DigesterTask class cannot be found. This is my ant code:
Whats wrong ?? |
||
|
|
aderal123
Stranger
|
When I use code like this gives me the same error.
|
||
|
|
mdb
Advanced Member Joined: May 7, 2002 Posts: 282 Status: Offline |
The jar files in the classpath section need to actually point to real jar files. So make sure those jar files exist at the paths that are specified. ---------------------------------------- [Edit 1 times, last edit by mdb at May 18, 2008 2:47:18 AM] |
||
|
|
aderal123
Stranger
|
Here on my hard disk I have whole getdown script: C:\Documents and Settings\MARCIN\projekty\Projekty jME\getdown How schould I write the paths in my ant script (getdown-retro-pro.jar and getdown-pro.jar are iC:\Documents and Settings\MARCIN\projekty\Projekty jME\getdown\lib the same as commons-codec.jar and samskivert.jar) TIA |
||
|
|
mdb
Advanced Member Joined: May 7, 2002 Posts: 282 Status: Offline |
Make a "lib" directory in the same directory that you have your build.xml file. Then copy into that lib directory the commons-codec.jar, getdown-retro-pro.jar and samskivert.jar files from the other getdown directory on your harddrive. Then change the build script to use: <pathelement path="lib/commons-codec.jar"/>and it should find the jar files that it needs to generate the digest.txt file. |
||
|
|
aderal123
Stranger
|
Still the same error. :( Maybe I have somethink wrong with this 3 files.... |
||
|
| [Show Printable Version of Thread] |
| Powered by mvnForum 1.1 dev (Build: 15 April 2006) - Copyright © 2002-2006 by MyVietnam.net |
