Code Search for Developers
 
 
  

BuildChartRuntime.xml from BIRT at Krugle


Show BuildChartRuntime.xml syntax highlighted

<?xml version="1.0"?>
<!--
 *************************************************************************
 * Copyright (c) 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *  
 *************************************************************************
 *
 *  Build.xml
 *
 *  Created on 05/13/2005
 *  Build script for project org.eclipse.birt
 *
 * 
 * The following are public targets callable by external users. 
 * 
 * "Clean" - Clean all objects created by this script. Individual project build script can not call this target; 
 * "Jar" - Generate zip for this project.
 *          There is no compile dependency on other projects.
 *         eclipse.home should be passed in when Individual project build script  call this target; 
 *          the property of "failonerror" should be set true(default) when compiling source code
 * "UnitTest" - Run unit tests. This task must be called after calling Jar task,
 *              so it needn't depend on Jar explicitly
 * "Export" - Export the project, for instance, zip files are copied to a designated folder.
 *            this task must be called after calling Jar task, so it needn't depend on Jar explicitly
 * "JavaDoc" - generate java documents
 *
 * Usage:
 *    ant [any one or more of the public targets] 
 *        -Declipse.home=<your eclipse home> 
 *
 * Default target is "Jar".
 *
 * 
 * This script may also additional targets. These targets are private to this build script only. 
 *
 *
 * Notes:
 *  1. This file now requires Ant 1.6
 *
 * Change History:
 *
 *    1. 05/13/2005: initial version
 *
-->

<project name="BIRT Documentation Project" default="Jar" basedir=".">
	<description>BIRT Brand Project.</description>
	<property file="build.properties" />

	<!-- set global properties for this build -->

	<!-- Public properties, used by public targets, top level build script will pass on the value 
	 	 at runtime. Properties will have there default value:
		     eclipse.home
		     utest.report.dir
		     javadoc.dir
		     plugin.version 
	-->

	<!-- ===== Default value for public properties ============= -->

	<property name="eclipse.home" location="." />
	<property name="module.name" value="org.eclipse.birt.chart.runtime" />
	<property name="export.dir" location="export" />
	<property name="manifest" value="META-INF/MANIFEST.MF" />
	
	<!-- Generate zip for this project.
		 Input parameters:
		 	eclipse.home
	-->
	<target name="Jar" depends="Javadoc">

	</target>

	<target name="Export">
		<tstamp>
			<format property="TODAY" pattern="yyyyMMddHHmm" />
		</tstamp>
		
		<mkdir dir="${export.dir}"/>		
		<property file="META-INF/MANIFEST.MF" />
		<property name="plugin.package" value="${module.name}_${Bundle-Version}" />		

		<echo message="Export Birt version = ${Bundle-Version}" />
		
		<copy todir="${export.dir}" overwrite="true">
			<fileset dir=".">
				<include name="about.mappings" />
			</fileset>
			<filterchain>
				<replacetokens>
					<token key="Replace_By_Date" value="${TODAY}" />
				</replacetokens>
			</filterchain>

		</copy>
		<echo message="${TODAY}"/>
		<copy todir="${export.dir}" overwrite="true">
			<fileset dir=".">
				<include name="about.properties" />
			</fileset>
			<filterchain>
				<replacetokens>
					<token key="Replace_By_Version" value="${Bundle-Version}" />
				</replacetokens>
			</filterchain>
		</copy>
		<echo message="${Bundle-Version}"/>
 		<jar destfile="${export.dir}/${module.name}_${Bundle-Version}.jar"  manifest="${manifest}">
			<fileset dir="${basedir}">
	   			<include name="${manifest}"/>				
				<include name="plugin.xml"/>
				<include name="eclipse32.gif"/>
				<include name="about.html"/>
				<include name="about.ini"/>
			</fileset>
 			<fileset dir="${export.dir}">
 				<include name="about.mappings"/>
 				<include name="about.properties"/>
			</fileset>
		</jar>	
		<delete>
		    <fileset dir="${export.dir}" includes="about.*"/>
		</delete>
	</target>

	<target name="UnitTest">
	</target>

	<!-- Clean all objects created by this script -->
	<target name="Clean">
	</target>

	<!-- Generate the JavaDoc.
	 -->
	<target name="Javadoc">
	</target>


</project>





See more files for this project here

BIRT

BIRT is an open source, Eclipse-based reporting system that integrates with your application to produce compelling reports for both web and PDF.

Project homepage: http://www.eclipse.org/birt/phoenix/
Programming language(s): Java,XML
License: gpl2

  META-INF/
    MANIFEST.MF
  .project
  BuildChartRuntime.xml
  about.html
  about.ini
  about.mappings
  about.properties
  build.properties
  eclipse32.gif