Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » file format of .project
file format of .project [message #512284] Thu, 04 February 2010 14:28 Go to next message
Kristof Szabados is currently offline Kristof Szabados
Messages: 69
Registered: July 2009
Member
Hi,

Is there somewhere a description on the file format of the .project file
found in every eclipse project?
I was not able to find any schema description, or even a text file
telling what tags/properties are possible and what they actually mean.

Best Regards
Kristof
Re: file format of .project [message #512408 is a reply to message #512284] Thu, 04 February 2010 23:16 Go to previous messageGo to next message
Simon Zambrovski is currently offline Simon Zambrovski
Messages: 9
Registered: July 2009
Junior Member
Hi,

it is a better idea not to play around with .project files. Actually,
you can look on the IProject, IProjectDescription interfaces and the
corresponding sub-elements (natures, builders and other attributes)...

Kind regards,

Simon
Kristof Szabados schrieb:
> Hi,
>
> Is there somewhere a description on the file format of the .project file
> found in every eclipse project?
> I was not able to find any schema description, or even a text file
> telling what tags/properties are possible and what they actually mean.
>
> Best Regards
> Kristof
Re: file format of .project [message #512575 is a reply to message #512284] Fri, 05 February 2010 14:19 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

As Simon says, there is API to deal with projects. See
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/resAdv.htm
for project natures and builders. That document also includes the other
project related APIs.

We do publish a description of the file (I was surprised) in
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/reference/misc/project_description_file.ht ml

But use the provided APIs to modify it.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: file format of .project [message #512619 is a reply to message #512575] Fri, 05 February 2010 16:21 Go to previous messageGo to next message
Kristof Szabados is currently offline Kristof Szabados
Messages: 69
Registered: July 2009
Member
On 2010.02.05. 15:19, Paul Webster wrote:
> As Simon says, there is API to deal with projects. See
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/resAdv.htm
> for project natures and builders. That document also includes the other
> project related APIs.
>
> We do publish a description of the file (I was surprised) in
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/reference/misc/project_description_file.ht ml
>
>
> But use the provided APIs to modify it.
>
> PW
>

Thank you for the information.

I know it's not the best way, but most probably I will have to create a
shell script that converts from our old project format to "an eclipse
based project format".

BR
Kristof
Re: file format of .project [message #513022 is a reply to message #512408] Mon, 08 February 2010 15:30 Go to previous message
Eclipse user is currently offline Eclipse user
Messages: 49
Registered: July 2009
Member
Le 05/02/2010 00:16, Simon Zambrovski a écrit :
> Hi,
>
> it is a better idea not to play around with .project files. Actually,
> you can look on the IProject, IProjectDescription interfaces and the
> corresponding sub-elements (natures, builders and other attributes)...
>
> Kind regards,
>
> Simon
> Kristof Szabados schrieb:
>> Hi,
>>
>> Is there somewhere a description on the file format of the .project file
>> found in every eclipse project?
>> I was not able to find any schema description, or even a text file
>> telling what tags/properties are possible and what they actually mean.

By the way, is there a GUI way to set the comment of a project (from
IProjectDescription) ?
Previous Topic:Contributing editor actions to specific place in the toolbar
Next Topic:Help Contents breaks
Goto Forum:
  


Current Time: Sun Sep 21 02:12:38 GMT 2014

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

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