<?xml version="1.0" encoding="ISO-8859-1"?>
<template type="ProjTempl" version="1.0" supplier="ppw@hcs.ufl.edu"
		revision="1.0" author="PPW group, HCS lab, University of Florida"
		copyright="Copyright (c) 2010, University of Florida"
		id="HelloWorldUPCProject" label="%HelloWorld.upcAnsitemplate.label"
		description="%HelloWorld.CAnsitemplate.description"
		help="help.html">

	<property-group id="basics" label="%HelloWorld.basics.label"
	 description="%HelloWorld.basics.description"
	 type="PAGES-ONLY" help="help.html">
		<property id="author"
			label="%HelloWorld.author.label"
			description="%HelloWorld.author.description"
			type="input"
			pattern=".*"
			default=""
			hidden="false"
			persist="true"/>
		<property id="copyright"
			label="%HelloWorld.copyright.label"
			description="%HelloWorld.copyright.description"
			type="input"
			pattern=".*"
			default="%HelloWorld.copyright.default"
			hidden="false"
			persist="true"/>
		<property id="message"
			label="%HelloWorld.message.label"
			description="%HelloWorld.message.description"
			type="input"
			pattern=".*"
			default="%HelloWorld.message.default"
			hidden="false"
			persist="true"/>
		<property id="sourceDir"
				label="%HelloWorld.sourceDir.label"
				description="%HelloWorld.sourceDir.description"
				type="input"
				default="%HelloWorld.sourceDir.default"
				pattern="[a-zA-Z0-9]+"
				mandatory="false"
				persist="true"/>
	</property-group>

	<process type="org.eclipse.cdt.managedbuilder.core.NewManagedProject">
		<simple name="name" value="$(projectName)" /> 
		<simple name="artifactExtension" value="exe" /> 
		<simple name="isCProject" value="true" /> 
	</process>

	<process type="org.eclipse.cdt.core.CreateSourceFolder">
		<simple name="projectName" value="$(projectName)"/>
		<simple name="path" value="$(sourceDir)"/>
	</process>
	
	<process type = "org.eclipse.cdt.core.AddFile">
		<simple name = "projectName" value="$(projectName)"/>
		<complex name="file">			
				<simple name="source" value="src/Basename.upc"/>
				<simple name ="target" value ="$(sourceDir)/$(projectName).upc"/>
				<simple name ="replaceable" value="true"/>
		</complex>
	</process>
</template>