|
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 |
Hagen 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.
|
|
|
Powered by
FUDForum. Page generated in 0.03216 seconds