Author: mes
Date: 2010-09-14 15:29:10 -0700 (Tue, 14 Sep 2010)
New Revision: 21854

Modified:
   csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml
   csplugins/trunk/ucsd/mes/GoogleChartFunctions/resources/plugin.props
Log:
got version numbers automated

Modified: csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml
===================================================================
--- csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml     2010-09-14 
22:20:11 UTC (rev 21853)
+++ csplugins/trunk/ucsd/mes/GoogleChartFunctions/build.xml     2010-09-14 
22:29:10 UTC (rev 21854)
@@ -7,8 +7,10 @@
   <target name="init">
     <tstamp/>
     <property name="name" value="GoogleChartFunctions"/>
-    <property name="version" value="1.0.1"/>
 
+       <!-- to support plugin.props, make sure the version is only two 
digits!-->
+    <property name="version" value="1.0"/>
+
     <echo message="Building ${name} version ${version} ..."/>
 
     <!-- Inheritable properties -->
@@ -41,7 +43,7 @@
     <artifact:dependencies pathId="dependency.classpath">
       <dependency groupId="cytoscape" 
                   artifactId="application" 
-                  version="2.8.0-SNAPSHOT"/>
+                  version="2.8.0-beta1"/>
     </artifact:dependencies>
 
     <!-- Define the class path -->
@@ -99,12 +101,11 @@
   <!-- =================================================================== -->
   <target name="jar" 
           depends="compile" >
-<!--             
-       <copy toDir="${build.dir}">
-               <fileset dir="${resources.dir}/testData" includes="*" />
-       </copy>
--->
-       <copy file="${resources.dir}/plugin.props" 
todir="${build.dir}/org/cytoscape/equations/internal/googlechart"/>
+       <filter token="version" value="${version}"/>
+       <copy file="${resources.dir}/plugin.props" 
+             todir="${build.dir}/org/cytoscape/equations/internal/googlechart"
+                 filtering="true"
+                 overwrite="true"/>
     <unjar dest="${build.dir}">
       <fileset dir="${lib.dir}">
         <include name="*.jar" />

Modified: csplugins/trunk/ucsd/mes/GoogleChartFunctions/resources/plugin.props
===================================================================
--- csplugins/trunk/ucsd/mes/GoogleChartFunctions/resources/plugin.props        
2010-09-14 22:20:11 UTC (rev 21853)
+++ csplugins/trunk/ucsd/mes/GoogleChartFunctions/resources/plugin.props        
2010-09-14 22:29:10 UTC (rev 21854)
@@ -8,10 +8,10 @@
 
 # Description used to give users information about the plugin such as what it 
does.  
 # Html tags are encouraged for formatting purposes.
-pluginDescription=Functions that create images via the Google Chart API
+pluginDescription=Functions that create image URLs from attribute values using 
the Google Chart API.
 
 # Plugin version number, this must be two numbers separated by a decimlal.  
Ex. 0.2, 14.03
-pluginVersion=0.01
+pluginversi...@version@
 
 # Compatible Cytoscape version
 cytoscapeVersion=2.8
@@ -19,12 +19,7 @@
 # Category, use one of the categories listed on the website or create your own
 pluginCategory=Other
 
-
 # List of authors.  Note each author and institution pair are separated by a : 
(colon)
 # each additional author institution pair must be separated from other pairs 
bye a ; (semicolon)
-pluginAuthorsIntsitutions=MikeSmoot
+pluginAuthorsIntsitutions=Mike Smoot:UC San Diego
 
-# -- The following properties should be set ONLY BY CORE PLUGINS -- #
-downloadURL=http://cytoscape.org/plugins/plugins.xml
-uniqueID=7123486641
-

-- 
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.

Reply via email to