uidesigner/com.nokia.carbide.cpp.uiq.ui/templates/shared/template_add.inc
author tzelaw
Fri, 24 Apr 2009 14:48:12 -0500
changeset 125 b878114e8cc2
parent 2 d760517a8095
permissions -rw-r--r--
Overhaul of RCOMP/GCCE error parsing to fix 8901: -RCOMP error parser will defer C preprocessor errors to GCCECompiler error parser. -GCCE error parser is splited into compiler/assembler/linker, calling their counterpart in CDT respectively before handling special cases. -Updated error messages RCOMP error parser according to latest copy of RCOMP source. -WINSCW build configuration is using CDT GCC error parser instead of GCCE(for RCOMP C preprocessor error) Updated test case for error parsing -Added Bugzilla regression for GCC and make error parser -Converted test case from hardcoded SDK_ID to picking up the first SDK from device.xml with the build config specified by the test. -Fixed bug in test harness for input file ends on the last line so it was processed in the same run. -Fixed bug in test harness for not clearing problem view before each run(for visual cross check). -Rewritten test harness to use JDOM XML handling(from JAXP), to solve deployment issue in newer JRE.

	<wizardPage 
		id="basics" 
		label="%basics.label">
		<description>%basics.desc</description>
		<textField 
				id="author"
				label="%basics.author.label"
				persist="true">
				<description>%basics.author.desc</description>
		</textField>
		<textField 
				id="copyright"
				label="%basics.copyright.label"
				multiline="true"
				default="Your copyright notice"
				persist="true">
				<description>%basics.copyright.desc</description>
		</textField>
	</wizardPage>

	<wizardPage 
		id="directories" 
		label="%directories.label">
		<description>%directories.desc</description>
		<filenameField 
				id="incDir"
				label="%standardDirFields.incDir.label"
		     	default="inc"
				mandatory="true"
				persist="true">
				<description>%standardDirFields.incDir.desc</description>
		</filenameField>
		<filenameField 
				id="sourceDir"
				label="%standardDirFields.sourceDir.label"
				default="src"
				mandatory="true"
				persist="true">
				<description>%standardDirFields.sourceDir.desc</description>
		</filenameField>
		<filenameField 
				id="groupDir"
				label="%standardDirFields.groupDir.label"
				default="group"
				mandatory="true"
				persist="true">
				<description>%standardDirFields.groupDir.desc</description>
		</filenameField>
		<filenameField 
				id="resDir"
				label="%standardDirFields.resDir.label"
				default="rsc"
				mandatory="true"
				persist="true">
				<description>%standardDirFields.resDir.desc</description>
		</filenameField>
	</wizardPage>

	<process class="com.nokia.carbide.cpp.project.ui.processes.CreateSourceFolders"
		 	bundle="com.nokia.carbide.cpp.project.ui">
		<parameter name="project" projectName="$(projectName)" />
		<parameter name="folder" path="$(sourceDir)" /> 
		<parameter name="folder" path="$(resDir)" forceUserInclude="true" /> 
		<parameter name="folder" path="$(incDir)" forceUserInclude="true" /> 
	</process>

	<process class="com.nokia.carbide.cpp.uiq.ui.viewwizard.SaveModelsProcessRunner"
				bundle="com.nokia.carbide.cpp.uiq.ui">
		<parameter name="project" projectName="$(projectName)" sourceGenRootModel="false" />
	</process>
	
	<process class="com.nokia.carbide.cpp.uiq.ui.viewwizard.DisposeModelsProcessRunner"
				bundle="com.nokia.carbide.cpp.uiq.ui">
		<parameter name="project" projectName="$(projectName)" />
	</process>