| [QVTO] Accessing Java class members from transformations [message #727437] |
Wed, 21 September 2011 05:57  |
Jan Messages: 3 Registered: September 2011 |
Junior Member |
|
|
Hi there,
I'm just wondering if it is possible to access attributes or even methods of arbitrary Java classes from within a transformation.
To be specific, I want to read some static String values that are needed for some model class attributes. I intend to avoid holding redundant information in the java and in the qvt world.
Any ideas?
|
|
|
|
|
|
|
|
| Re: [QVTO] Accessing Java class members from transformations [message #728436 is a reply to message #728153] |
Fri, 23 September 2011 05:33  |
Jan Messages: 3 Registered: September 2011 |
Junior Member |
|
|
I did, but there is no error. I also tried the following:
1. Starting my transformation plugin (not the lib) via run->eclipse application
2. Writing a very simple transformation that imports the lib but does not its operations
3. Running the transformation via run->transformation bla (Don't use the plugin at all though)
That worked. Thus, it might be that my development workspace is somehow screwed up but without errors it's hard to tell.
[Updated on: Fri, 23 September 2011 05:34] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01938 seconds