Re: complex signing logic in signjar

2005-03-23 Thread Steve Loughran
Erik Hatcher wrote: It's becoming more and more used. Several projects I've been involved in that use WebStart use . Erik we use it here too; the changes I am making are initially to simplify our life for bulk operations, before I get into the real problem of using it in to validate downl

Re: complex signing logic in signjar

2005-03-22 Thread Erik Hatcher
It's becoming more and more used. Several projects I've been involved in that use WebStart use . Erik On Mar 22, 2005, at 11:18 AM, Steve Loughran wrote: Stefan Bodewig wrote: Steve, I think signjar is one of the least used tasks in Ant. IIRC we even shipped a version of Ant where signj

Re: complex signing logic in signjar

2005-03-22 Thread Steve Loughran
Stefan Bodewig wrote: Steve, I think signjar is one of the least used tasks in Ant. IIRC we even shipped a version of Ant where signjar didn't work at all (I think Ant 1.2) and it took quite some time until anybody complained. Methinks it is kind of underused from the command line too, else the b

Re: complex signing logic in signjar

2005-03-22 Thread Steve Loughran
Stefan Bodewig wrote: On Tue, 22 Mar 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: -no source file: out of date -source==dest: false or check signature -else: check timestamp maybe if the timestamp check says the destfile is newer than (or as new as) the source then check the signature as well?

Re: complex signing logic in signjar

2005-03-22 Thread Stefan Bodewig
On Tue, 22 Mar 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: > -no source file: out of date > -source==dest: false or check signature > -else: check timestamp maybe if the timestamp check says the destfile is newer than (or as new as) the source then check the signature as well? Stefan --

Re: complex signing logic in signjar

2005-03-22 Thread Steve Loughran
Steve Loughran wrote: I am reworking signjar to do filesets with dest dirs, and the dependency logic is causing trouble: protected boolean isUpToDate(File jarFile, File signedjarFile) { if (null == jarFile) { return false; } if (null != signedjarFile) {

Re: complex signing logic in signjar

2005-03-22 Thread Steve Loughran
Stefan Bodewig wrote: Steve, I think signjar is one of the least used tasks in Ant. IIRC we even shipped a version of Ant where signjar didn't work at all (I think Ant 1.2) and it took quite some time until anybody complained. On Tue, 22 Mar 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: Why don

Re: complex signing logic in signjar

2005-03-22 Thread Stefan Bodewig
Steve, I think signjar is one of the least used tasks in Ant. IIRC we even shipped a version of Ant where signjar didn't work at all (I think Ant 1.2) and it took quite some time until anybody complained. On Tue, 22 Mar 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: > Why dont we do an isSigne

complex signing logic in signjar

2005-03-22 Thread Steve Loughran
I am reworking signjar to do filesets with dest dirs, and the dependency logic is causing trouble: protected boolean isUpToDate(File jarFile, File signedjarFile) { if (null == jarFile) { return false; } if (null != signedjarFile) { if (!jarFile.