diff options
author | Bruce Atherton <bruce@apache.org> | 2010-05-18 20:12:19 +0000 |
---|---|---|
committer | Bruce Atherton <bruce@apache.org> | 2010-05-18 20:12:19 +0000 |
commit | 5cd87d016e947e2e2c73ea34372102b78e6a7397 (patch) | |
tree | 43169991b73422fb5d8998fd1b80586fef4b45a8 /fetch.xml | |
parent | 9b4c1eb6dcc10e2440d8c98637a8d191289fa132 (diff) | |
download | ant-5cd87d016e947e2e2c73ea34372102b78e6a7397.tar.gz |
Add JAI library through the JBoss public maven repository
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@945860 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fetch.xml')
-rw-r--r-- | fetch.xml | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -99,6 +99,7 @@ Set -Ddest=LOCATION on the command line <macrodef name="f2"> <attribute name="project" /> <attribute name="archive" default="@{project}"/> + <attribute name="repository" default="${m2.repo}"/> <sequential> <fail> Unknown archive @{archive} -no property @{archive}.version defined. @@ -112,6 +113,7 @@ Set -Ddest=LOCATION on the command line <dependency groupID="@{project}" artifactID="@{archive}" version="${@{archive}.version}"/> + <remoteRepository url="@{repository}" /> </artifact:dependencies> <!-- now we are left with the problem of getting the files into our directory --> @@ -241,9 +243,15 @@ Set -Ddest=LOCATION on the command line <f2 project="tomcat" archive="jasper-runtime"/> <f2 project="javax.servlet" archive="servlet-api"/> </target> + + <target name="jai" depends="init" + description="load java advanced imaging"> + <f2 project="javax.media" archive="jai-core" repository="http://repository.jboss.org/maven2"/> + <f2 project="com.sun.media" archive="jai-codec" repository="http://repository.jboss.org/maven2"/> + </target> <target name="all" description="load all the libraries (except jython)" - depends="logging,junit,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,script,javamail,jspc" /> + depends="logging,junit,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,script,javamail,jspc,jai" /> </project> |