cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r405576 - /incubator/cayenne/main/trunk/cayenne/cayenne-other/src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/DocGenTask.java
Date Wed, 10 May 2006 00:42:28 GMT
Author: aadamchik
Date: Tue May  9 17:42:28 2006
New Revision: 405576

URL: http://svn.apache.org/viewcvs?rev=405576&view=rev
Log:
adding doc generation diagnostics message

Modified:
    incubator/cayenne/main/trunk/cayenne/cayenne-other/src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/DocGenTask.java

Modified: incubator/cayenne/main/trunk/cayenne/cayenne-other/src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/DocGenTask.java
URL: http://svn.apache.org/viewcvs/incubator/cayenne/main/trunk/cayenne/cayenne-other/src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/DocGenTask.java?rev=405576&r1=405575&r2=405576&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/cayenne/cayenne-other/src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/DocGenTask.java
(original)
+++ incubator/cayenne/main/trunk/cayenne/cayenne-other/src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/DocGenTask.java
Tue May  9 17:42:28 2006
@@ -57,7 +57,6 @@
 
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Task;
-import org.objectstyle.cayenne.util.Util;
 
 /**
  * Wraps DocGenerator in an ant task
@@ -66,7 +65,7 @@
  * @author Cris Daniluk
  */
 public class DocGenTask extends Task {
-    
+
     private String spaceKey;
     private String docBase;
     private String startPage;
@@ -77,6 +76,8 @@
     private String template;
 
     public void execute() {
+        log("Exporting space '" + spaceKey + "' to " + docBase);
+        
         try {
             new DocGenerator(spaceKey, docBase, startPage, username, password, template)
                     .generateDocs();
@@ -85,66 +86,52 @@
             throw new BuildException(e);
         }
     }
-    
+
     public String getDocBase() {
         return docBase;
     }
 
-    
     public void setDocBase(String docBase) {
         this.docBase = docBase;
     }
 
-    
     public String getPassword() {
         return password;
     }
 
-    
     public void setPassword(String password) {
         this.password = password;
     }
 
-    
     public String getSpaceKey() {
         return spaceKey;
     }
 
-    
     public void setSpaceKey(String spaceKey) {
         this.spaceKey = spaceKey;
     }
 
-    
     public String getStartPage() {
         return startPage;
     }
 
-    
     public void setStartPage(String startPage) {
         this.startPage = startPage;
     }
 
-    
     public String getTemplate() {
         return template;
     }
 
-    
     public void setTemplate(String template) {
         this.template = template;
     }
 
-    
     public String getUsername() {
         return username;
     }
 
-    
     public void setUsername(String username) {
         this.username = username;
     }
-
-    
-
 }



Mime
View raw message