Hello,

I get the above mentioned error on building this target:

        <target name="dist" depends="generateJAR,javadoc" description="Create 
distributable file">
                <zip destfile="${dist}/${zip.filename}">
                        <zipfileset dir="${src}" prefix="src"/>
                        <zipfileset dir="${basedir}" includes="LICENSE"/>
                        <zipfileset dir="${dist}" excludes="${zip.filename}"/> 
<!--
                        <zipfileset dir="${dist}" > 
                                <exclude name="${zip.filename}"/>
                        </zipfileset>

                        <fileset dir="${dist}" > 
                                <exclude name="${zip.filename}"/>
                        </fileset>
-->
                </zip>
        </target>


This target used to work. Honestly, I checked Eclipse´s local history and there 
were no changes that could have caused the build to fail. Besides that, I would 
suspect that the zipfile can be created as I exclude it explicitly from itself.

Of course, a workaround would be to use another output dir, but can anyone 
explain this behaviour to me, please?
btw: How do you do it in your own buildfiles regarding the location of dist and 
zipfiles?


Lars

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to