Code Search for Developers
 
 
  

buildAgilePlannerAll.xml from MASE: Agile Software Engineering at Krugle


Show buildAgilePlannerAll.xml syntax highlighted

<?xml version="1.0" encoding="UTF-8"?>
<project name="AgilePlanner" default="anthill-zeus" basedir=".">
		
	<!-- System specific settings -->
	<property name="basews" value="${ws}"/>
	<property name="baseos" value="${os}"/>
	<property name="basearch" value="${arch}"/>
	<property name="basenl" value="${nl}"/>

	<!-- Compiler settings. -->
	<property name="javacFailOnError" value="false"/>
	<property name="javacDebugInfo" value="on"/>
	<property name="javacVerbose" value="false"/>
	<property name="logExtension" value=".log"/>
	<property name="compilerArg" value=""/>
	<property name="javacSource" value="1.5"/>
	<property name="javacTarget" value="1.5"/>
	<path id="path_bootclasspath">
		<fileset dir="${java.home}/lib">
			<include name="*.jar"/>
		</fileset>
	</path>
	<property name="bootclasspath" refid="path_bootclasspath"/>
	<property name="bundleJavacSource" value="${javacSource}"/>
	<property name="bundleJavacTarget" value="${javacTarget}"/>
	<property name="bundleBootClasspath" value="${bootclasspath}"/>


	<target name="clean" depends="init" description="Clean the plug-in: AgilePlanner of all the zips, jars and logs created.">
		<delete file="${plugin.destination}/AgilePlanner_2.0.0.jar"/>
		<delete file="${plugin.destination}/AgilePlanner_2.0.0.zip"/>
		<delete dir="${temp.folder}"/>
	</target>
	
	
	<target name="init" depends="properties">
		<condition property="pluginTemp" value="${buildTempFolder}/plugins">
			<isset property="buildTempFolder"/>
		</condition>
		<property name="pluginTemp" value="${basedir}"/>
		<condition property="build.result.folder" value="${pluginTemp}/AgilePlanner_v2.0">
			<isset property="buildTempFolder"/>
		</condition>
		<property name="build.result.folder" value="${basedir}"/>
		<property name="temp.folder" value="${basedir}/temp.folder"/>
		<property name="plugin.destination" value="${basedir}"/>
	</target>
	
	<target name="properties" if="eclipse.running">
		<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
	</target>
	
	<target name="compile-persister" description="compile persister package and tests">
		<delete dir="tmp"/>
		<mkdir dir="tmp"/>
		<mkdir dir="tmp/persister"/>
		<mkdir dir="tmp/test"/>
		
		<javac srcdir="AgilePlannerWithPersister/src/persister" destdir="tmp" source="1.5" target="1.5" nowarn="true" 
			excludes="datachangeimplement/**/*.java mase/**/*.java">
			<classpath>
				<fileset dir="lib">
					<include name="*.jar" />
				</fileset>
				<fileset dir="AgilePlannerWithPersister/DependentBuildSources" >
					<include name="**/*.jar" />
				</fileset>
				<pathelement path="tmp"/>
				<fileset dir="tmp/persister">
					<include name="**/*.class"/>
				</fileset>
			</classpath>
		</javac>
		
		<javac srcdir="AgilePlannerWithPersister/src/test/planner" destdir="tmp" source="1.5" target="1.5" nowarn="true" excludes="DistributedPersisterTest.java MasePersisterTest.java">
			<classpath>
				<fileset dir="lib">
					<include name="*.jar" />
				</fileset>
				<fileset dir="AgilePlannerWithPersister/DependentBuildSources" >
					<include name="**/*.jar" />
				</fileset>
			</classpath>
		</javac>
		
		<copy todir="tmp/test/planner">
			<fileset dir="AgilePlannerWithPersister/src/test/planner">
				<include name="*.xml"/>
			</fileset>
		</copy>
	</target>
	
	<target name="build.agileplanner.jar" depends="init" description="Build the jar file of AgilePlanner for webstart">
		<antcall target="gather.bin.parts">
			<param name="destination.temp.folder" value="${temp.folder}"/>
		</antcall>
		<jar destfile="AgilePlanner_2.0.0.jar" basedir="${temp.folder}/AgilePlanner_2.0.0" />
	</target>
	

	<target name="build.jars" depends="init" description="Build all the jars for the plug-in: AgilePlanner.">
	</target>
		
		
	<target name="build.update.jar" depends="init" description="Build the plug-in: AgilePlanner for an update site.">
		<delete dir="${temp.folder}"/>
		<mkdir dir="${temp.folder}"/>
		<antcall target="build.jars"/>
		<antcall target="gather.bin.parts">
			<param name="destination.temp.folder" value="${temp.folder}/"/>
		</antcall>
		<zip destfile="${plugin.destination}/AgilePlanner_2.0.0.jar" basedir="${temp.folder}/AgilePlanner_2.0.0" filesonly="false" whenempty="skip" update="false"/>
		<delete dir="${temp.folder}"/>
	</target>
	

	<target name="build.sources" depends="init">
	</target>
	
	
	<target name="build.zips" depends="init">
	</target>
	

	<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
		<!-- Compile the whole AgilePlanner plugin to the tmp-bin-folder -->
		<mkdir dir="${destination.temp.folder}/AgilePlanner_2.0.0"/>
		<mkdir dir = "${destination.temp.folder}/AgilePlanner_2.0.0/bin"/>
		<javac srcdir="MaseEJB3/src" destdir="${destination.temp.folder}/AgilePlanner_2.0.0/bin" source="1.5" target="1.5" nowarn="true">
			<exclude name = "fitTests/**/*.java" />
			<exclude name = "test/**/*.java" />
			<exclude name = "mase/fit/**/*.java" />
			<exclude name = "mase/webservice/**/*.java" />
			<classpath>
				<fileset dir="lib">
					<include name="*.jar" />
				</fileset>
			</classpath>
		</javac>
		<javac srcdir="AgilePlannerWithPersister/src" destdir="${destination.temp.folder}/AgilePlanner_2.0.0/bin" source="1.5" target="1.5" nowarn="true">
			<classpath>
				<fileset dir="lib">
					<include name="*.jar" />
				</fileset>
				<fileset dir="AgilePlannerWithPersister/DependentBuildSources" >
					<include name="**/*.jar" />
				</fileset>
			</classpath>
		</javac>
		

		<copy todir="${destination.temp.folder}/AgilePlanner_2.0.0" failonerror="true" overwrite="false">
			<!-- <fileset dir="${basedir}" includes="META-INF/,plugin.xml,AgilePlanner/Icons/,AgilePlanner.product,MaseEJB3/src/maseplannerconnect/,MaseEJB3/src/mase/wikipage/,MaseEJB3/src/mase/util/,MaseEJB3/src/mase/team/,MaseEJB3/src/mase/system/,lib/GT.jar,lib/ejb3-persistence.jar,lib/hibernate-annotations.jar,lib/hibernate-client.jar,lib/jboss-aop-jdk50-client.jar,lib/jbossall-client.jar,lib/jboss-annotations-ejb3.jar,lib/jboss-aspect-jdk50-client.jar,lib/jboss-ejb3-client.jar,lib/jboss-ejb3x.jar,lib/jnp-client.jar,lib/log4j.jar,lib/concurrent.jar,lib/hibernate3.jar,lib/jboss-j2ee.jar,lib/jboss-jaxrpc.jar,lib/jboss-remoting.jar,lib/wsdl4j.jar" excludes="META-INF/.svn/" /> -->
			<fileset dir="${basedir}" includes="META-INF/,plugin.xml,AgilePlannerWithPersister/Icons/,AgilePlannerWithPersister.product,config.xml,lib/GT.jar,lib/ejb3-persistence.jar,lib/hibernate-annotations.jar,lib/hibernate-client.jar,lib/jboss-aop-jdk50-client.jar,lib/jbossall-client.jar,lib/jboss-annotations-ejb3.jar,lib/jboss-aspect-jdk50-client.jar,lib/jboss-ejb3-client.jar,lib/jboss-ejb3x.jar,lib/jnp-client.jar,lib/log4j.jar,lib/concurrent.jar,lib/hibernate3.jar,lib/jboss-j2ee.jar,lib/jboss-jaxrpc.jar,lib/jboss-remoting.jar,lib/wsdl4j.jar" excludes="META-INF/.svn/" />
		</copy>
	</target>
	

	<target name="gather.logs" depends="init" if="destination.temp.folder">
	</target>

	
	<target name="gather.sources" depends="init" if="destination.temp.folder">
	</target>
	

	<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
		<eclipse.convertPath fileSystemPath="C:/Documents and Settings/webers/workspaces/AgilePlanner_v2.0" property="resourcePath"/>
		<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
	</target>
	

	<target name="create-plugin-for-rally" depends="init" description="Create runnable version for Rally">
		<delete dir="${temp.folder}"/>
		<mkdir dir="${temp.folder}"/>

		<antcall target="gather.bin.parts">
			<param name="destination.temp.folder" value="${temp.folder}/"/>
		</antcall>

		<delete>
			<fileset dir="${temp.folder}" includes="**/*.bin${logExtension}"			/>
		</delete>
		
		<delete dir="AgilePlannerProduct"/>
		<mkdir dir="AgilePlannerProduct"/>
		
		<copy todir="AgilePlannerProduct" >
			<fileset dir="AgilePlannerWithPersister/DependentBuildSources" />			
		</copy>
		
		<copy todir="AgilePlannerProduct\plugins" >
			<fileset dir="${temp.folder}"/>
		</copy>
		
		<delete dir="${temp.folder}"/>
	</target>
	
	
	<target name="anthill-zeus" description="Continuous integration task for Anthill">
		<antcall target="compile-persister"/>
		<antcall target="junit-tests"/>
	
	</target>
	
	
	<target name="junit-tests">
		<junit printsummary="withOutAndErr" filtertrace="off" haltonfailure="true" failureproperty="BUILD_FAILED">
			<classpath>
				<fileset dir="lib">
					<include name="*.jar"/>
				</fileset>
				<fileset dir="AgilePlannerWithPersister/DependentBuildSources">
					<include name="**/*.jar"/>
				</fileset>
				<pathelement path="tmp"/>
			</classpath>
			<formatter type="plain" usefile="no" />
			<batchtest>
				<fileset dir="tmp">
					<include name="**/*Test.class" />
					<exclude name="**/AllTests.class" />
					<exclude name="**/DistributedPersisterTest.class" />
				</fileset>
			</batchtest>
		</junit>
		<antcall target="build-broken" />
		<antcall target="build-intact" />
	</target>
	
	<target name="build-broken" if="BUILD_FAILED">
		<echo>Build broken</echo>
		<java classname="x10.SendSignal" dir="/opt/lamps/x10linux" fork="true">
			<arg value="off" />
			<arg value="1" />
		</java>
		<java classname="x10.SendSignal" dir="/opt/lamps/x10linux" fork="true">
			<arg value="on" />
			<arg value="2" />
		</java>
	</target>
	
	<target name="build-intact" unless="BUILD_FAILED">
		<echo>Build intact</echo>
		<java classname="x10.SendSignal" dir="/opt/lamps/x10linux" fork="true">
			<arg value="on" />
			<arg value="1" />
		</java>
		<java classname="x10.SendSignal" dir="/opt/lamps/x10linux" fork="true">
			<arg value="off" />
			<arg value="2" />
		</java>
	</target>
	
	
	<target name="distributed-planner-jar">
		<delete dir="tmp" />
		<mkdir dir="tmp"/>
		<mkdir dir="tmp/persister"/>
		<javac srcdir="AgilePlannerWithPersister/src/persister" destdir="tmp/persister/" source="1.5" target="1.5" nowarn="true" 
			excludes="datachangeimplement/**/*.java mase/**/*.java">
			<classpath>
				<fileset dir="lib">
					<include name="*.jar" />
				</fileset>
				<fileset dir="AgilePlannerWithPersister/DependentBuildSources" >
					<include name="**/*.jar" />
				</fileset>
			</classpath>
		</javac>
		<jar destfile="tmp/distributed-persister.jar" basedir="tmp/persister"/>
		<move file="tmp/distributed-persister.jar" todir="AgilePlannerWithPersister/Servers" />
		<delete dir="tmp" />
	</target>

