You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Sayatovic, Brian" <Br...@divine.com> on 2002/04/30 16:43:40 UTC
Signjar for multiple jars
I have a couple of directories containing jars, all of which I'd like to sign:
<project>/lib/<project>.jar
<project>/deploy/*.jar
The first one is easy, btu I can't seem to get signjar to work with the whole ste of jars I need it to sign. Its as if signjar doesn't accept filesets. How can I do this?
Here's my current XML:
<target name="sign" depends="jar">
<echo>Sign...</echo>
<signjar
alias="MyKey"
storepass="african or european"
keystore="${build.dir}/.keystore"
verbose="true"
>
<fileset dir="${build.dir}">
<patternset>
<include name="${lib.dir}/*.jar"/>
<include name="${deploy.dir}/*.jar"/>
</patternset>
</fileset>
</signjar>
<echo>Sign Done.</echo>
</target>
Regards,
Brian.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Signjar for multiple jars
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 30 Apr 2002, Brian Sayatovic <Br...@divine.com>
wrote:
> Here's my current XML:
How does the definition of lib.dir and deploy.dir look like?
The patterns are supposed to be relative to ${build.dir}, i.e. you
don't get any matches if ${lib.dir} is an absolute path and already
contains ${build.dir}.
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Signjar for multiple jars
Posted by Diane Holt <ho...@yahoo.com>.
--- "Sayatovic, Brian" <Br...@divine.com> wrote:
> I have a couple of directories containing jars, all of which I'd like to
> sign:
>
> <project>/lib/<project>.jar
> <project>/deploy/*.jar
>
> The first one is easy, btu I can't seem to get signjar to work with the
> whole ste of jars I need it to sign. Its as if signjar doesn't accept
> filesets. How can I do this?
See:
http://marc.theaimsgroup.com/?l=ant-user&m=101884984230706&w=2
Diane
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>