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 52608] Project.createDataType(String) arguments
Date Tue, 07 Feb 2012 06:20:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52608

Mansour <mansour.alakeel@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Mansour <mansour.alakeel@gmail.com> 2012-02-07 06:20:18 UTC ---
Stefan,

I was trying to write a proxy for some datatype, that will create another
datatype based on the configuration.
For example, a datatype called Artifact.java that will create another datatypes
based on the information passed (jar,war, ejb ... etc). 

Therefor, I requested this feature. However, I refactored some of my code, and
it turned out that I don't really need this. On the other hand, I believe it
can be done easily using reflection and newInstance. (ie, 

MyDataType dataType = (MyDataType) obj;
dataType.setProject(aProject);

I think we can ignore this request, and close it.

Thank you.

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