2022 holidays: Best way to add them to multiple .gan files?

Hello,
I have added my 2022 holidays to a .gan file.
I have “manually” added the info as plain text into a second .gan file.
When I opened to test this, the “scheduler” says a lot of messages about changed tasks.

Is this the recommended way to “propagate” 2022 holidays on all my .gan project files?

Thank you!

What is your concern: the need to edit gan file in a text editor or messages from the scheduler? The scheduler does what it is supposed to do: if it sees that some task should be shifted because it now falls on a holiday, it shifts it.

Hello Dmitry,
I have several .gan files. Should I then copy the plain text of the holidays to each and every .gan file to add the 2022 holidays?

Here is my way to contribute and have that data available for any other Ganttproject user interested in 2022 holidays in Spain.

<calendars base-id="es">
    <day-types>
        <day-type id="0"/>
        <day-type id="1"/>
        <default-week id="1" name="default" sun="1" mon="0" tue="0" wed="0" thu="0" fri="0" sat="1"/>
        <only-show-weekends value="false"/>
        <overriden-day-types/>
        <days/>
    </day-types>
    <date year="" month="1" date="1" type="HOLIDAY">
        <![CDATA[Año Nuevo]]>
    </date>
    <date year="" month="1" date="6" type="HOLIDAY">
        <![CDATA[Reyes Magos]]>
    </date>
    <date year="" month="5" date="1" type="HOLIDAY">
        <![CDATA[Fiesta del Trabajo]]>
    </date>
    <date year="" month="8" date="15" type="HOLIDAY">
        <![CDATA[Asunción]]>
    </date>
    <date year="" month="10" date="12" type="HOLIDAY">
        <![CDATA[Fiesta Nacional]]>
    </date>
    <date year="" month="11" date="1" type="HOLIDAY">
        <![CDATA[Todos los Santos]]>
    </date>
    <date year="" month="12" date="6" type="HOLIDAY">
        <![CDATA[Constitución]]>
    </date>
    <date year="" month="12" date="8" type="HOLIDAY">
        <![CDATA[Inmaculada Concepción]]>
    </date>
    <date year="" month="12" date="25" type="HOLIDAY">
        <![CDATA[Christmas Day]]>
    </date>
    <date year="" month="11" date="9" type="HOLIDAY">
        <![CDATA[Almudena (MADRID)]]>
    </date>
    <date year="" month="5" date="2" type="HOLIDAY">
        <![CDATA[Comunidad MADRID]]>
    </date>
    <date year="" month="7" date="25" type="HOLIDAY">
        <![CDATA[Santiago]]>
    </date>
    <date year="2020" month="11" date="2" type="HOLIDAY">
        <![CDATA[All Saints Day (in lieu)]]>
    </date>
    <date year="2020" month="12" date="7" type="HOLIDAY">
        <![CDATA[Constitution Day (in lieu)]]>
    </date>
    <date year="2021" month="3" date="19" type="HOLIDAY">
        <![CDATA[San José 2021]]>
    </date>
    <date year="2021" month="5" date="3" type="HOLIDAY">
        <![CDATA[Com MADRID 2021]]>
    </date>
    <date year="2021" month="4" date="1" type="HOLIDAY">
        <![CDATA[Jueves Santo]]>
    </date>
    <date year="2021" month="4" date="2" type="HOLIDAY">
        <![CDATA[Viernes Santo]]>
    </date>
    <date year="2021" month="5" date="4" type="HOLIDAY">
        <![CDATA[Elecciones CAM]]>
    </date>
    <date year="2021" month="10" date="11" type="HOLIDAY">
        <![CDATA[Días festivos en 11/10/21 0:00]]>
    </date>
    <date year="2021" month="11" date="8" type="HOLIDAY">
        <![CDATA[Días festivos en 8/11/21 0:00]]>
    </date>
    <date year="2021" month="12" date="7" type="HOLIDAY">
        <![CDATA[Días festivos en 7/12/21 0:00]]>
    </date>
    <date year="2022" month="4" date="14" type="HOLIDAY">
        <![CDATA[Jueves Santo]]>
    </date>
    <date year="2022" month="4" date="15" type="HOLIDAY">
        <![CDATA[Viernes Santo]]>
    </date>
    <date year="2022" month="12" date="26" type="HOLIDAY">
        <![CDATA[Navidad 2022]]>
    </date>
    <date year="2022" month="5" date="16" type="HOLIDAY">
        <![CDATA[Madrid San Isidro]]>
    </date>
</calendars>

You might as well import holidays from ics files, but if you’re not afraid of editing XML, this is probably the fastest option.