Code Search for Developers
 
 
  

buildMase3.xml from MASE: Agile Software Engineering at Krugle


Show buildMase3.xml syntax highlighted

<project name="ebe" default="anthill-anaconda">

	
<!-- PROPERTIES -->	
	
	<property environment="env" />

	
<!-- CLEAN -->	
	
	<target name="clean-tmp-folder" description="Delete tmp-folder">
		<delete dir="tmp"/>
	</target>

	
<!-- INITS FOR COMPILES AND BUILDS -->	

	<target name="init" depends="clean-tmp-folder" description="Generic init">
		<mkdir dir="tmp"/>
		<mkdir dir="tmp/classes"/>

		<!-- copy inf file for the jar file-->
		<mkdir dir="tmp/classes/META-INF"/>
		<copy todir="tmp/classes/META-INF" file="MaseEJB3/.settings/persistence.xml"/>
		<mkdir dir="tmp/classes/WEB-INF"/>
		
		<!-- copy files for the war file-->
		<mkdir dir="tmp/web"/>			
		<copy todir="tmp/web">
			<fileset dir="MaseEJB3/jspWiki">
				<exclude name="**/*.java"/>
				<exclude name="webdocs/**/*.*"/>
				<include name="**/*.*"/>
			</fileset>
		</copy>
		<copy todir="tmp/web">
			<fileset dir="MaseEJB3/jspWiki/webdocs">
				<include name="**/*.*"/>
			</fileset>
		</copy>
		<copy todir="tmp/web/WEB-INF" file="MaseEJB3/.settings/web.xml" />
		<copy todir="tmp/web/WEB-INF" file="${INIT_TARGET}" />
		<copy todir="tmp/web/WEB-INF" file="MaseEJB3/.settings/jspwiki.tld" />
		
		<!-- copy inf file for the ear file-->
		<mkdir dir="tmp/META-INF"/>
		<copy todir="tmp/META-INF" file="MaseEJB3/.settings/application.xml"/>
		<copy todir="tmp/META-INF" file="MaseEJB3/.settings/jboss-app.xml"/>
	</target>
	

	<target name="init-anaconda" description="Init for anaconda">
		<antcall target="init">
			<param name="INIT_TARGET" value="MaseEJB3/.settings/server/anaconda/jspwiki.properties" />
		</antcall>
	</target>
	
	
	<target name="init-bocksclone" description="Init for bocksclone">
		<antcall target="init">
			<param name="INIT_TARGET" value="MaseEJB3/.settings/server/bc/jspwiki.properties" />
		</antcall>
	</target>
	
	
	<target name="init-cyclops" description="Init for cyclops">
		<antcall target="init">
			<param name="INIT_TARGET" value="MaseEJB3/.settings/server/cyclops/jspwiki.properties" />
		</antcall>
	</target>
	
	
	<target name="init-localhost" description="Init for localhost">
		<antcall target="init">
			<param name="INIT_TARGET" value="MaseEJB3/.settings/localhost/jspwiki.properties" />
		</antcall>
	</target>
	
	
	<target name="init-zeus" description="Init for zeus">
		<antcall target="init">
			<param name="INIT_TARGET" value="MaseEJB3/.settings/server/zeus/jspwiki.properties" />
		</antcall>
	</target>
	
	
<!-- COMPILES -->
	
	<target name="compile" description="Generic compile">
		<!-- compile classes-->
		<javac srcdir="MaseEJB3/src" destdir="tmp/classes" >
			<classpath>
				<fileset dir="lib">
					<include name="*.jar"/>
				</fileset>
			</classpath>		
		</javac>
		<!-- compile web-classes-->
		<jar destfile="tmp/tmp.jar" basedir="tmp/classes"/>
		<javac srcdir="MaseEJB3/jspWiki/WEB-INF/classes" destdir="tmp/web/WEB-INF/classes">
			<classpath>
				<fileset dir="lib">
					<include name="*.jar"/>
				</fileset>
				<fileset dir="tmp">
					<include name="tmp.jar"/>
				</fileset>
			</classpath>		
		</javac>	
	</target>
	
	
	<target name="compile-anaconda" depends="init-anaconda" description="Compile for anaconda">
		<antcall target="compile" />	
	</target>


	<target name="compile-bocksclone" depends="init-bocksclone" description="Compile for bocksclone">
		<antcall target="compile" />	
	</target>
	
	
	<target name="compile-cyclops" depends="init-cyclops" description="Compile for cyclops">
		<antcall target="compile" />	
	</target>
	
	
	<target name="compile-localhost" depends="init-localhost" description="Compile for localhost">
		<antcall target="compile" />	
	</target>
	
	
	<target name="compile-zeus" depends="init-zeus" description="Compile for zeus">
		<antcall target="compile" />	
	</target>
	
	
<!-- DELETE WEBSERVICE -->		
	
	<target name="delete-webservice" description="Deletes webservice from build">
		<delete dir="tmp/classes/mase/webservice" />
	</target>
	
	
