[jbpm-cvs] jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.build ...

Koen Aers <[email protected]> Sat, 25 Oct 2008 02:05:47 -0400
Newsgroups gmane.comp.jbpm.cvs
Message-ID <[email protected]>
  User: kaers   
  Date: 08/10/25 02:05:47

  Modified:    designer/jpdl/org.jbpm.gd.jpdl.build  Tag:
                        branch_jbpm_jpdl_gpd_3_1_x build.xml
  Log:
  integration of new update site with documentation feature
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.59.2.12 +79 -11    jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.build/Attic/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.build/Attic/build.xml,v
  retrieving revision 1.59.2.11
  retrieving revision 1.59.2.12
  diff -u -b -r1.59.2.11 -r1.59.2.12
  --- build.xml	8 Sep 2008 15:37:26 -0000	1.59.2.11
  +++ build.xml	25 Oct 2008 06:05:46 -0000	1.59.2.12
  @@ -14,8 +14,8 @@
     <property file="${user.home}/jbpm/build.properties" />          <!-- use this file to override any of the following properties -->
     <property file="${basedir}/../../../build/build.properties" />  <!-- if the build is running within the main jbpm build -->
   
  -  <property name="lib.jbpm.designer.version" value="3.1.4" />
  -  <property name="jbpm.gpd.version.tag" value="jbpm_jpdl_gpd_3_1_4" />  
  +  <property name="lib.jbpm.designer.version" value="3.1.5" />
  +  <property name="jbpm.gpd.version.tag" value="jbpm_jpdl_gpd_3_1_5" />  
     <property file="build.properties" />
   	
     <!-- general properties if not yet set by previously included files -->
  @@ -67,7 +67,7 @@
   	<antcall target="install.eclipse" />
   	<antcall target="prepare.workspace" />
   	<antcall target="run-eclipse-plugin-builder" />
  -	<antcall target="build-feature" />
  +	<antcall target="build-jpdl-feature" />
   	<!--    <antcall target="build-site" /> -->
     </target> 
   		
  @@ -133,10 +133,12 @@
     	  <echo message="checking file availability"/>
     	  <available file="${basedir}/../org.jbpm.gd.jpdl.site" property="site.dir" value="${basedir}/../org.jbpm.gd.jpdl.site" />
     	  <available file="${basedir}/../org.jbpm.gd.jpdl.feature" property="feature.dir" value="${basedir}/../org.jbpm.gd.jpdl.feature" />
  +	  <available file="${basedir}/../org.jbpm.gd.jpdl.docs" property="docs.dir" value="${basedir}/../org.jbpm.gd.jpdl.docs" />
  +	  <available file="${basedir}/../org.jbpm.gd.jpdl.help" property="help.dir" value="${basedir}/../org.jbpm.gd.jpdl.help" />
   	  <available file="${basedir}/../org.jbpm.gd.jpdl" property="main.dir" value="${basedir}/../org.jbpm.gd.jpdl" />
     </target> 
   	
  -  <target name="get.projects" depends="get.site,get.feature,get.main" />
  +  <target name="get.projects" depends="get.site,get.feature,get.main,get.help,get.docs" />
   	
     <target name="get.site" depends="check.project.dirs" unless="site.dir">
     	<property name="site.dir" value="${basedir}/${projects.dir}/org.jbpm.gd.jpdl.site" />
  @@ -180,6 +182,34 @@
       </copy>
     </target>
   			
  +  <target name="get.docs" depends="check.project.dirs" unless="docs.dir">
  +  	<property name="docs.dir" value="${basedir}/${projects.dir}/org.jbpm.gd.jpdl.docs" />
  +  	<property name="docs.module" value="jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.docs" />
  +  	<mkdir dir="${docs.dir}"/>
  +  	<cvs cvsRoot="${jbpm.cvs.root}"
  +  		 dest="${build.dir}"
  +  		 tag="${jbpm.gpd.version.tag}"
  +  		 package="${docs.module}"
  +  	     quiet="${quiet}" />
  +  	<copy todir="${docs.dir}">
  +  	  <fileset dir="${build.dir}/${docs.module}"/>
  +    </copy>
  +  </target>
  +				
  +  <target name="get.help" depends="check.project.dirs" unless="help.dir">
  +  	<property name="help.dir" value="${basedir}/${projects.dir}/org.jbpm.gd.jpdl.help" />
  +  	<property name="help.module" value="jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help" />
  +  	<mkdir dir="${help.dir}"/>
  +  	<cvs cvsRoot="${jbpm.cvs.root}"
  +  		 dest="${build.dir}"
  +  		 tag="${jbpm.gpd.version.tag}"
  +  		 package="${help.module}"
  +  	     quiet="${quiet}" />
  +  	<copy todir="${help.dir}">
  +  	  <fileset dir="${build.dir}/${help.module}"/>
  +    </copy>
  +  </target>
  +				
     <target name="prepare.workspace">
     	<mkdir dir="${workspace.dir}/features" />
     	<mkdir dir="${workspace.dir}/plugins" />
  @@ -229,7 +259,24 @@
       </manifest>
     </target>
   
  -  <target name="build-feature" depends="create.manifest" description="fetch the feature archive from the place where the atomic eclipse plugin build has hidden it">  	
  +  <target name="build-docs" depends="get.docs">
  +  	<jar destfile="${build.dir}/org.jbpm.gd.jpdl.docs_${buildId}.jar">
  +  	  <fileset dir="${docs.dir}">
  +  	  	<exclude name="build.properties"/>
  +  	  	<exclude name=".project" />
  +  	  </fileset>
  +  	</jar>
  +  </target>	
  +	
  +  <target name="build-help" depends="get.help">
  +    <jar destfile="${build.dir}/org.jbpm.gd.jpdl.help_${buildId}.jar">
  +      <fileset dir="${help.dir}">
  +      	<exclude name=".project"/>
  +      </fileset>
  +    </jar>
  +  </target>
  +
  +  <target name="build-feature-distros" depends="create.manifest" description="fetch the feature archive from the place where the atomic eclipse plugin build has hidden it">  	
   	<mkdir dir="${build.dir}/temp" />
     	<get src="http://repository.jboss.com/licenses/JBossORG-EULA.txt" dest="${build.dir}/temp/jboss.eula.txt" ignoreerrors="true" />
   	<copy file="${basedir}/${workspace.dir}/features/org.jbpm.gd.jpdl.feature/readme.html" todir="${build.dir}/temp"/>
  @@ -307,13 +354,34 @@
       <get src="${remote.license.dir}/${lib.ant.contrib.license}.txt" dest="${lib.ant.contrib.local}.license.txt" usetimestamp="true" ignoreerrors="true" />
     </target>
   	
  -  <target name="build-site" depends="create.manifest,get.ant.contrib" description="build a site from the feature">
  +  <target name="build-site" depends="create.manifest,get.site" description="build a site from the feature">
   	<mkdir dir="${build.dir}/site" />
   	<copy todir="${build.dir}/site">
  -      <fileset dir="${site.dir}" />
  +      <fileset dir="${site.dir}">
  +      	<include name="artifacts.xml"/>
  +      	<include name="content.xml"/>
  +        <include name="readme.html"/>
  +      	<include name="site.xml"/>
  +      </fileset>
     	</copy>
   	<unzip src="${build.dir}/jbpm-jpdl-designer.zip" dest="${build.dir}/feature" />
  -	<taskdef classpath="${lib.ant.contrib.local}" resource="net/sf/antcontrib/antlib.xml"/>
  +  	<jar basedir="${build.dir}/feature/eclipse/features/org.jbpm.gd.jpdl.feature_${buildId}" destfile="${build.dir}/org.jbpm.gd.jpdl.feature_${buildId}.jar" />
  +  	<mkdir dir="${build.dir}/site/features" />
  +  	<copy todir="${build.dir}/site/features" >
  +      <fileset dir="${build.dir}">
  +      	<include name="org.jbpm.gd.jpdl.docs_${buildId}.jar"/>
  +      	<include name="org.jbpm.gd.jpdl.feature_${buildId}.jar"/>
  +      </fileset>
  +  	</copy>
  +  	<mkdir dir="${build.dir}/site/plugins"/>
  +  	<copy todir="${build.dir}/site/plugins">
  +  	  <fileset dir="${build.dir}">
  +  	  	<include name="org.jbpm.gd.jpdl_${buildId}.jar" />
  +  		<include name="org.jbpm.gd.jpdl.help_${buildId}.jar" />
  +  	  </fileset>
  +  	</copy>
  +  	<jar manifest="${build.dir}/manifest/MANIFEST.MF" basedir="${build.dir}/site" destfile="${build.dir}/jbpm-jpdl-designer-site.zip" />
  +<!--	<taskdef classpath="${lib.ant.contrib.local}" resource="net/sf/antcontrib/antlib.xml"/>
   	<foreach target="zipPluginDir" param="jarName" inheritAll="true" >
   		<path>
   			<dirset dir="${build.dir}/feature/eclipse/plugins" includes="*" />
  @@ -323,10 +391,10 @@
     	<move todir="${build.dir}/site">
     	  <fileset dir="${build.dir}/feature/eclipse" includes="*/*.jar" />
     	</move>
  -	<jar manifest="${build.dir}/manifest/MANIFEST.MF" destfile="${build.dir}/jbpm-jpdl-designer-site.zip" basedir="${build.dir}/site" />
  +	<jar manifest="${build.dir}/manifest/MANIFEST.MF" destfile="${build.dir}/jbpm-jpdl-designer-site.zip" basedir="${build.dir}/site" /> -->
     </target>
  +  	
     <target name="zipPluginDir">
  -  	<!-- used by the build-site target in a foreach task -->
       <zip destfile="${jarName}.jar" basedir="${jarName}" />
     </target>
   
  
  
  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/