ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb DDCreatorHelper.java
Date Tue, 07 Nov 2000 12:17:15 GMT
conor       00/11/07 04:17:14

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        DDCreatorHelper.java
  Log:
  Fix up date check on .ser files when the .txt input files are not in the
  root of the specified descriptor directory
  
  Submitted by:	Robert Lucier [rlucier@collabria.com]
  
  Revision  Changes    Path
  1.2       +2 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreatorHelper.java
  
  Index: DDCreatorHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DDCreatorHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DDCreatorHelper.java	2000/07/05 15:36:12	1.1
  +++ DDCreatorHelper.java	2000/11/07 12:17:13	1.2
  @@ -116,6 +116,8 @@
           for (int i = 0; i < descriptors.length; ++i) {
               String descriptorName = descriptors[i];
               File descriptorFile = new File(descriptorDirectory, descriptorName);
  +            // flatten the generated file so all go into the 
  +            descriptorName = descriptorFile.getName();
               int extIndex = descriptorName.lastIndexOf(".");
               String serName = null;
               if (extIndex != -1) {
  
  
  

Mime
View raw message