Environment CDATA grows empty lines

General questions regarding the usage of CodeLite
tankist02
CodeLite Veteran
Posts: 56
Joined: Thu Sep 22, 2011 11:29 pm
Genuine User: Yes
IDE Question: c++
Contact:

Environment CDATA grows empty lines

Post by tankist02 »

For some reason after a workspace is loaded and rebuilt the following section in .project files gets a new empty line:

<Environment EnvVarSetName="<Use Workspace Settings>" DbgSetName="<Use Global Settings>">
<![CDATA[

--->>> empty lines go here

]]>

I tried first to remove all empty lines manually in an editor and then just deleted the whole <Environment> element - didn't help.
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Environment CDATA grows empty lines

Post by eranif »

I noticed that as well. This bug was introduced in v3.0

Fixed in trunk

Eran
Make sure you have read the HOW TO POST thread
tankist02
CodeLite Veteran
Posts: 56
Joined: Thu Sep 22, 2011 11:29 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Environment CDATA grows empty lines

Post by tankist02 »

Nice! Let me try again...
tankist02
CodeLite Veteran
Posts: 56
Joined: Thu Sep 22, 2011 11:29 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Environment CDATA grows empty lines

Post by tankist02 »

I noticed this bug is back on revision 5275. It happens when project build order is updated.
josee
CodeLite Enthusiast
Posts: 37
Joined: Fri Feb 05, 2010 10:57 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Environment CDATA grows empty lines

Post by josee »

The newest version v.3.5.5375 on Ubuntu 11.04 still shows this behaviour.

Adding or deleting files to a project adds also empty lines to CDATA sections.

I'm removing these lines by use of git version control system with "git checkout -p ..."
but it is not a real solution.

Jörg
Post Reply