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,

so you are calling the XTendFacade.create method within the test plugin but the file passed to that method is part of another plugin - right?
If so, I that might be the issue because the test plugin does not "see" the resources from the other plugin(?). Have you tried to place the .ext file into the test plugin - just to see if this is working. 

-martin


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

Hello Martin,
	Thanks for the response. We have tried and exhausted that way also :( . Any other suggestion you would like to add ? 

Best regards

Sathish Kumar Maheswaran
RBEI/EMT  

Tel. +91(422)67-64154 


-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of tycho-user-request@xxxxxxxxxxx
Sent: Thursday, February 18, 2016 10:30 PM
To: tycho-user@xxxxxxxxxxx
Subject: tycho-user Digest, Vol 66, Issue 15

Send tycho-user mailing list submissions to
	tycho-user@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/tycho-user
or, via email, send a message with subject or body 'help' to
	tycho-user-request@xxxxxxxxxxx

You can reach the person managing the list at
	tycho-user-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than "Re: Contents of tycho-user digest..."


Today's Topics:

   1. Re: Reg : Running Xpand/Xtend testcases in Tycho
      (SCHREIBER.Martin)


----------------------------------------------------------------------

Message: 1
Date: Thu, 18 Feb 2016 06:33:31 +0000
From: SCHREIBER.Martin <Martin.SCHREIBER@xxxxxxxxxxxxx>
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] Reg : Running Xpand/Xtend testcases in Tycho
Message-ID: <7c9535551de94329bce09807017433ce@xxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"


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 


------------------------------

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user

End of tycho-user Digest, Vol 66, Issue 15
******************************************
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top