Following is our ant task that does the signing job for us,

    <target name="signjar">
        <jarsigner
            jar=""
            storetype="pkcs12"
            keystore="${certificate_location}"
            storepass="XYZZZZ"
            keypass="XYZZZZ"
            provider="com.sun.net.ssl.internal.ssl.Provider"
            alias="ABCSSADD">
            <fileset dir="${jarcreatedir}">
                <include name="*.jar"/>
            </fileset>
        </jarsigner>
    </target>

This task signs all jars under the directory ${jarcreatedir}.  We did play around a 
lot with netscape signing tool. However we finally 
got it working with JDK jarsigner and it works extremely well.

I hope this will be of some help,
Ganesh.





"Boro Nikic (QMP)" <[EMAIL PROTECTED]>

28-Aug-2002 09:17
Please respond to "Ant Users List" <[EMAIL PROTECTED]>

 
 

        To:     "'Ant Users List'"

        cc: 
        Subject:        RE: ANT 1.5 (fwd)

Can any one tell me why this target hangs on the last row of execution. 

signtool is Netscape's signing tool it asks for the password before 
completing signing and just before that it hangs.

Is there any other way to do this?

<target name="sign">
    <exec dir="." executable="cmd.exe">
        <arg line='/c signtool -k "key" -d . -Z "${jar_file}" 
"${source}"'/> 
    </exec>
</target>


//thanks

-----Original Message-----
From: Glenn A. McAllister [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 2:50 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: ANT 1.5 (fwd)



Your question would be better answered on the ant-user mailing list.  I'm 
affraid I know *nothing* about EJBs.

Glenn McAllister
SOMA Networks, Inc.


---------- Forwarded message ----------
Date: Wed, 28 Aug 2002 03:47:37 -0700 (PDT)
From: r abiram <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: ANT 1.5 

Hi,

Your Article on VAJ with ANT was really great it was
really usefull for our team 

I have one Query Hope You wont mind to give me
diffrent solution

Iam using ANT 1.5 with Websphere 4.0 for the EAR Task
and have written the build file as per given below
with refrence to the Doccument

this is the Part of the build file where I get the
Error is as such given below


<target name="EJBjar"  depends="compile"
description="To jar the Compiled Source" >
<ejbjar naming="descriptor"
descriptordir="${descriptordir}" srcdir="${buildDir}"
destdir="${srcDir}">
<!--<dtd location="${dd}"/>-->
<include name="Hello-Deploy.xml"/>
<include name="*.dtd"/>
<websphere dbvendor="DB2UDBWIN_V71" ejbdeploy="false"
oldCMP="false" tempdir="/tmp" destdir="${srcDir}"
dbVendor="DB2UDBWIN_V71"/> 
</ejbjar>
</target>

Here the Error  Output I get is 

************************************
BUILD FAILED
EJBjar.xml:31: The <ejbjar> task doesn't  support the
nested "websphere" element.
Total time: 0 seconds
**************************************


Thanks
R.Abiram


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Reply via email to