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] New: Project.createDataType(String) arguments
Date Sun, 05 Feb 2012 22:25:48 GMT
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: notifications@ant.apache.org
        ReportedBy: mansour.alakeel@gmail.com
    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.

Mime
View raw message