ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stacy J. Prowell" <sprow...@cs.utk.edu>
Subject setUserProperty() question
Date Fri, 18 Jan 2002 22:00:52 GMT
I want to set a property before I call a task's perform() method.  
Unfortunately, that doesn't seem to be working...

// Set the property.
project.setUserProperty(property, files[j]);

// Run the tasks.
Iterator tasks = nestedTasks.iterator();
while (tasks.hasNext()) {
    Task task = (Task) tasks.next();
    task.perform();
}

In the task, the user property foo is unset.

-- 
Dr. Stacy J. Prowell, Research Associate Professor
The University of Tennessee, Dept. of Computer Science
mailto:sprowell@cs.utk.edu

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message