ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs SignJar.java
Date Thu, 16 Jan 2003 11:17:14 GMT
conor       2003/01/16 03:17:13

  Modified:    src/main/org/apache/tools/ant/taskdefs SignJar.java
  Log:
  Search for jarsigner in JAVA_HOME using standard JDK tool search
  (JavaEnvUtils is cool)
  PR:	11175
  
  Revision  Changes    Path
  1.27      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java
  
  Index: SignJar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -w -u -r1.26 -r1.27
  --- SignJar.java	16 Jan 2003 11:09:43 -0000	1.26
  +++ SignJar.java	16 Jan 2003 11:17:13 -0000	1.27
  @@ -280,7 +280,7 @@
           }
   
           final ExecTask cmd = (ExecTask) getProject().createTask("exec");
  -        cmd.setExecutable("jarsigner");
  +        cmd.setExecutable(JavaEnvUtils.getJdkExecutable("jarsigner"));
   
           if (maxMemory != null) {
               cmd.createArg().setValue("-J-Xmx" + maxMemory);
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message