Incomplete import in Java generated code by Papyrus Designer [message #1843871] |
Sun, 22 August 2021 21:33 |
Ramiro Carvalho Messages: 19 Registered: January 2021 |
Junior Member |
|
|
I have a UML model in Papyrus with a set of signals within a package. These signals are organized into a hierarchy.
When I generate code, what I get for the signal at the root of the tree is correct, as below:
package com.elastskin.ppmweb.service.state.productionsignals.Signals;
public abstract class Prod_Signal {
/**
*
*/
public Instant pevttimestamp;
}
but the code for all descendants contains a line with an ill-formed import (missing the '*' at the end):
package com.elastskin.ppmweb.service.state.productionsignals.Signals;
import com.elastskin.ppmweb.;
public abstract class Prod_PrintSystem_Signal extends Prod_Signal
{
}
Is it a bug? How can I work around it?
Versions:
Papyrus
Version: 2021-06 (4.20)
Build id: 2021-03-21T18:43:59Z
org.eclipse.papyrus.designer.languages.java.codegen (1.1.1.202103190948) "Papyrus Designer Java code generation" [Active]
org.eclipse.papyrus.designer.languages.java.library (1.1.1.202011271115) "Papyrus Designer Java library" [Starting]
org.eclipse.papyrus.designer.languages.java.profile (1.1.1.202011271115) "Papyrus Designer Java profile" [Active]
[Updated on: Sun, 22 August 2021 21:34] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24559 seconds