1. opensymphony
  2. webwork

Commits

rainerh  committed fe9b54b

Running ant new in webapps fails
o only copy over the template IDEA project definition
Issue number: WW-1251
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2499573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 03778fd
  • Branches master

Comments (0)

Files changed (1)

File build.xml

View file
  • Ignore whitespace
         <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"/>