ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49659] Project.getReference(key) no longer returns certain references
Date Tue, 10 Aug 2010 14:26:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49659

--- Comment #2 from Michael Rennie <michael_rennie@ca.ibm.com> 2010-08-10 10:26:12 EDT
---
(In reply to comment #1)
> I'm not sure how you are getting your project instance.  What has been done by
> Ant before you try to look up "project.class.path"?

We have a subclass of Project - AntModelProject - that allows us to hook into
getting user properties and knowing when a build is done. When we create our
project instance we simply call Project.init() on it, set a few system
properties and set some custom tasks and types using ComponentHelper.

Ant handles the parsing of the buildfile, although we do have some logic to try
optionally configuring Task nodes after parse, but this also no longer works
for the same reason mentioned above. We do have our own copy of ProjectHelper,
but 99% of the code in it is a direct copy from Ant with a few additional hooks
for us.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message