Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » .location file format(How can .location files be generated outside of eclipse)
.location file format [message #1464528] Fri, 07 November 2014 17:09 Go to next message
Mike Ciccarone is currently offline Mike CiccaroneFriend
Messages: 4
Registered: November 2014
Junior Member
Hi All,

I am attempting to automate the generation the .location files for a bunch of java eclipse projects in order to allow source controlled projects to be imported into any workspace, regardless of its location.

I have been able to decipher most of the .location file binary format, however I have not been able to figure out what the 18th byte is used for.

The first 17 bytes are all the same for my projects, along with the last 24 bytes.

Is there any documentation available that I can use to help me generate a .location file (without using the eclipse IDE) that eclipse can load?

Thanks
Re: .location file format [message #1465060 is a reply to message #1464528] Sat, 08 November 2014 03:12 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1441
Registered: July 2009
Senior Member
On 11/07/2014 12:19 PM, Mike Ciccarone wrote:
> Hi All,
>
> I am attempting to automate the generation the .location files for a
> bunch of java eclipse projects in order to allow source controlled
> projects to be imported into any workspace, regardless of its location.
>
> I have been able to decipher most of the .location file binary format,
> however I have not been able to figure out what the 18th byte is used for.
>
> The first 17 bytes are all the same for my projects, along with the last
> 24 bytes.
>
> Is there any documentation available that I can use to help me generate
> a .location file (without using the eclipse IDE) that eclipse can load?
>
> Thanks
>
The .location files that are located below the .metadata folder are not
designed to be shared. You shouldn't be putting the .metadata folder or
any of its contents into source control. The only Eclipse related files
you need to put into source control are the .classpath and .project
files. Eclipse will create the .metadata contents when you import a
project with these files.
Re: .location file format [message #1468315 is a reply to message #1465060] Mon, 10 November 2014 19:00 Go to previous message
Mike Ciccarone is currently offline Mike CiccaroneFriend
Messages: 4
Registered: November 2014
Junior Member
Ok, thanks
Previous Topic:iClasspathEntry problems
Next Topic:External .jar isnt recognized
Goto Forum:
  


Current Time: Mon Nov 23 16:16:49 GMT 2020

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

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

Back to the top