Commits

Anonymous committed 54f2336

dist file must have a root directory (WW-1254)

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

Comments (0)

Files changed (1)

         <!-- give a chance for project builds to do more before the zip is made. -->
         <antcall target="predist.zip"/>
 
-        <zip zipfile="${build}/${name}-${version}.zip" basedir="${dist}">
+        <zip destfile="${build}/${name}-${version}.zip">
+					<zipfileset prefix="${name}-${version}" dir="${dist}">
             <exclude name="docs/clover/**/*"/>
             <exclude name="docs/junit/**/*"/>
+        	</zipfileset>
         </zip>
+        
+        <move file="${build}/${name}-${version}.zip" todir="${dist}" />
     </target>
 
     <target name="website" depends="javadocs, docs.impl"/>