You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Patrick Linskey (JIRA)" <ji...@apache.org> on 2007/02/01 23:04:06 UTC
[jira] Resolved: (OPENJPA-37) Support ant typedefs for OpenJPA
tasks
[ https://issues.apache.org/jira/browse/OPENJPA-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Linskey resolved OPENJPA-37.
------------------------------------
Resolution: Fixed
Added antlib files. Usage:
<project>
<taskdef resource="org/apache/openjpa/jdbc/ant/antlib.xml"/>
<task name="compile">
<kodoc>
</kodoc>
</task>
</project>
I've done manual testing only.
Resolved with r502374
> Support ant typedefs for OpenJPA tasks
> --------------------------------------
>
> Key: OPENJPA-37
> URL: https://issues.apache.org/jira/browse/OPENJPA-37
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc, kernel
> Reporter: Patrick Linskey
>
> Recent versions of ant have a typedef syntax that allows definition of a number of ant tasks all in one typedef call, and some sort of URI scoping of tasks. The syntax looks something like this:
> <typedef resource="my/package/antlib.xml" classpathref="my.package.classpath" uri="urn:my-package" />
> It seems like this would be more convenient than requiring developers to use taskdef for each task they want to use. We should implement this for OpenJPA.
> More details about typedefs: http://ant.apache.org/manual/CoreTasks/typedef.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.