Re: [greenstone-devel] modifying the gli applet]

From ruben pandolfi
DateWed, 22 Nov 2006 09:10:03 +0100
Subject Re: [greenstone-devel] modifying the gli applet]
In-Reply-To (51334-142-66-56-237-1164126950-squirrel-webmail-uleth-ca)
Thank you Wendy,

I have Java 1.5 on my local PC and no problem arise, might be something
else ....

looks like this is the error that prevent new recompilation:

jarsigner: unable to open jar file: GLI.jar

any help?

thank you

ruben


Wendy Osborn ha scritto:
> Hi Ruben,
>
> We use FC5. Not sure how the GLI would compile with Java 1.5, but with
> Java 1.4.2 we had no problems.
>
> Later!
>
> Wendy
>
> --
> "Masquerading as a normal person day after day is exhausting" - Anonymous
>
> Wendy Osborn
> Southern Alberta Digital Library
> http://www.sadl.uleth.ca/
> --
>
> On Tue, November 21, 2006 12:37 am, ruben pandolfi wrote:
>> Katherine Don ha scritto:
>>> Hi Ruben
>>>
>>> To recompile GLI, run makegli.sh/bat in the greenstone/gli directory.
>>> Then create the jar file by running makejar.sh/bat.
>>> Then follow the second 1-3 instructions on
>>> http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/west-yorkshire/remote-greenstone.html
>>> about creating the signed applet (which you would have done before to
>>> get the applet working in the first place).
>>>
>>> Cheers,
>>> Katherine
>> Thank You Katherine,
>>
>> I did it and everything worked OK on my local Ubuntu, but fails on
>> remote Fedora:
>>
>> ./makegli.sh
>>
>> Greenstone Librarian Interface (GLI)
>> Copyright (C) 2006, New Zealand Digital Library Project, University Of
>> Waikato
>> GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
>> This is free software, and you are welcome to redistribute it
>>
>> Checking Javac: /usr/java/jdk1.5.0_02/bin/javac
>>
>> Removing the Greenstone Librarian Interface class files...
>> Done!
>>
>> Compiling the Greenstone Librarian Interface...
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> Note: src/org/greenstone/gatherer/gems/GEMS.java uses unchecked or
>> unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> Done!
>>
>> ..................................................
>>
>> but:
>>
>>
>> [morin@www02 gli]$ ./makejar.sh
>> Assuming that Java code is freshly compiled...
>> com: No such file or directory
>> Error adding com (in directory jar) to jar archive!
>>
>>
>> ..................................................
>>
>> and
>>
>> keytool -genkey -alias privateKey -keystore appletstore -storepass
>> greenstone
>> keytool error: java.lang.Exception: Key pair not generated, alias
>> <privateKey> already exists
>>
>> [morin@www02 gli]$ jarsigner -keystore appletstore -signedjar
>> SignedGatherer.jar GLI.jar privateKey
>> Enter Passphrase for keystore: greenstone
>> jarsigner: unable to open jar file: GLI.jar
>>
>>
>>
>> ..................................................
>>
>>
>> so I could not generate SignedGatherer.jar ...
>>
>> Looks like the applet is still working but no changes took place.
>>
>> Any Ideas?
>>
>> Thank you
>>
>> Ruben
>>
>> ..................................................
>>
>> java -version
>> java version "1.5.0_02"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
>> Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
>> [morin@www02 gli]$ uname -a
>> Linux 2.6.11-1.27_FC3 #1 Tue May 17 20:27:37 EDT 2005 i686 i686 i386
>> GNU/Linux
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> ..................
>> ..................
>>
>> Ruben Pandolfi
>>
>> -------------------------------------------------------------
>> "...I Think This is the Beginning of a Beautiful Friendship."
>> -------------------------------------------------------------
>>
>>
>> --
>>
>> ..................
>> ..................
>>
>> Ruben Pandolfi
>>
>> -------------------------------------------------------------
>> "...I Think This is the Beginning of a Beautiful Friendship."
>> -------------------------------------------------------------
>>
>> _______________________________________________
>> greenstone-devel mailing list
>> greenstone-devel@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>>
>
>
>
>
>


--

..................
..................

Ruben Pandolfi

-------------------------------------------------------------
"...I Think This is the Beginning of a Beautiful Friendship."
-------------------------------------------------------------