[Solved] Project configuration file not discovered

0 votes
asked Feb 15, 2018 in Solved by programaths (160 points)
recategorized Feb 20, 2018 by ludek.vodicka

I saved a file named types.skipper.cfg.xml next to my project file BX Formation.skipper and wrote the following content in it:

<?xml version="1.0"?>
<skipper-configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <mvc-support-orm mvc-name="Symfony2" orm-name="Doctrine2">
        <data-types>
            <data-type name="action_type"/>
        </data-types>
    </mvc-support-orm>
</skipper-configuration>

I expect to see the new "action_type" in the appropriate select box, but nothing new appear.

The procedure I did follow is explained here: Project configuration files

commented Feb 15, 2018 by ludek.vodicka Skipper developer (140,450 points)

It's exactly like it should be. There have to be something else wrong.

Can you please send/publish any testing project together with mentioned types.skipper.cfg.xml file so we can test it?

commented Feb 15, 2018 by programaths (160 points)

The XML is the content of the file.
I will do the test project at home when I have more time.

commented Feb 15, 2018 by ludek.vodicka Skipper developer (140,450 points)

I thought your project file. But I think I know where is the problem.

You have mvc-name="Symfony2" but the correct value is "Symfony". This is the reason why I wanted your Skipper project file.

Check if mvc-name and orm-name is the same like in the project.xml file

commented Feb 20, 2018 by programaths (160 points)

Thank you very much! That was exactly that.
I couldn't give the project file as it contains private information.
It works like intended.

1 Answer

+1 vote
answered Feb 20, 2018 by ludek.vodicka Skipper developer (140,450 points)
 
Best answer

You have mvc-name="Symfony2" but the correct value is "Symfony". This is the reason why I wanted your Skipper project file.

Check if mvc-name and orm-name is the same like in the project.xml file

commented Feb 20, 2018 by programaths (160 points)
edited Feb 20, 2018 by ludek.vodicka

Merci. Je suis maintenant un heureux possesseur d'une licence :-)

"Thank you. I am now a happy owner of a license"

...