Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Reg : Running Xpand/Xtend testcases in Tycho

Hi,

I don't know details about Xtend and the .ext stuff, but if that .ext file is in the "templates" folder and is used during test execution, this folder must be added to the build.properties file in order to get packed into the binary.

Hth
Martin



-----Urspr√ľngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Sathish Kumar Maheswaran (RBEI/EMT1)
Gesendet: Donnerstag, 18. Februar 2016 06:28
An: tycho-user@xxxxxxxxxxx
Betreff: Re: [tycho-user] Reg : Running Xpand/Xtend testcases in Tycho

Hello Tom,
	Thank you for the response. Please find the necessary details below.

	Test Plugin Details :
		The name of the test plugin is com.abc.xyz.plu.test . I have attached the pom xml of the test plugin along with the mail. The packaging of the test plugin is eclipse-test-plugin only. All the plugins that this test plugin needs are mentioned in the extra requirements section. 

		The com.abc.int.target.feature contains all the xtend and xpand related plugins.
		The com.abc.xyz.exporter.feature feature contains the plugin (com.abc.xyz.def.flattening ) which has the .ext templates present.

		The purpose of the test plugin is to use XtendFacade to call the templates present in com.abc.xyz.def.flattening  plugin and execute the test cases. The XtendFacade call fails with "Couldn't find extension" and the test case fails . But the particular extension is present in the  com.abc.xyz.def.flattening plugin.




	Source Plugin Details:
  		The name of the source plugin is com.abc.xyz.def.flattening. I have attached the pom file of source plugin as well . The packaging type is eclipse-plugin. 

		The package structure of the com.abc.xyz.def.flattening plugin is as follows.

		
		com.abc.xyz.def.flattening
					-->src
					-->templates ( templates is not included in build.properties)
					-->plugin.xml
					-->Manifest
					-->Build.properties
					-->pom.xml



	Problem Statement:

	The particular method getFlatMapShrtNameForPerInstMem thrown in the exception (Couldn't find extension getFlatMapShrtNameForPerInstMem) is present in a .ext file present inside the templates folder. So how do instruct tycho to recognize the templates and to call the method properly using XtendFacade.




Best regards

Sathish Kumar Maheswaran
RBEI/EMT  

Tel. +91(422)67-64154 


Back to the top