Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ollydbg on May 05, 2021, 04:45:52 am

Title: I always see a manifest.xml file which dese not belong to our repo
Post by: ollydbg on May 05, 2021, 04:45:52 am
The file is: src\plugins\contrib\SmartIndent\manifest.xml
With such contents:
Code
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_plugin_manifest_file>
    <SdkVersion major="1" minor="11" release="12" />
    <Plugin name="SmartIndentXML">
        <Value title="SmartIndentXML" />
        <Value version="0.1" />
        <Value description="Provides Smart indenting for XML and HTML" />
        <Value author="Alpha" />
        <Value authorEmail="" />
        <Value authorWebsite="" />
        <Value thanksTo="" />
        <Value license="GPL" />
    </Plugin>
</CodeBlocks_plugin_manifest_file>

Is this file automatically generated by some script?
Title: Re: I always see a manifest.xml file which dese not belong to our repo
Post by: stahta01 on May 05, 2021, 11:09:34 am
On windows, the project post build step for each target creates it.

Tim S.
Title: Re: I always see a manifest.xml file which dese not belong to our repo
Post by: Miguel Gimenez on May 05, 2021, 03:07:23 pm
The attached patch deletes the manifest.xml files after adding them to the zip files (using zip's -m option). This should prevent polution of the src folder.
Title: Re: I always see a manifest.xml file which dese not belong to our repo
Post by: oBFusCATed on May 05, 2021, 10:26:16 pm
Applied.
Title: Re: I always see a manifest.xml file which dese not belong to our repo
Post by: ollydbg on May 06, 2021, 03:15:35 am
Good job, thanks for all your guys' help and fix!