[MOBY-guts] biomoby commit

Martin Senger senger at dev.open-bio.org
Fri Feb 22 00:54:30 UTC 2008


senger
Thu Feb 21 19:54:30 EST 2008
Update of /home/repository/moby/moby-live/Java/xmls
In directory dev.open-bio.org:/tmp/cvs-serv28282/xmls

Modified Files:
	dashboardBuild.xml samplesBuild.xml 
Log Message:
still mavenization; more memory for dashboard

moby-live/Java/xmls dashboardBuild.xml,1.3,1.4 samplesBuild.xml,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/xmls/dashboardBuild.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/xmls/dashboardBuild.xml	2008/02/14 06:13:37	1.3
+++ /home/repository/moby/moby-live/Java/xmls/dashboardBuild.xml	2008/02/22 00:54:30	1.4
@@ -11,16 +11,25 @@
 
 <property name="dashboard.config.dir" location="${src.config}/dashboard"/>
 <property name="dashboard.config.jar" value="dashboard-config.jar"/>
+<property name="dashboard.arg.1" value="-nopXXX"/>
 
-<path id="dashboard.build.classpath">
-  <path refid="samples.build.classpath"/>
-  <fileset dir="${build.lib}">
-    <include name="${dashboard.config.jar}"/>
-  </fileset>
-</path>
+<!-- ================================================================== -->
+<!-- Initialize (whatever needs to be done)                             -->
+<!-- ================================================================== -->
+<target name="dashboard-init" depends="samples-init">
+
+  <path id="dashboard.build.classpath">
+    <path refid="samples.build.classpath"/>
+    <fileset dir="${build.lib}">
+      <include name="${dashboard.config.jar}"/>
+    </fileset>
+  </path>
 
-<property name="dashboard.arg.1" value="-nopXXX"/>
+</target>
 
+<!-- ================================================================== -->
+<!-- Start Dashboard                                                    -->
+<!-- ================================================================== -->
 <target name="dashboard" depends="compile,dashboard-config"
   description="Start BioMoby Dashboard">
   <condition property="log4j.configuration.valid">
@@ -35,17 +44,27 @@
   
   <java classname="org.biomoby.service.dashboard.Dashboard" taskname="Dashboard"
     classpathref="dashboard.build.classpath" fork="true" failonerror="true">
+    <jvmarg value="-Xms32m"/>
+    <jvmarg value="-Xmx256m"/>
     <arg value="${dashboard.arg.1}"/>
     <sysproperty key="log4j.configuration" value="${real.log4j.configuration}"/>
   </java>
 </target>
 
-<target name="dashboard-config" depends="init">
+<!-- ================================================================== -->
+<!-- Create Dashboard configuration                                     -->
+<!-- ================================================================== -->
+<target name="dashboard-config" depends="dashboard-init">
+
+  <property name="released.date" value="${TODAY_SHORT}"/>
+
   <jar destfile="${build.lib}/${dashboard.config.jar}">
     <manifest>
-      <attribute name="Built-By" value="${user.name}"/>
+      <attribute name="Built-By"      value="${user.name}"/>
+      <attribute name="Released-Date" value="${released.date}"/>
     </manifest>
     <fileset dir="${dashboard.config.dir}"/>
   </jar>
+
 </target>
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/xmls/samplesBuild.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/xmls/samplesBuild.xml	2006/05/05 21:11:46	1.3
+++ /home/repository/moby/moby-live/Java/xmls/samplesBuild.xml	2008/02/22 00:54:30	1.4
@@ -44,18 +44,19 @@
 <!-- A directories containing classes from samples -->
 <property name="classes.samples" location="${build.others}/samples"/>
 
-<!-- Additional classpath (includes classes of samples) -->
-<path id="samples.build.classpath">
-  <path refid="moses.build.classpath"/>
-  <pathelement location="${classes.samples}"/>
-</path>
-   
 <!-- ================================================================== -->
 <!-- Samples: Init                                                      -->
 <!-- ================================================================== -->
-<target name="samples-init" depends="init">
+<target name="samples-init" depends="moses-init">
   <mkdir dir="${classes.samples}"/>
   <mkdir dir="${classes.samples}/resources"/>
+
+  <!-- Additional classpath (includes classes of samples) -->
+  <path id="samples.build.classpath">
+    <path refid="moses.build.classpath"/>
+    <pathelement location="${classes.samples}"/>
+  </path>
+   
 </target>
 
 <!-- ================================================================== -->
@@ -88,12 +89,17 @@
 <!-- ================================================================== -->
 <target name="samples-jar" depends="samples-compile"
   description="Create a jar file with samples classes">
+
+  <property name="released.date" value="${TODAY_SHORT}"/>
+
   <jar destfile="${build.lib}/jmoby-samples.jar">
     <fileset dir="${classes.samples}"/>
     <manifest>
-      <attribute name="Built-By" value="${user.name}"/>
+      <attribute name="Built-By"      value="${user.name}"/>
+      <attribute name="Released-Date" value="${released.date}"/>
     </manifest>
   </jar>
+
 </target>
 
 <!-- ================================================================== -->
@@ -134,7 +140,7 @@
     </sourcepath>
     
     <!-- decorations -->
-    <header><![CDATA[<font size='-1'>Generated: ${TODAY_LONG}</font>]]></header>
+    <header><![CDATA[<font size="-1">Version: ${maven.project.version}</font>]]></header>
     <bottom><![CDATA[<font size='-1'><a href='mailto:moby-dev at biomoby.org?subject=samples%20API'>Submit a bug or feature</a><BR>Generated: ${TODAY_LONG}</font>]]></bottom>
   </javadoc>
 </target>




More information about the MOBY-guts mailing list