ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: creating Project from build.xml does not load the property tag ???
Date Tue, 29 Oct 2002 07:49:56 GMT
On Tue, 29 Oct 2002, Olivier De Wolf <odwl@skynet.be> wrote:

> Project project = new Project();
> ProjectHelper.configureProject(project, new File("build.xml"));
> project.init();
> project.executeTarget("myDefault");

You must place the call to init in front of the configureProject line
as this init call will load all task definitions.

Stefan

--
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