Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Delete .metadata while running headless exe
Delete .metadata while running headless exe [message #1782761] Thu, 01 March 2018 06:40 Go to next message
Gaurav Tripathi is currently offline Gaurav TripathiFriend
Messages: 40
Registered: September 2015

I have a situation where we do not want .metadata to be present within a workspace.
Every time I click on headless exe, .metadata is created which is needless for me.

Does anyone know how to restrict the creation of .metadata or anything related?
Re: Delete .metadata while running headless exe [message #1782780 is a reply to message #1782761] Thu, 01 March 2018 10:36 Go to previous messageGo to next message
Naveen  R is currently offline Naveen RFriend
Messages: 2
Registered: March 2018
Junior Member
You can use the -data @none argument to a headless RCP to specify that no workspace should be created. You can also set the environment variable osgi.instance.area=@none for this.

See the Eclipse runtime options help for more details.

for headless plugin creation please refer the below link

[Updated on: Mon, 05 March 2018 12:08]

Report message to a moderator

Re: Delete .metadata while running headless exe [message #1782815 is a reply to message #1782761] Thu, 01 March 2018 19:24 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 719
Registered: January 2012
Senior Member

See the "Locations" section on the Eclipse runtime options page. You should be able to set the instance location (aka the workspace) to `@none`. From the command-line, try with `-data @none`.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:A cycle was detected when generating the classpath
Next Topic:ILaunchManager: plans to expose importConfigurations() ?
Goto Forum:

Current Time: Tue Mar 20 17:58:47 GMT 2018

Powered by FUDForum. Page generated in 0.01932 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software