This portal is to open public enhancement requests against the products and services belonging to IBM Sustainability Software. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
See this idea on ideas.ibm.com
Summary: .hep file is not loaded if it is in WSL folder
The ticket is intended for IBM Rhapsody support
I use one of the example projects "ExternalChecksProject.rpyx"
In the project I have modified property General::Model::HelpersFile to use relative path to the .hep file "../../ExternalChecks/Checks.hep"
Attached zip ("ExternalChecksSample_mod.zip") is the project after modification.
1.If I open the project and .hep file is located in Windows folder if I open it, right click and on DefaultConfig and select "Check Model" in the log I can see:
Error: Usecase without a relation to actor
in Package: Default
Use Case: FailsCheck
which means the Java plugin was properly executed. This is Ok. Relative path for .hep file works properly when in Windows folder.
2. Now I copy the same project in Linux WSL folder
and map the WSL Linux folder to a drive. For example: "subst z: \\wsl.localhost\Ubuntu\tmp"
If I open the project from Z: drive (WSL location) the .hep file will not be loaded.
If I execute DefaultConfig -> "Check Model" the above message "Use Case: FailsCheck" is not printed in the console.
If I don't use a mapped Z: folder but directly "\\wsl.localhost\Ubuntu" the result is the same - .hep file is not loaded
If I open the project from WSL location but the path in General::Model::HelpersFile is specified to a Windows folder...for example: "$OMROOT\..\Samples\ExtensibilitySamples\ExternalChecksSample\Java\ExternalChecks\Checks.hep" then it is loaded correctly
My conclusion is Rhapsody is not able to load the .hep file if the .hep file is in a WSL folder.
Idea priority | Medium |
Needed By | Month |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
Hi Team ,
Sorry for the inconvenience caused :
please find the below user provided information for your queries:1. What is the specific need for using WSL in this context?
The need for WSL is that the project is fetched (together with all needed build toolchains) and then build in Linux environment. The WSL approch provide same build environment for all developers and this approach is not unique for Visteon.Inside the project one of the component is a Rhapsody project. In order to update it developers have to manually copy it to Windows instead of open and using it directly from the project workspace in WSL.
Note there is no problem Rhapsody to generate the configuration to a WSL folder - the problem is only with loading the .hep file 2. wsl.localhost is a local Linux instance
->It was installed like this:
wsl --set-default-version 2
wsl --install ubuntu 3. The rhapsody project, the .hep file and java plugins are all part of the same project workspace and as such all inside the WSL itself.
The way it should work is this:
- developer fetch the project workspace in WSL
- maps the WSL folder to a drive and opens the Rhapsody project
- the java plugins specified by the .hep file are loaded; The .hep file is provided as a relative path...in the example shared to you: "../../ExternalChecks/Checks.hep"
- developer uses the java plugins for some automation; after Rhapsody model update is completed C++ code is generated in the WSL folder
- Now inside WSL linux console the project can be built (including the newly generated C++ code from Rhapsody What developers currenly have to do is after they fetch the project, the need to copy the rhapsody project to windows, open it from there, generate C++ files and then copy the generated files back to WSL and build the project
This is rather clumsy with several manual copy/paste steps 4. With "net use" the result is the same - the .hep file is not loaded.
Hi,
I hope you're doing well.
This is a final follow-up regarding the review request.
As we haven't received any feedback despite multiple reminders, we will proceed with closing the RFE.
If needed, we can reopen it or create a new one as required.
Regards,
Suneel...
Hi Puneeth,
Have you had a chance to receive the user's response?
I look forward to hearing from you.
Regards,
Suneel...
Hi SUNEEL ,
We are checking with user on the below requested information . Currently user is ooo will give you update once he is available.
Hi,
Have you had a chance to review the response?
Looking forward to hearing from you.
Regards,
Suneel...
Hi,
We have a few questions regarding this topic for your clarification:
What is the specific need for using WSL in this context?
Is
wsl.localhost
functioning as a network computer or as a local Linux instance?What is the rationale for placing the
.hep
file in this particular location?Have they considered using
net use
instead ofsubst
?Regards,
Suneel...