Not that I could find as zip doesn't have a command line argument for
passwords (unless you buy the enterprise version) but you can download
Alzip from http://www.altools.com/Downloads/ALZip.aspx and use a command
like 

<exec executable="alzip" > <arg value="-a"/> <arg value="-af"/> <arg
value="-an*.class"/> <arg value="-pPassword"/> <arg value="path,path2"
/> <arg value=${release.zip}"/>
</exec>

which has a command line which accepts a password with the -p switch.


Mike S.


>>> [EMAIL PROTECTED] 16/04/2008 09:36:47 >>>
Hi,

I have read everything about zip task but find no way to create
password protected zip archive.  Is there possible to do so with zip
task?

-- 
Best regards,
Chau Chee Yang

E Stream Software Sdn Bhd
URL: www.sql.com.my 
SQL Financial Accounting

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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

Reply via email to