ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Hoppe <ho...@sitewaerts.de>
Subject [Patch] Cosmetic change in SignJar task
Date Tue, 11 Sep 2001 18:01:04 GMT
Hi,

SignJar displays a message like 

 [signjar] Signing Jar : C:\dev\hoppe\fbs3\temp\fbs_cc_ice_wl61.jar

when signing a Jar. The path in this message does not display correctly when
I pass a file with a path relative to the project basedir. This change fixes
that for me on Win2K. Could someone with experience on the other OSs' see if
this is likely to cause any harm there?

diff -r1.8 SignJar.java
252c252,254
<         log("Signing Jar : " + (new File(jarSource)).getAbsolutePath());
---
>         log("Signing Jar : " + (new
File(project.getBaseDir().getAbsolutePath()
>           + File.separator
>           + jarSource)).getAbsolutePath());


Cheers,

Daniel

<<<<<<<<<<<<<<<<<<<<<<<<<<<
sitewaerts GmbH
Hebelstra├če 15
D-76133 Karlsruhe

Tel: +49 (721) 920 918 0
Fax: +49 (721) 920 918 29
http://www.sitewaerts.de
>>>>>>>>>>>>>>>>>>>>>>>>>>>



Mime
View raw message