<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="urn:proactive:jobdescriptor:dev ../../src/scheduler/src/org/ow2/proactive/scheduler/common/xml/schemas/jobdescriptor/dev/schedulerjob.xsd"
	name="job_mixed" priority="normal" projectName="myProject" cancelJobOnError="true">
	<variables>
		<!-- pa.scheduler.home is known as java property - ie : start with -Dpa.scheduler.home=value -->
		<variable name="WORK_DIR" value="${pa.scheduler.home}/samples/jobs_descriptors/job_native_linux"/>
	</variables>
	<description>4 tasks with variable durations and dependencies</description>
	<taskFlow>
		<task name="task1" maxNumberOfExecution="4">
			<!-- Task human description -->
			<description>task WaitAndPrint - will sleep for 3s</description>
			<javaExecutable class="org.ow2.proactive.scheduler.examples.WaitAndPrint">
				<parameters>
					<parameter name="sleepTime" value="3"/>
					<parameter name="number" value="1"/>
				</parameters>
			</javaExecutable>
		</task>
		<task name="task2">
			<!-- Task human description -->
			<description>Will display 10 dots every 1s</description>
			<nativeExecutable>
				<staticCommand
					value="${WORK_DIR}/nativTask">
					<arguments>
						<argument value="1"/>
					</arguments>
				</staticCommand>
			</nativeExecutable>
		</task>
		<task name="task3">
			<!-- Task human description -->
			<description>task WaitAndPrint - will sleep for 4s</description>
			<depends>
				<task ref="task1"/>
				<task ref="task2"/>
			</depends>
			<javaExecutable class="org.ow2.proactive.scheduler.examples.WaitAndPrint">
				<parameters>
					<parameter name="sleepTime" value="4"/>
					<parameter name="number" value="2"/>
				</parameters>
			</javaExecutable>
		</task>
		<task name="task4">
			<!-- Task human description -->
			<description>Will display 10 dots every 1s</description>
			<depends>
				<task ref="task1"/>
				<task ref="task2"/>
			</depends>
			<nativeExecutable>
				<staticCommand
					value="${WORK_DIR}/nativTask">
					<arguments>
						<argument value="2"/>
					</arguments>
				</staticCommand>
			</nativeExecutable>
		</task>
	</taskFlow>
</job>

Add new job descriptor with mixed tasks (native and java)
Add new job descriptor with mixed tasks (native and java)

git-svn-id: 27916816d6cfa57849e9a885196bf7392b80e1ac@13734 28e8926c-6b08-0410-baaa-805c5e19b8d6
