Issue Details (XML | Word | Printable)

Key: OPENJPA-37
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Patrick Linskey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA

Support ant typedefs for OpenJPA tasks

Created: 29/Aug/06 11:22 PM   Updated: 01/Mar/07 02:13 AM
Return to search
Component/s: jdbc, kernel
Affects Version/s: None
Fix Version/s: 0.9.7

Time Tracking:
Not Specified

Resolution Date: 01/Feb/07 10:03 PM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Patrick Linskey added a comment - 01/Feb/07 10:03 PM
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