Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » The .project file's first line was changed unexpected after compilation!
The .project file's first line was changed unexpected after compilation! [message #803223] Tue, 21 February 2012 03:49 Go to next message
tony chen is currently offline tony chenFriend
Messages: 1
Registered: February 2012
Junior Member
We are using MinGW+Eclipse CDT do the c++ development in a team.

The strange thing is : The same source code copy, but the .project file's first line was changed unexpected after compilation!
In some work station, the first line was <?xml version="1.0" encoding="UTF-8"?>
while the others, the first line was <?xml version="1.0" encoding="UTF-8" standalone="no"?>

Re: The .project file's first line was changed unexpected after compilation! [message #803492 is a reply to message #803223] Tue, 21 February 2012 12:17 Go to previous message
HagenFriend
Messages: 90
Registered: April 2010
Member
On 2/21/2012 4:49 AM, tony chen wrote:
> We are using MinGW+Eclipse CDT do the c++ development in a team.
>
> The strange thing is : The same source code copy, but the .project file's first line was changed unexpected after compilation!
> In some work station, the first line was<?xml version="1.0" encoding="UTF-8"?>
> while the others, the first line was<?xml version="1.0" encoding="UTF-8" standalone="no"?>

This problem is not Eclipse-specific. Many development tools have
slightly different formats for their settings files between versions.

These files (.project) are Eclipse-internal. What you describe could
easily be caused by a slightly different XML processing library.

=> Place your development environment (Eclipse, compiler, etc.) under
revision control and have everyone on the project use the same tool
versions. This also makes sure you can reproduce a build in the future.
Previous Topic:"Generate makefiles Automatically " option grayed-out, why?
Next Topic:Extending cdt for makefile projects
Goto Forum:
  


Current Time: Fri Apr 26 18:56:07 GMT 2024

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

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

Back to the top