[Building Sakai] samigo audio signing in 2.9

Thomas Amsler tpamsler at ucdavis.edu
Tue Aug 7 10:45:46 PDT 2012


On Mac OS X (Oracle JDK), the jarsigner is located in:

/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/

So you have to adjust the path so that it doesn't pickup "/usr/bin/jarsigner".

-- Thomas

On Tue, Aug 7, 2012 at 10:36 AM, Matthew Jones <matthew at longsight.com> wrote:
> I've not had a problem on Linux, there is a jar signer there.
>
> Did you use the Oracle JDK or some other one?
> http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html
>
> Is there a jarsigner in
> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner
> or somewhere else in that path? I wonder why it's looking in the jre/bin
> directory under that subdirectory? In the jre/bin there is no jarsigner for
> me, it's just in bin.
>
> Perhaps the plugin that does this in samigo-audio/pom.xml needs to be
> updated to maven-jarsigner-plugin?
> https://maven.apache.org/plugins/maven-jarsigner-plugin/sign-mojo.html
>
> The previous method of using maven-jar-plugin with a sign goal is
> deprecated.
>
> On Tue, Aug 7, 2012 at 12:38 PM, John Bush <john.bush at rsmart.com> wrote:
>>
>> Has anyone tried to sign the samigo audio jar in 2.9 or trunk with
>> java 7 ?  I'm not sure if this is a mac specific thing, or something
>> with the plugin and java 7 perhaps.
>>
>> [debug] jarsigner
>>
>> executable=[/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner]
>> [debug] Executing: /bin/sh -c "cd
>> /Users/jbush/Dev/projects/sam_trunk/samigo-audio &&
>>
>> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner
>> -verify
>> /Users/jbush/Dev/projects/sam_trunk/samigo-audio/target/samigo-audio-2.10-SNAPSHOT.jar"
>> [warn] /bin/sh:
>>
>> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner:
>> No such file or directory
>>
>>
>> --
>> John Bush
>> 602-490-0470
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"


More information about the sakai-dev mailing list