Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 181 → Rev 83

/xservices/trunk/src/java/net/brutex/xservices/util/RunTask.java
19,7 → 19,6
import java.io.PrintStream;
import java.util.HashMap;
import java.util.Map;
 
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.AntProperty;
 
81,14 → 80,14
*/
public ReturnCode postTask() throws BuildException {
int returnCode = 0;
Map<String, Object> origMap = new HashMap<String, Object>();
Map<String, Object> newMap = null;
Map<String, String> origMap = new HashMap<String, String>();
Map<String, String> newMap = null;
origMap.putAll(antproject.getProperties());
antproject.executeTarget(anttarget.getName());
newMap = antproject.getProperties();
newMap.putAll(antproject.getUserProperties());
for (Map.Entry<String, Object> e : origMap.entrySet()) {
for (Map.Entry<String, String> e : origMap.entrySet()) {
newMap.remove(e.getKey());
}