[Yanel-commits] rev 57566 - public/yanel/trunk/src/build/java/org/wyona/yanel/ant

michi at wyona.com michi at wyona.com
Tue Mar 29 15:21:28 CEST 2011


Author: michi
Date: 2011-03-29 15:21:27 +0200 (Tue, 29 Mar 2011)
New Revision: 57566

Modified:
   public/yanel/trunk/src/build/java/org/wyona/yanel/ant/AddRealmTask.java
Log:
add attributes

Modified: public/yanel/trunk/src/build/java/org/wyona/yanel/ant/AddRealmTask.java
===================================================================
--- public/yanel/trunk/src/build/java/org/wyona/yanel/ant/AddRealmTask.java	2011-03-29 13:18:58 UTC (rev 57565)
+++ public/yanel/trunk/src/build/java/org/wyona/yanel/ant/AddRealmTask.java	2011-03-29 13:21:27 UTC (rev 57566)
@@ -5,17 +5,28 @@
 
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Task;
+import org.apache.tools.ant.types.Path;
 
 /**
- *
+ * Add a third party realm to the local realm configuration
  */
 public class AddRealmTask extends Task {
 
+    private Path newRealmConfig;
+
     /**
      *
      */
     public void execute() throws BuildException {
         log("Not implemented yet!");
+        log("New (third party) realm configuration: " + newRealmConfig);
         //RealmManager rm = new RealmManager();
     }
+
+    /**
+     * Ant file task attribute new (third party) realm config
+     */
+    public void setNewRealmConfig(Path newRealmConfig) {
+        this.newRealmConfig = newRealmConfig;
+    }
 }



More information about the Yanel-commits mailing list