If I understand correctly, signtool prompts you for a password, right? You
cannot interact with Java program when started from Ant, since that program
waits on System.in, which is never fed any characters, thus hangs.

If signtool can take the password on the command line, you could use the new
<input> from Ant 1.5 to ask for the password before-hand, and pass it on to
signtool on its command line. If signtool doesn't allow that, then you're
out of luck... sorry, --DD

-----Original Message-----
From: Boro Nikic (QMP) [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 28, 2002 11:56 PM
To: 'Ant Users List'
Subject: problem with exec task

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: Boro Nikic (QMP) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 3:18 PM
To: 'Ant Users List'
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]>

--
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