<!-- BUILDS -->	
	
	<target name="build" description="Generic build">
		<jar destfile="tmp/ebe.jar" basedir="tmp/classes">
			<fileset dir="MaseEJB3/.settings" includes="jndi.properties"/>
		</jar>
		<jar destfile="tmp/web/WEB-INF/lib/JspWiki.jar" basedir="tmp/web/WEB-INF/classes"/>
		<war destfile="tmp/ebe.war" basedir="tmp/web" webxml="tmp/web/WEB-INF/web.xml">
			<exclude name="tmp/web/WEB-INF/**"/>
			<exclude name="tmp/web/WEB-INF/classes/**"/>
			<include name="**/*"/>
		</war>
		<ear earfile="ebe.ear" appxml="tmp/META-INF/application.xml">
			<fileset dir="tmp" includes="ebe.jar"/>
			<fileset dir="lib" includes="FitClipseRunner.jar"/>
			<fileset dir="tmp" includes="ebe.war"/>
			<metainf dir="tmp/META-INF" includes="jboss-app.xml"/>
		</ear>
	</target>
	
		
	<target name="build-anaconda" description="Builds anaconda version with the webservice" depends="compile-anaconda">
		<antcall target="build" />
	</target>
	
	
	<target name="build-bocksclone" description="Builds bocksclone version including webservice" depends="compile-bocksclone">
		<antcall target="build" />
	</target>
	

	<target name="build-bocksclone-without-webservice" description="Builds bocksclone version without the webservice (this is used for the live server)" depends="compile-bocksclone">
		<antcall target="build" />
		<antcall target="delete-webservice" />
	</target>
	
	
	<target name="build-cyclops" description="Builds cyclops version without the webservice" depends="compile-cyclops">
		<antcall target="build" />
		<antcall target="delete-webservice" />
	</target>
	
	
	<target name="build-for-fit" depends="build-localhost" description="Creates mase.jar for Fit">
		<jar destfile="mase-api.jar">
			<zipfileset dir="tmp/classes/mase/fit" prefix="mase/fit/">
				<include name="FitPages.class"/>
			</zipfileset>
		</jar>
	</target>

	
	<target name="build-localhost" depends="compile-localhost" description="Builds development version for localhost with webservice">
		<antcall target="build" />
	</target>
	

	<target name="build-zeus" description="Builds zeus version with the webservice" depends="compile-zeus">
		<antcall target="build" />
	</target>


<!-- DEPLOYS -->
	
	<target name="deploy" description="Generic deploy">
		<copy todir="${DEPLOY_DIR}" file="ebe.ear" overwrite="true" />
	</target>
	
	
	<target name="deploy-anaconda" depends="build-anaconda" description="Deploys server build on anaconda">
	   	 <antcall target="deploy">
	   	 	<param name="DEPLOY_DIR" value="/opt/jboss-4.0.4.GA/server/default/deploy"/>
	   	 </antcall>
	</target>
	
	
	<target name="deploy-localhost" depends="build-localhost" description="Deploys local build on local server">
	   	 <antcall target="deploy">
			<param name="DEPLOY_DIR" value="${env.JBOSS_HOME}/server/default/deploy"/>
	   	 </antcall>
	</target>
	

<!-- CONTINUOUS INTEGRATION -->
	
	<target name="anthill-anaconda" depends="deploy-anaconda" description="Continuous Integration: build, deploy, run JUnit tests on anaconda">
		<sleep seconds="60"/>
		<antcall target="junit-tests" />
	</target>
	
	
	<target name="anthill-localhost" depends="deploy-localhost" description="Continuous Integration: build, deploy, run JUnit tests on localhost">
		<sleep seconds="60"/>
		<antcall target="junit-tests" />
	</target>
	

<!-- JUNIT TESTS -->	
	
	<target name="junit-tests" description="Run JUnit tests">
		<junit printsummary="withOutAndErr" filtertrace="off">
			<classpath>
				<fileset dir="lib">
					<include name="*.jar"/>
				</fileset>
				<pathelement path="tmp/classes" />
				<pathelement path="MaseEJB3/.settings" />
				<pathelement path="tmp/web/WEB-INF/classes" />
			</classpath>
			<formatter type="plain" usefile="no" />
			<batchtest>
				<fileset dir="MaseEJB3/src">
					<include name="**/*Test.java" />
					<exclude name="**/AllTests.java" />
					<exclude name="**/FitPagesTest.java" />
				</fileset>
			</batchtest>
		</junit>
	</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/
          META-INF/
            MANIFEST.MF
            eclipse.inf
          about.html
          fragment.properties
          runtime_registry_compatibility.jar
        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/
      rallydemogef/
      server/
      table/
  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
  META-INF/
    MANIFEST.MF
  MaseEJB3/
    .settings/
    jspWiki/
    src/
  bin/
  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
    wsdl4j.jar
    xmlrpc.jar
    xmlsec.jar
  .classpath
  .project
  AgilePlanner.product
  build.properties
  buildAgilePlannerAll.xml
  buildMase3.xml
  buildProductForRally.bat
  jndi.properties
  plugin.xml
  serverbuild.xml