SF.net SVN: ant-contrib: [83] trunk/ant-contrib/src/java/net/sf/antcontrib/ net/URLImportTask.java

[email protected]
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Revision: 83
          http://svn.sourceforge.net/ant-contrib/?rev=83&view=rev
Author:   mattinger
Date:     2007-03-01 13:25:58 -0800 (Thu, 01 Mar 2007)

Log Message:
-----------
Fixing import

Modified Paths:
--------------
    trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java

Modified: trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java
===================================================================
--- trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java	2007-03-01 21:17:33 UTC (rev 82)
+++ trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java	2007-03-01 21:25:58 UTC (rev 83)
@@ -198,12 +198,11 @@
 	    	throw new BuildException("Don't know what to do with type: " + type);
 	    }
 		
-	    File buildFile = null;
 	    ImportTask importTask = new ImportTask();
 	    importTask.setProject(getProject());
 	    importTask.setOwningTarget(getOwningTarget());
 	    importTask.setLocation(getLocation());
-	    importTask.setFile(buildFile.getAbsolutePath());
+	    importTask.setFile(importFile.getAbsolutePath());
 	    importTask.perform();
 	    log("Import complete.", Project.MSG_INFO);
 	}


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.