ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r945860 - in /ant/core/trunk: fetch.xml lib/libraries.properties
Date Tue, 18 May 2010 20:12:19 GMT
Author: bruce
Date: Tue May 18 20:12:19 2010
New Revision: 945860

URL: http://svn.apache.org/viewvc?rev=945860&view=rev
Log:
Add JAI library through the JBoss public maven repository

Modified:
    ant/core/trunk/fetch.xml
    ant/core/trunk/lib/libraries.properties

Modified: ant/core/trunk/fetch.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/fetch.xml?rev=945860&r1=945859&r2=945860&view=diff
==============================================================================
--- ant/core/trunk/fetch.xml (original)
+++ ant/core/trunk/fetch.xml Tue May 18 20:12:19 2010
@@ -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>

Modified: ant/core/trunk/lib/libraries.properties
URL: http://svn.apache.org/viewvc/ant/core/trunk/lib/libraries.properties?rev=945860&r1=945859&r2=945860&view=diff
==============================================================================
--- ant/core/trunk/lib/libraries.properties (original)
+++ ant/core/trunk/lib/libraries.properties Tue May 18 20:12:19 2010
@@ -26,6 +26,8 @@ m2.antlib.url=${m2.url}/org/apache/maven
 #this is the sha1 checksum of the artifact
 m2.sha1.checksum=4e7ddfdb91600e9b59bb965ff8eef2f06015df50
 
+# Repository to use by default for fetching dependencies.
+m2.repo=http://repo1.maven.org/maven2/
 
 #versions of different libraries. Please keep in alphabetical order, except
 #when a specific dependency forces them to be out-of-order
@@ -37,6 +39,8 @@ bsh-core.version=${bsh.version}
 commons-net.version=1.4.1
 commons-logging.version=1.1
 commons-logging-api.version=${commons-logging.version}
+jai-core.version=1.1.3
+jai-codec.version=1.1.3
 jasper-compiler.version=4.1.36
 jasper-runtime.version=${jasper-compiler.version}
 jdepend.version=2.9.1



Mime
View raw message