Reference to undefined variable file_uri

Discussions about Java virtual machine, installation, and running

Moderator: Moderators

Reference to undefined variable file_uri

Postby kundan.doiphode@hcl.com » Tue Jan 04, 2022 10:09 pm

md1.jpg
Hello,

I'm trying to setup MD but I'm getting this error.

The file_uri is not even present in the list of VM variables.

I'm using eclipse 2021-12 (latest).

The VM arguments:

-XX:+IgnoreUnrecognizedVMOptions
-Xdock:name=MagicDraw -Xdock:icon=${workspace_loc:/MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY/bin}/md.icns
-Dapple.laf.useScreenMenuBar=true
-Xmx2000M
-Xss1024K
-Dosgi.framework.extensions=reference:${file_uri:${workspace_loc:/MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY/lib/bundles}}/com.nomagic.magicdraw.osgi.fragment

-Dosgi.bundlefile.limit=500
-DLOCALCONFIG=true
-Dmd.class.path="${project_classpath:MagicDraw with all plugins}"
-Dcom.nomagic.osgi.config.dir="${resource_loc:MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY}/configuration"
-Desi.system.config="${resource_loc:MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY}/data/application.conf"
-Dlogback.configurationFile="${resource_loc:MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY}/data/logback.xml"
-Dinstall.root="${resource_loc:MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY}"
-Dmd.plugins.dir="${resource_loc:MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY}/plugins;${workspace_loc}"

The problem lies here:
-Dosgi.framework.extensions=reference:${file_uri:${workspace_loc:/MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY/lib/bundles}}/com.nomagic.magicdraw.osgi.fragment

I've tried giving direct path to com.nomagic.magicdraw.osgi.fragment but failed. Maybe I'm giving it wrong?
Any help is welcome!

I'm adding pics to reference.

Thanks
You do not have the required permissions to view the files attached to this post.
kundan.doiphode@hcl.com
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Tue Jan 04, 2022 5:00 am

Return to Installing and running

Who is online

Users browsing this forum: No registered users and 0 guests

cron