I was thinking of having another attribute (like antlib="antlib:org.smartfrog.tools.ant")
to set the uri and resource.

It may be a good idea however to do this by default with just the uri attribute - if the user has not
specified the resource/filename.

Peter

Steve Loughran wrote:


Why do you have to repeat the full path to an antlib in <typedef>, when declaring into an antlib url.

surely this should be sufficient

        <typedef
          uri="antlib:org.smarfrog.tools.ant"
          classpathref="smartfrog.tasks.classpath"
          onerror="failall"
      />

I think if we have special handling of antlib namespaces, typedef ought to adopt that same logic, and get the path to the resource from the URI, if it is an antlib URI

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to