Interfaces IDE
EDE
A ToolchainGateway bridge for the WSTDeployer supports adding RXF and generated files into a EDE Project Space.
The
implementation of this bridge is available in source code under
Tools\WSTDeployer\src\de\willert\deployer. This directory contains
three files which integrate the EDE with the WSTDeployer:
- ToolchainGateway.java: Implements the actual changes done in the EDE project file.
- Deployment.java: Inplements the
selection of RXF and generated files, copies them and passes the file
list on to the ToolchainGateway for EDE.
- Constants.java: Defines which properties will be read from WSTDeployer.properties
- WSTDeployer.properties.
The
ToolchainGateway only adds files to the EDE project, but does not
remove them, e.g. is a class was renamed or deleted. This has to be
done manually in the EDE.
New files will be added to the "File"
section in the EDE files which is specified as
component tag
within the UML model. The added files will not be added to a specific
folder in the EDE and they will not be sorted by file types.
The best practice is to add an folder "Files" as the last one in the
EDE project and saving the project file before the deployment
is
started. All new files will then end up in that folder, also header
files.
If the tags relativeGeneratedFilePath and / or relativeRxfPath are set to something else than "."
in Rhapsody, the deployer will copy RXF files into <configured root
path>\<relative tag>. E.g. if relativeGeneratedFilePath is set
to "model" and the specified root path in the deployer's configuration
dialog is "C:\Work\GettingStarted", the generated files would end up in
"C:\Work\GettingStarted\model\". In this case the WSTDeployer would
still expect the .pjt EDE project file in the configured root path.
You must close the project in the EDE
and reopen it, before you can see the files added to your
project. We are working on this Known Issue #778.
Copyright (c) Willert
Software Tools GmbH. All rights reserved.