Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtend Specific Issue
Xtend Specific Issue [message #1723351] Mon, 15 February 2016 04:20 Go to next message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
I am trying to use a java Service in my extend code. As I prepare the request and call the servive. I get this error "cannot convert from SearchColumnRequest to SearchColumnRequest". This looks strange to me. Please let me know if I am missing something.

This service is in the same project as Xtend code where the compilation error occurs.
Do I need to add some build info. Please help

[Updated on: Mon, 15 February 2016 04:42]

Report message to a moderator

Re: Xtend Specific Issue [message #1723353 is a reply to message #1723351] Mon, 15 February 2016 04:38 Go to previous messageGo to next message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
My xtend maven plugin

<plugin>
  <groupId>org.eclipse.xtend</groupId>
  <artifactId>xtend-maven-plugin</artifactId>
  <version>2.9.1</version>
  <executions>
    <execution>
      <goals>
        <goal>compile</goal>
        <goal>testCompile</goal>
      </goals>
      <configuration>
        <outputDirectory>${project.build.directory}/xtend-gen/main</outputDirectory>
        <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>

[Updated on: Mon, 15 February 2016 04:38]

Report message to a moderator

Re: Xtend Specific Issue [message #1723354 is a reply to message #1723351] Mon, 15 February 2016 04:39 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14669
Registered: July 2009
Senior Member
Did you double check the imports?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend Specific Issue [message #1723355 is a reply to message #1723354] Mon, 15 February 2016 04:44 Go to previous messageGo to next message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
Yes I checked the import . "SearchColumnRequest" model is from a separate project which is added a dependency in the current project.
Re: Xtend Specific Issue [message #1723356 is a reply to message #1723355] Mon, 15 February 2016 04:55 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14669
Registered: July 2009
Senior Member
Maybe a bug ?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend Specific Issue [message #1723357 is a reply to message #1723355] Mon, 15 February 2016 05:06 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14669
Registered: July 2009
Senior Member
Can you share a minimal example that reproduces the problem

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend Specific Issue [message #1723485 is a reply to message #1723357] Tue, 16 February 2016 04:30 Go to previous message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
I got it resolved. It was a build issue. Thank you for your help Christian. Smile
Previous Topic:executable jar for xtext 2.9.x with maven
Next Topic:Problems with XSemantics in Xtext
Goto Forum:
  


Current Time: Sat Apr 27 00:36:33 GMT 2024

Powered by FUDForum. Page generated in 0.04560 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top