[Building Sakai] Keystore not detecting in agora deployment

Adrian Fish a.fish at lancaster.ac.uk
Wed Apr 22 03:34:39 PDT 2009


Hi Gopal,

I also have this after my profiles block in settings.xml:

<activeProfiles>
        <activeProfile>setup-signing-parameters</activeProfile>
    </activeProfiles>

Try that instead of:
 
<activation>
     <activeByDefault/>
</activation>

Everything looks okay to me apart from that, so apart from doing a 
paraniod check of all your file paths I can't think of a great deal 
else. Tell me how you get on.

Cheers,

Adrian.

Gopal Patil wrote:
> Hello All, 
>
> I setup all parameters as per the building.txt  from agora tool.
> and also tried keytool-maven-plugin but i got stuck to following error.
> and when i create a new alias with old alias name again then it shows
> "Key pair not generated, alias <mykey> already exists"
> It means i have created keygen successfuly.
>
> I think it is not detecting .ketstore settings. 
> please find exception and my setting.xml
>
> please reply as i got stuck to this prob. as it may be a common one 
> but  for me its ..........!
> -------------------------------Exception------START----------------------------------------
> .
>  
>      [copy] Copying 1 file to 
> D:\work\Sakai\FreezedCode\sakai_2-5-x\agora\tool\tool\m2-target\sakai-conferencing-tool-M2
>      [copy] Copying 1 file to 
> D:\work\Sakai\FreezedCode\sakai_2-5-x\agora\tool\tool\m2-target\sakai-conferencing-tool-M2
>   [signjar] Signing JAR: 
> D:\work\Sakai\FreezedCode\sakai_2-5-x\agora\tool\tool\m2-target\sakai-conferencing-tool-M2\agora-cli
> ent-1.0.jar to 
> D:\work\Sakai\FreezedCode\sakai_2-5-x\agora\tool\tool\m2-target\sakai-conferencing-tool-M2\agora-client-1.0.ja
> r as ${keystore.alias}
>   [signjar] jarsigner error: java.lang.RuntimeException: keystore 
> load: D:\work\Sakai\FreezedCode\sakai_2-5-x\agora\tool\tool
> \${keystore} (The system cannot find the file specified)
>   [signjar] Enter Passphrase for keystore:
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: jarsigner returned: 1
>
> .
> .
>
> .
> ---------------------------------Exception------------------End-----------------------------
>
>
> This is my setting.xml  file inside .m2
> -----------------------------------------------------------------------------------------------------
> <settings xmlns="http://maven.apache.org/POM/4.0.0"
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>                       http://maven.apache.org/xsd/settings-1.0.0.xsd">
>   <profiles>
>    
>      <profile>
>          <id>setup-signing-parameters</id>
>          <activation>
>                 <activeByDefault/>
>             </activation>
>          <properties>         
>           <!-- These are required -->
>           <keystore>C:\Documents and Settings\user1\.keystore</keystore>
>          <keystore.alias>myalias</keystore.alias>
>          
>             </properties>
>      </profile>
>     </profiles>
> </settings>
>
> ----------------------------------------------------------------------------------------------------
>
>
> Regards,
> Gopal
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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"

-- 
==================================
Adrian Fish
Software Engineer
Centre for e-Science
Bowland Tower South C Floor
Lancaster University
Lancaster
LA1 4YW

email: a.fish at lancaster.ac.uk
web:   http://agora.lancs.ac.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: a_fish.vcf
Type: text/x-vcard
Size: 314 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090422/2944a49a/attachment.vcf 


More information about the sakai-dev mailing list