<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Working with git and empty folders</title><link>https://answers.axonivy.com/questions/3124/working-with-git-and-empty-folders</link><description>&lt;p&gt;My Axon.ivy Project (or at least as IAR-File) got errors, when I work with git. Git doesn't allow to commit empty folders. But these folders must exist because they are referenced as source folders in &lt;code&gt;.classpath&lt;/code&gt;.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3124/working-with-git-and-empty-folders" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 07 Mar 2018 06:09:06 -0500</lastBuildDate><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/3124/working-with-git-and-empty-folders/3125</link><description>&lt;p&gt;&lt;strong&gt;Axon.ivy 7.1 and later&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This should be no problem anymore. All source folders are now optional in &lt;code&gt;.classpath&lt;/code&gt;. If you have an older project, there is a project migration which makes all source folders optional.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Axon.ivy 7.0 and prior&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can modify the file &lt;code&gt;.classpath&lt;/code&gt; in the root folder of your project manually. Modify all &lt;code&gt;classpathentry&lt;/code&gt; of &lt;code&gt;kind&lt;/code&gt;=&lt;code&gt;src&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Before&lt;/em&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;classpathentry kind="src" path="src"/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;After&lt;/em&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;classpathentry kind="src" path="src"&amp;gt;
    &amp;lt;attributes&amp;gt;
       &amp;lt;attribute name="optional" value="true"/&amp;gt;
     &amp;lt;/attributes&amp;gt;
&amp;lt;/classpathentry&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Wed, 07 Mar 2018 06:09:06 -0500</pubDate><guid>https://answers.axonivy.com/questions/3124/working-with-git-and-empty-folders/3125</guid></item></channel></rss>