For me, I usually have a separate directory where I tar, zip/gzip/bzip2
my deployments. Mostly because then I can just sftp or copy the
contents of that directory to wherever they are needed. It always
"felt" cleaner to do so...
So, I breakup my directories into something like this:
project
assembly
deploy
generated
classes
javacc
release
I am guessing you are probably compiling to the ${dist} dir?
Lars Monsees wrote:
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]
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]