A zip file cannot include itself - Ant build error -


I have an error in the first line of the following code during the creation of anti-builder,

  & Amp; Gt; War warfile = "$ {wartemp.dir} / $ {name} .war" basedir = "$ {wartemp.dir}" web xml = "$ {wartemp.dir} /WEB-INF/web.xml" & gt; & Lt; Include name = "*" /> & Lt; Include name = "script / **" /> & Lt; Include name = "genres / **" /> & Lt; Include name = "picture / **" /> & Lt; Include name = "WEB-INF /*.*"/& gt; & Lt; Include name = "WEB-INF / lib / **" / & gt; & Lt; Include name = "WEB-INF / view / **" / & gt; & Lt; Include name = "WEB-INF / classes / **" /> & Lt; Include name = "WEB-INF / jsp / **" /> & Lt; Include name = "WEB-INF / resource / **" /> & Lt; Include name = "WEB-INF / spring / **" / & gt; & Lt; Include name = "WEB-INF / Message / **" /> & Lt; Include name = "WEB-INF / layout / **" / & gt; & Lt; Leave name = "WEB-INF / web.xml" /> & Lt; Leave the name = "** /. *" / & Gt; & Lt; / War & gt;  

The error message is:

"... /WEB-INF/build.xml:67: a zip file can not contain itself" before line 67 The snippet line posted above is

I am the beginning of the Spring Framework, how am I using SpringSpace 3 Springs with toolsuits to fix it? Thank you.

Your director is the only one, where you are sending output battle files. This is not a problem in itself, the problem is that you are included as the * input which will include the output file.

To fix this, you must include the output file including files, example:

    

Or you can write war files in a separate directory structure, such as you are reading, for example:

   & Lt; War warfile = "$ {war.output.dir} / $ {name} .war" ... & gt;  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -