Duplicate entries in workspace file raw content
Posted: Mon Aug 15, 2016 11:17 am
After adding/removing several projects to a workspace, I observe duplicate entries when I try to commit changes using git:
Among them, sqlite is not a valid project name; sqlite_so and libsqlite are valid project, but sqlite_so have duplicate entries.
EDIT:
After I manually edited the workspace file and removed the duplicate entries, it seems the workspace file load correctly.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<CodeLite_Workspace Name="sqlite" Database="">
<Project Name="shell" Path="shell/shell.project" Active="Yes"/>
<Project Name="sqlite_so" Path="sqlite.so/sqlite_so.project" Active="No"/>
<Project Name="libsqlite" Path="libsqlite/libsqlite.project"/>
<BuildMatrix>
<WorkspaceConfiguration Name="Debug" Selected="no">
<Environment/>
<Project Name="sqlite" ConfigName="Debug"/>
<Project Name="shell" ConfigName="Debug"/>
<Project Name="sqlite_so" ConfigName="Debug"/>
<Project Name="sqlite_so" ConfigName="Debug"/>
<Project Name="libsqlite" ConfigName="Debug"/>
</WorkspaceConfiguration>
<WorkspaceConfiguration Name="Release" Selected="yes">
<Environment/>
<Project Name="sqlite" ConfigName="Release"/>
<Project Name="shell" ConfigName="Release"/>
<Project Name="sqlite_so" ConfigName="Release"/>
<Project Name="sqlite_so" ConfigName="Release"/>
<Project Name="libsqlite" ConfigName="Release"/>
</WorkspaceConfiguration>
</BuildMatrix>
</CodeLite_Workspace>
EDIT:
After I manually edited the workspace file and removed the duplicate entries, it seems the workspace file load correctly.