[Building Sakai] Keystore not detecting in agora deployment

Gopal Patil patil.gopal.a at gmail.com
Wed Apr 22 01:00:53 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090422/d05a9218/attachment.html 


More information about the sakai-dev mailing list