Source

webwork / build.xml

Diff from to

build.xml

         <attribute name="name"/>
         <sequential>
             <mkdir dir="${dist}/webapps/@{name}/src"/>
-            <copy todir="${dist}/webapps/@{name}">
-                <fileset dir="webapps/@{name}/" includes="*.iml" />
-            </copy>
             <copy todir="${dist}/webapps/@{name}/src">
                 <fileset dir="webapps/@{name}/src" includes="**/**"/>
             </copy>
 				<move file="${build}/${name}-nostatic-${version}.jar" todir="${dist}/dist" />
         <move file="${build}/${name}-static-${version}.zip" todir="${dist}/dist" />
         
-        <!-- prepare each tutorial/example -->
+        <!-- prepare the template project -->
         <webapp name="blank"/>
+        <copy todir="${dist}/webapps/blank">
+            <fileset dir="webapps/blank/" includes="*.iml" />
+        </copy>
+
+        <!-- prepare each tutorial/example -->
         <webapp name="starter"/>
         <webapp name="showcase"/>
         <webapp name="shopping-cart"/>