Book a Demo

Author Topic: Problem Transformation Package Language  (Read 3718 times)

Ma-Lik

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Problem Transformation Package Language
« on: February 23, 2008, 12:22:21 am »
I get a fault message, when I try to set set the language of a package at the transformation. Why is it not possible to set the language of a package like this:
Code: [Select]
%if packageStereotype == "foo"%
Package
{
name="Foo_Module"
namespaceroot="false"
%TRANSFORM_REFERENCE("FooPackage", packageGUID)%      
stereotype = "CORBAModule"
[highlight]language = "IDL"[/highlight]      
Class{
      name="FooClass"
      %TRANSFORM_REFERENCE("Interface", packageGUID)%
      language ="IDL"
      stereotype = "CORBAInterface"
      import=""      
}
}

Without the highlighted line everything is fine, but not the language of the package...

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Problem Transformation Package Language
« Reply #1 on: February 25, 2008, 09:03:44 am »
EA never uses the language of a package, but that doesn't mean that it shouldn't allow a transformation to set a language.  I'd recommend sending in a bug report to sparx systems.
« Last Edit: February 25, 2008, 11:18:30 am by simonm »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Problem Transformation Package Language
« Reply #2 on: February 25, 2008, 11:02:20 am »
Quote
EA never uses the language of a package, but that doesn't mean that it shouldn't allow a transformation to se a language...
Hi Simon,

A small but subtle question if I may: do you mean "set a language" or "see a language" (as in determine what the language setting is)?

David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Problem Transformation Package Language
« Reply #3 on: February 25, 2008, 11:19:51 am »
Thanks David.  I meant "set" as per the original question and have corrected my above post to reflect this.

Ma-Lik

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Problem Transformation Package Language
« Reply #4 on: February 25, 2008, 07:57:33 pm »
OK I will do it.