--- T E Schmitz <[EMAIL PROTECTED]> wrote: > Hello Ivan, > Thank you for your help. > > > Touch and the script below worked a treat! > Maybe we should also mention for people searching > the archive that the > following libraries need to be in Ant's classpath: > > Jakarta BSF 2.3.0 > Rhino 1.5R3 > ---------------------- It has already been mentioned several times in the list and in the documentation (Library Dependencies section).
> > I'm still looking to find out if you can determine > whether a jar file is > already signed or not. I had not idea how to do it. All I can tell is that I keep thridy party jars and the jars which I build in separate folders so when I want to sign my jars they are not mixed with the third party ones. > I had a look at the commandline tool jarsigner. But > that comes back with > "jarsigner: java.lang.IllegalStateException: zip > file closed" when there > is no signature. > > > > --- Ivan Ivanov <[EMAIL PROTECTED]> > wrote: > > > >>to get the file modified date you can use > something > >>like this: > >> > >><project> > >> > >> <scriptdef name="getlm" > language="javascript"> > >> .... > >> </scriptdef> > >> > >></project> > >> > > >>I borrowed the above script from a previous thread > >>in > >>ant's mailing list called Ant Get FileSize using > >>exec?. You can see it for the original source. > > I had seen the original script but somehow I didn't > put 1+1 together. > Never used the option al tasks before ;-) > > > >>--- T E Schmitz <[EMAIL PROTECTED]> > >>wrote: > >> > >> > >>>a) Is there a means of determining which jars are > >>>signed with the > >>>purpose of building an exclude list? > >>> > >>>b) I would like the signed jar to bear the same > >>>modification date as the > >>>original. I can't see any means of obtaining a > >>>file's modification date > >>>in order to touch the new file with it. > > > -- > > > Regards/Gru�, > > Tarlika Elisabeth Schmitz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
