ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Stewart" <MStew...@mgtplc.com>
Subject Re: Can zip task to create a zip archive with password?
Date Wed, 16 Apr 2008 08:49:30 GMT
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.


>>> cychau@gmail.com 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: user-unsubscribe@ant.apache.org 
For additional commands, e-mail: user-help@ant.apache.org 


-- 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message