Hello,

I am trying to package a WAR with some xml in the WEB-INF folder.

        <war destfile="${deploy.path}/${ant.project.name}.war"
webxml="web/WEB-INF/web.xml">
          <lib dir="${deploy.path}/war/lib"/>
          <classes dir="${deploy.path}/war/classes"/>
          <webinf>
                <fileset dir="web/WEB-INF">
                  <include name="*.xml"/>
                  <exclude name="web.xml"/>     
            </fileset>
          </webinf>
        </war>

The build failed because:
BUILD FAILED
build-custom.xml:51: The following error occurred while executing this line:
build-custom.xml:92: problem opening
/home/SomeProject/web/WEB-INF/restlet-servlet.xml

I checked restlet-servlet.xml permission. It's fine. Then I don't know how
to put the restlet-servlet.xml into the WEB-INF folder in the WAR. Please
help. Thank you.
-- 
View this message in context: 
http://www.nabble.com/Build-failed-when-packaging-the-WAR-tp19764478p19764478.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to