Revision: 94
http://svn.sourceforge.net/ant-contrib/?rev=94&view=rev
Author: mattinger
Date: 2007-03-06 10:45:08 -0800 (Tue, 06 Mar 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntCallBack.java
trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntFetch.java
Modified: trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntCallBack.java
===================================================================
--- trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntCallBack.java 2007-03-06 18:42:42 UTC (rev 93)
+++ trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntCallBack.java 2007-03-06 18:45:08 UTC (rev 94)
@@ -19,7 +19,7 @@
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
-import org.apache.tools.ant.taskdefs.Ant;
+import org.apache.tools.ant.taskdefs.CallTarget;
import org.apache.tools.ant.taskdefs.Property;
/**
@@ -32,7 +32,7 @@
* @author inger
* @author Dale Anson, [email protected]
*/
-public class AntCallBack extends Ant {
+public class AntCallBack extends CallTarget {
/** the name of the property to fetch from the new project */
private String returnName = null;
@@ -42,7 +42,6 @@
public void setProject(Project realProject) {
fakeProject = new ProjectDelegate(realProject);
super.setProject(fakeProject);
- setAntfile(realProject.getProperty("ant.file"));
}
/**
@@ -83,10 +82,6 @@
*/
public void setReturn( String r ) {
returnName = r;
- }
-
- public Property createParam() {
- return super.createProperty();
- }
+ }
}
Modified: trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntFetch.java
===================================================================
--- trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntFetch.java 2007-03-06 18:42:42 UTC (rev 93)
+++ trunk/ant-contrib/src/java/net/sf/antcontrib/logic/AntFetch.java 2007-03-06 18:45:08 UTC (rev 94)
@@ -32,7 +32,7 @@
* @author inger
* @author Dale Anson, [email protected]
*/
-public class AntFetch extends CallTarget {
+public class AntFetch extends Ant {
/** the name of the property to fetch from the new project */
private String returnName = null;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.