Update of /cvsroot/xdoclet/xdoclet2/xrai/src/java/xdoclet/xrai/ant
In directory usw-pr-cvs1:/tmp/cvs-serv429/src/java/xdoclet/xrai/ant

Modified Files:
        AttributeSerializerTask.java 
Log Message:
"comipled" is bad choice to variable names and methods - 
but automatic code completion rules :)


Index: AttributeSerializerTask.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet2/xrai/src/java/xdoclet/xrai/ant/AttributeSerializerTask.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** AttributeSerializerTask.java        11 Nov 2002 20:51:50 -0000      1.1
--- AttributeSerializerTask.java        12 Nov 2002 19:10:11 -0000      1.2
***************
*** 27,31 ****
  
      private final LinkedList fileSets = new LinkedList();
!     private File comipledClassesDir;
  
      private String serializerClassName = DEFAULT_ATTRIBUTE_SERIALIZER_CLASS_NAME;
--- 27,31 ----
  
      private final LinkedList fileSets = new LinkedList();
!     private File compiledClassesDir;
  
      private String serializerClassName = DEFAULT_ATTRIBUTE_SERIALIZER_CLASS_NAME;
***************
*** 42,53 ****
      }
  
!     public File getComipledClassesDir()
      {
!         return comipledClassesDir;
      }
  
!     public void setComipledClassesDir( File comipledClassesDir )
      {
!         this.comipledClassesDir = comipledClassesDir;
      }
  
--- 42,53 ----
      }
  
!     public File getCompiledClassesDir()
      {
!         return compiledClassesDir;
      }
  
!     public void setCompiledClassesDir( File compiledClassesDir )
      {
!         this.compiledClassesDir = compiledClassesDir;
      }
  
***************
*** 108,112 ****
              //hardcoded for now, will be abstract later
              DefaultAttributeSerializationContext context = new 
DefaultAttributeSerializationContext();
!             context.setDestDir(comipledClassesDir);
  
              for( int i = 0; i < to_be_processed_files.size(); i++ ) {
--- 108,112 ----
              //hardcoded for now, will be abstract later
              DefaultAttributeSerializationContext context = new 
DefaultAttributeSerializationContext();
!             context.setDestDir(compiledClassesDir);
  
              for( int i = 0; i < to_be_processed_files.size(); i++ ) {
***************
*** 143,149 ****
                  File class_file = new File( fs.getDir(project), file_str );
  
!                 if( getComipledClassesDir() != null ) {
                      File compiled_class_file =
!                             new File( getComipledClassesDir(), file_str.substring( 
0, file_str.length() - 4 ) + "java" );
  
                      if( compiled_class_file.exists()==false || 
class_file.lastModified() < compiled_class_file.lastModified() ) {
--- 143,149 ----
                  File class_file = new File( fs.getDir(project), file_str );
  
!                 if( getCompiledClassesDir() != null ) {
                      File compiled_class_file =
!                             new File( getCompiledClassesDir(), file_str.substring( 
0, file_str.length() - 4 ) + "java" );
  
                      if( compiled_class_file.exists()==false || 
class_file.lastModified() < compiled_class_file.lastModified() ) {



-------------------------------------------------------
This sf.net email is sponsored by: 
To learn the basics of securing your web site with SSL, 
click here to get a FREE TRIAL of a Thawte Server Certificate: 
http://www.gothawte.com/rd522.html
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to