Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumslauncher.openFile not working on RCP
https://www.eclipse.org/forums/index.php/mv/msg/509714/1091777/#msg_1091777
--launcher.defaultAction
openFile
but it didn't work. I also tried calling explicitly from the command line with
myRCP --launcher.openFile foo.txt
and it also didn't work.
Other command line arguments seem to work fine. For example, I use -data to set the workspace directory. I also defined a few arguments for my RCP and treat them in a class implementing IStartup.
I don't even know where the problem could be. Any suggestions?
]]>Erick Fonseca2013-08-22T00:26:23-00:00Re: launcher.openFile not working on RCP
https://www.eclipse.org/forums/index.php/mv/msg/509714/1092222/#msg_1092222
The former is set in the product extension point (org.eclipse.core.runtime.products), as the appName property. The latter is simply the name of the executable, with a capital initial. So, I must either supply a -name command line argument to match the appName or (more sensibly) change the appName in the plugin.xml.]]>Erick Fonseca2013-08-22T13:37:12-00:00Re: launcher.openFile not working on RCP
https://www.eclipse.org/forums/index.php/mv/msg/509714/1817032/#msg_1817032
satish Chinthanippu2019-11-14T10:59:10-00:00