Author: mes
Date: 2010-09-03 15:07:36 -0700 (Fri, 03 Sep 2010)
New Revision: 21695
Modified:
csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml
Log:
made dependencies use maven
Modified: csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml
===================================================================
--- csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml 2010-09-03
21:54:37 UTC (rev 21694)
+++ csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml 2010-09-03
22:07:36 UTC (rev 21695)
@@ -1,5 +1,5 @@
-<project name="GoogleChartFunctions" default="all" basedir=".">
+<project name="GoogleChartFunctions" default="all" basedir="."
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<!-- =================================================================== -->
<!-- Initialization target -->
@@ -19,8 +19,6 @@
<!-- Define the directories -->
<property name="root.dir" value="."/>
- <property name="cytoscape.dir" value="${root.dir}/../../../../cytoscape"/>
- <property name="cytoscape.lib.dir" value="${cytoscape.dir}/lib"/>
<property name="resources.dir" value="${root.dir}/resources"/>
<property name="src.dir" value="${root.dir}/src"/>
<property name="tests.dir" value="${root.dir}/tests"/>
@@ -34,17 +32,24 @@
<property name="project.jar" value="${name}.jar"/>
<property name="test.jar" value="${name}-tests.jar"/>
+ <artifact:remoteRepository
+ id="cytoscape_releases"
+
url="http://cytoscape.wodaklab.org/nexus/content/repositories/releases/" />
+ <artifact:remoteRepository
+ id="cytoscape_snapshots"
+
url="http://cytoscape.wodaklab.org/nexus/content/repositories/snapshots/" />
+ <artifact:dependencies pathId="dependency.classpath">
+ <dependency groupId="cytoscape"
+ artifactId="application"
+ version="2.8.0-SNAPSHOT"/>
+ </artifact:dependencies>
+
<!-- Define the class path -->
<path id="project.class.path">
- <fileset dir="${cytoscape.dir}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${cytoscape.lib.dir}">
- <include name="*.jar"/>
- </fileset>
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
+ <path refid="dependency.classpath"/>
</path>
<!-- Define the junit class path - It needs to find what we just built -->
@@ -52,15 +57,10 @@
<fileset dir="${root.dir}">
<include name="*.jar"/>
</fileset>
- <fileset dir="${cytoscape.dir}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${cytoscape.lib.dir}">
- <include name="*.jar"/>
- </fileset>
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
+ <path refid="dependency.classpath"/>
</path>
<!-- Make sure tests is in the right place -->
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.