Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MoDisco/AcceleoUse

EMTL files and Releng

Create an ant task to copy emtl files into a specific directory which will be committed in the SVN.

/emtlCopy.build.xml

<project name="emtlCopy" default="emtlCopy">
	<property name="htmlReport.emtl.dir" value="org/eclipse/gmt/modisco/java/discoverer/benchmark/template/html"> </property>
	<property name="htmlReport.emtl" value="${htmlReport.emtl.dir}/htmlReport.emtl"></property>
	<target name="emtlCopy">
		<copy file="${basedir}/bin/${htmlReport.emtl}" 
			tofile="${basedir}/emtl/${htmlReport.emtl}"></copy>
	</target>
</project>

Create a project builder to automatically call the previous ant task.

https://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.modisco/tests/trunk/org.eclipse.gmt.modisco.java.discoverer.benchmark/.externalToolBuilders/emtlCopy.launch

Create an ant task which will be used by the releng to copy the emtl files.

https://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.modisco/tests/trunk/org.eclipse.gmt.modisco.java.discoverer.benchmark/customBuildCallbacks.xml

Add the following line in the build.properties files to activate the use of customBuildCallbacks.xml during the releng execution.

customBuildCallbacks = customBuildCallbacks.xml

Back to the top