Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » problem with 0.9.0 I200804162020
problem with 0.9.0 I200804162020 [message #44230] Fri, 18 April 2008 07:22 Go to previous message
Edoardo Comar is currently offline Edoardo Comar
Messages: 102
Registered: July 2009
Senior Member
With the latest integration build, my java output is uncompilable.

where I should get

public class Connection extends MyResource implements IConnection {

I get

public class Connection extends
MyReource implements IConnection {


I think this is related to the fix posted for
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206469
as I use <f:replaceAll value="\s+" ...>
which to strip out whitespace


my template is like this

....
public class <c:get select="$resourceDef/javaInfo/class"/> extends
<f:replaceAll value="\s+" replacement="" regex="true">
<c:choose>
<c:when test="$resourceDef/type = 'MyDefinition' ">MyDefinition</c:when>
<c:when test="$resourceDef/type = 'MyManager' ">MyManager</c:when>
<c:otherwise>MyResource</c:otherwise>
</c:choose>
</f:replaceAll> implements <c:get
select="$resourceDef/javaInfo/interface"/> {
....
 
Read Message
Read Message
Read Message
Previous Topic:is it possible to SORT the results of a jet xpath select ?
Next Topic:Is it possible to retrieve attributes and references from JET using XPath?
Goto Forum:
  


Current Time: Sat May 25 03:35:45 EDT 2013

Powered by FUDForum. Page generated in 0.03034 seconds