Hi,
You can create a directory on the fly using java code. First you can check
if the directory exists. If it doesn't, then create one.
Thanks
Sachin Zope
Preclinical IT
Sr. Java Developer
610-270-5863 (Work)
610-269-2243 (Home)
412-656-8343 (Cell)
"Ashish Kulkarni" <[EMAIL PROTECTED]>
23-Nov-2004 13:30
Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>
To
[EMAIL PROTECTED]
cc
Subject
[OT] Ant question
Hi
I have a ant script which creates a war file, every
thing works well but it does not copy empty directory
in the war file, i need one directory which is empty,
it is under WEB-INF and at run time xml files are
created in it,
My web application expects this empty folder and
crashes if not found,
How do i say in ant script to copy empty directory
also.
This is my ant script
<target name="all" depends="compile,createjar"
description="create deployable war file">
<war basedir="${webroot}" destfile ="download.war"
webxml="${webroot}/WEB-INF/web.xml"
excludes="**/*.properties,**/*.class" update="true" >
</war>
</target>
Ashish
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]