alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<project name="Build specific targets and properties" default="noDefault" >

<property name="postingDirectory" value="${buildDirectory}" />
	
<!-- ===================================================================== 
     Run a given ${target} on all elements being built 
     
     This target must be supplied. Each top level/independent feature that you
     plan to build must be in this section.
     ===================================================================== -->

<target name="allElements">
	<ant antfile="${genericTargets}" target="${target}" >
		<property name="type" value="feature" />
		<property name="id" value="org.eclipse.perfmsr.sdk" />
	</ant>
</target>

<!-- ===================================================================== -->
<!-- Targets to assemble the built elements for particular configurations  -->
<!-- These generally call the generated assemble scripts (named in -->
<!-- ${assembleScriptName}) but may also add pre and post processing -->
<!-- Add one target for each root element and each configuration -->
<!-- ===================================================================== -->
                                                                                                                                                       
<target name="assemble.org.eclipse.perfmsr.sdk.win32.win32.x86">
        <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
</target>
                                                                                                                                                       
<target name="assemble.org.eclipse.perfmsr.sdk.linux.gtk.x86">
        <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
</target>
                                                                                                                                                       
<!-- ===================================================================== -->
<!-- Check out map files from correct repository -->
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
<!-- ===================================================================== -->
<target name="getMapFiles">
        <property name="cvsRoot" value=":pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse" />
        <property name="mapVersionTag" value="HEAD" />
	<echo message="Fetching map files for version: ${mapVersionTag}" />
        <cvs cvsRoot="${cvsRoot}"
                package="org.eclipse.sdk.tests-feature/plugins/org.eclipse.perfmsr.releng/maps"
                dest="${buildDirectory}/maps"
                tag="${mapVersionTag}"
        />
</target>
                                                                                                                                                       
<!-- ===================================================================== -->
<!-- Steps to do before setup -->
<!-- ===================================================================== -->
<target name="preSetup">
</target>

	

<!-- ===================================================================== -->
<!-- Steps to do after setup but before starting the build proper -->
<!-- ===================================================================== -->
<target name="postSetup" >
</target>

<!-- ===================================================================== -->
<!-- Steps to do before fetching the build elements -->
<!-- ===================================================================== -->
<target name="preFetch">
</target>

<!-- ===================================================================== -->
<!-- Steps to do after the fetch -->
<!-- ===================================================================== -->
<target name="postFetch">
</target>	

<!-- ===================================================================== -->
<!-- Steps to do before generating build scripts -->
<!-- ===================================================================== -->
<target name="preGenerate">
</target>

<!-- ===================================================================== -->
<!-- Steps to do after generating the build scripts -->
<!-- ===================================================================== -->
<target name="postGenerate">
</target>

<!-- ===================================================================== -->
<!-- Steps to do before assembling -->
<!-- ===================================================================== -->
<target name="preAssemble">
  <replace dir='${buildDirectory}/plugins' token='@build@' value='${buildId}' includes='**/about.mappings' />
</target>

<!-- ===================================================================== -->
<!-- Steps to do after assembling-->
<!-- ===================================================================== -->
<target name="postAssemble">
</target>


<!-- ===================================================================== -->
<!-- Steps to do before running the build.xmls for the elements being built. -->
<!-- ===================================================================== -->
<target name="preProcess">
</target>

<!-- ===================================================================== -->
<!-- Steps to do after running the build.xmls for the elements being built. -->
<!-- ===================================================================== -->
<target name="postProcess">
</target>

<!-- ===================================================================== -->
<!-- Steps to do after everything is built and assembled -->
<!-- (e.g., testing, posting, emailing, ...) -->
<!-- ===================================================================== -->
<target name="postBuild">
     <antcall target="gatherLogs" />
</target>

<target name="gatherLogs">
     <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
          <antcall target="allElements">
               <param name="target" value="gatherLogs" />
          </antcall>
     <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
          <fileset dir="${buildDirectory}/features/org.eclipse.perfmsr.sdk">
               <include name="*.log.zip" />
          </fileset>
     </unzip>
</target>

<!-- ===================================================================== -->
<!-- Default target                                                        -->
<!-- ===================================================================== -->
<target name="noDefault">
	<echo message="You must specify a target when invoking this file" />
</target>

</project>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.