News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

I always see a manifest.xml file which dese not belong to our repo

Started by ollydbg, May 05, 2021, 04:45:52 AM

Previous topic - Next topic

ollydbg

The file is: src\plugins\contrib\SmartIndent\manifest.xml
With such contents:
<?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?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

stahta01

On windows, the project post build step for each target creates it.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

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.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.