</project>




See more files for this project here

MASE: Agile Software Engineering

The MASE project investigates methods to support the coordination and executable acceptance testing of software projects. Keywords: Agile methods, distributed teams, Extreme Programming. See http://ebe.cpsc.ucalgary.ca/ebe for more information.

Project homepage: http://sourceforge.net/projects/mase
Programming language(s): Java,XML
License: other

  AgilePlanner/
    DependentBuildSources/
      configuration/
        org.eclipse.core.runtime/
          .manager/
            .fileTable.11
            .fileTable.12
            .fileTableLock
          .contributions.5
          .contributors.5
          .extraData.5
          .mainData.5
          .namespaces.5
          .orphans.5
          .table.5
        org.eclipse.osgi/
          .manager/
            .fileTable.12
            .fileTable.13
            .fileTableLock
          bundles/
            30/
              1/
                .cp/
                  swt-gdip-win32-3232.dll
                  swt-win32-3232.dll
          .bundledata.5
          .lazy.5
          .state.5
        org.eclipse.update/
          history/
            1161877675797.xml
            1161877867811.xml
            1161877884903.xml
            1161877927829.xml
            1161884087263.xml
            1161884105389.xml
          .lock
          last.config.stamp
          platform.xml
        config.ini
      plugins/
        org.eclipse.core.runtime.compatibility.registry_3.2.0.v20060603/
        com.ibm.icu_3.4.4.1.jar
        org.eclipse.ant.core_3.1.100.v20060531.jar
        org.eclipse.core.commands_3.2.0.I20060605-1400.jar
        org.eclipse.core.contenttype_3.2.0.v20060603.jar
        org.eclipse.core.expressions_3.2.0.v20060605-1400.jar
        org.eclipse.core.filesystem.win32.x86_1.0.0.v20060603.jar
        org.eclipse.core.filesystem_1.0.0.v20060603.jar
        org.eclipse.core.jobs_3.2.0.v20060603.jar
        org.eclipse.core.resources.compatibility_3.2.0.v20060603.jar
        org.eclipse.core.resources.win32_3.2.0.v20060603.jar
        org.eclipse.core.resources_3.2.0.v20060603.jar
        org.eclipse.core.runtime.compatibility.auth_3.2.0.v20060601.jar
        org.eclipse.core.runtime.compatibility_3.1.100.v20060603.jar
        org.eclipse.core.runtime_3.2.0.v20060603.jar
        org.eclipse.core.variables_3.1.100.v20060605.jar
        org.eclipse.draw2d_3.2.0.v20060626.jar
        org.eclipse.equinox.common_3.2.0.v20060603.jar
        org.eclipse.equinox.preferences_3.2.0.v20060601.jar
        org.eclipse.equinox.registry_3.2.0.v20060601.jar
        org.eclipse.gef_3.2.0.v20060626.jar
        org.eclipse.help_3.2.0.v20060602.jar
        org.eclipse.jface_3.2.0.I20060605-1400.jar
        org.eclipse.osgi_3.2.0.v20060601.jar
        org.eclipse.swt.win32.win32.x86_3.2.0.v3232m.jar
        org.eclipse.swt_3.2.0.v3232o.jar
        org.eclipse.ui.views_3.2.0.I20060605-1400.jar
        org.eclipse.ui.workbench_3.2.0.I20060605-1400.jar
        org.eclipse.ui_3.2.0.I20060605-1400.jar
        org.eclipse.update.configurator_3.2.0.v20060605.jar
      .eclipseproduct
      startup.jar
    Icons/
      ApplicationIcons/
      edit_icon.gif
      icon_agileplanner.gif
      icon_agileplanner_new.gif
      icon_agileplanner_open.gif
      icon_arrange.gif
      icon_arrange_iter_story.gif
      icon_arrange_story.gif
      icon_complete.gif
      icon_detail_link.gif
      icon_find.gif
      icon_inProgress.gif
      icon_iteration_status.gif
      icon_minus.gif
      icon_new_project.gif
      icon_new_story.gif
      icon_plus.gif
      icon_product_backlog.gif
      icon_project.gif
      mouse.gif
      pagination_update.gif
      rally_app_icons_48x48.icns
      rally_app_icons_48x48.ico
      sample.gif
    Servers/
      Server.bat
      Server.sh
      YellowPagesServer.bat
      YellowPagesServer.sh
    src/
      cards/
      filesystemaccess/
      maseconnection/
      mouse/
      persister/
      rallydemogef/
      server/
      table/
      test/
  AgilePlannerWithPersister/
    DependentBuildSources/
    Icons/
    Servers/
    src/
  Icons/
    edit_icon.gif
    icon_arrange.gif
    icon_inProgress.gif
    icon_iteration_status.gif
    icon_minus.gif
    icon_new_project.gif
    icon_new_story.gif
    icon_plus.gif
    icon_product_backlog.gif
    icon_project.gif
  InputFramework/
    src/
  META-INF/
    MANIFEST.MF
  MaseEJB3/
    .settings/
    jspWiki/
    src/
  ProjectDirectory/
    EmptyProject.xml
    OriginalEmptyProject.xml
    OriginalProjectFile.xml
    OriginalProjectWithBacklogIterationAndStoryCards.xml
    ProjectFile.xml
    ProjectWithBacklogIterationAndStoryCards.xml
  fitTests/
    fitTests/
  lib/
    FitClipseRunner.jar
    GT.jar
    commons-httpclient.jar
    commons-lang-2.0.jar
    commons-logging.jar
    concurrent.jar
    cos.jar
    ecs.jar
    ejb3-persistence.jar
    fitClipseTestRunner.jar
    fitlibrary.jar
    hibernate-annotations.jar
    hibernate-client.jar
    hibernate3.jar
    javax.servlet.jar
    javax.servlet.jsp.jar
    jboss-annotations-ejb3.jar
    jboss-aop-jdk50-client.jar
    jboss-aspect-jdk50-client.jar
    jboss-ejb3-client.jar
    jboss-ejb3x.jar
    jboss-j2ee.jar
    jboss-jaxrpc.jar
    jboss-remoting.jar
    jboss-transaction.jar
    jboss.jar
    jbossall-client.jar
    jbosssx.jar
    jbossws.jar
    jdom.jar
    jnp-client.jar
    jnpserver.jar
    jrcs-diff.jar
    junit-4.1.jar
    junit.jar
    log4j.jar
    lucene.jar
    mail.jar
    multipartrequest.jar
    mysql-connector-java-3.1.12-bin.jar
    oro.jar
    oscache.jar
    sandler.jar
    sbsdk.jar
    wsdl4j.jar
    xmlrpc.jar
    xmlsec.jar
  .classpath
  .project
  AgilePlanner.product
  AgilePlannerTestFile.xml
  AgilePlannerWithPersister.product
  ManyMouseJava.dll
  RegistrationUtils.dll
  build.properties
  buildAgilePlannerAll.xml
  buildMase3.xml
  config.xml
  default.xml
  jndi.properties
  plugin.xml
  splash.bmp