Re: Create custom datatype programmatically

2012-02-05 Thread Mansour Al Akeel
I use the name space "current" as in the example I read. However adding the namespace to the argument of createDataType, worked as expected. Thank you Stefan. On Sun, Feb 5, 2012 at 12:17 AM, Stefan Bodewig wrote: > On 2012-02-04, Mansour Al Akeel wrote: > > > In the class org.apache.tools.ant

Re: Create custom datatype programmatically

2012-02-04 Thread Stefan Bodewig
On 2012-02-04, Mansour Al Akeel wrote: > In the class org.apache.tools.ant.Project, theres a method called > createDataType(String str). > The string argument, is the name of the type to be created. More specifically, if the type lives in a Namespace it has to be "namespace-URI:type-name". > 1-