https://issues.apache.org/bugzilla/show_bug.cgi?id=52608

             Bug #: 52608
           Summary: Project.createDataType(String) arguments
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Currently Project.createDataType takes a string as an argument. For example:
assuming we have our antlib.xml located under the package:
org.ant.plugins and within that antlib.xml we defined a type called "myType"

then creating a default object of this would be like:

getProject().createDataType("antlib:org.ant.plugin:myType"). 

It will be easier to do : createDataType(full.class.name.of.myType).

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

Reply via email to