ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikol...@proactive.dk
Subject ant multiprocess io delete problem (xdoclet)...
Date Mon, 21 Oct 2002 15:52:34 GMT
Hi there,

Im running 3 ant build processes at the same time and suddenly a file is
deleted by an other process... ?

This is what I get (paths taken out):

BUILD FAILED
file:build.xml:321: Deployment descriptor: /webapps/WEB-INF/web.xml does
not exist.

Im executing ant from bash with:
$ANT_HOME/bin/ant -buildfile build.xml >
$BUILD_LOG/$BRANCH/$STAMP/compile.log

The above process is forked from a c program.

Could someone please tell me how to solve this - the build is running on
Linux RedHat 7.3 with jdk1.3.1_01.


Here's the snippet from my build file (actually called with an ant task
from the main build file) :
...

    <target name="run_webdoclet">

        <delete file="${webinf.dir}/web.xml"/>
        <taskdef name="webdoclet" classname="xdoclet.web.WebDocletTask"
classpathref="compile.class.path"/>

        <webdoclet sourcepath="${src.dir}" destdir="${src.dir}"
            classpathref="compile.class.path" force="true">

            <fileset dir="${src.dir}">
                <!--       <include name="**/*Servlet.java" />  -->
                <include name="**/ListExchangesController.java"/>
                <include name="**/InitServlet.java"/>
                <include name="**/InitLog4J.java"/>
                <include name="**/ErrorController.java"/>
                <include name="**/LookupController.java"/>
                <include name="**/LoginServlet.java"/>
                <include name="**/CheckMessageController.java"/>
                <include name="**/BusinessEntityController.java"/>
                <include name="**/BusinessEntityTypeController.java"/>
                <include name="**/ProductController.java"/>
                <include name="**/VendorController.java"/>
                <include name="**/SchedulerController.java"/>
                <include name="**/UserManagementController.java"/>
                <include name="**/UserGroupManagementController.java"/>
                <include name="**/DataConfigurationController.java"/>
                <include name="**/ExchangeController.java"/>
                <include name="**/CreateExchangeController.java"/>
                <include name="**/ExchangerDirectoryController.java"/>
                <include name="**/BrowserFilter.java"/>
                <include name="**/CompileController.java"/>
            </fileset>

            <deploymentdescriptor sessiontimeout="120" servletspec="2.3"
                destdir="${webinf.dir}"
                mergedir="${conf.dir}/${subproject}">

                <contextparam name="java.naming.provider.url" value
="localhost:1099"/>
                <contextparam name="protocol" value="http://"/>
                <contextparam name="server" value="localhost"/>
                <contextparam name="port" value="8080"/>
                <contextparam name="web-name" value="/eip"/>

                <taglib uri="http://www.videlity.dk/ControlTags" location
="/WEB-INF/jsp/taglibs/ControlTags.tld"/>
                <taglib uri="http://www.videlity.dk/PageFrameworkTags"
location="/WEB-INF/jsp/taglibs/PageFrameworkTags.tld"/>
                <taglib uri="http://www.videlity.dk/Navigation" location
="/WEB-INF/jsp/taglibs/Navigation.tld"/>
                <taglib uri="http://www.videlity.dk/Portal" location
="/WEB-INF/jsp/taglibs/Portal.tld"/>
                <taglib uri="http://www.videlity.dk/SecurityTags" location
="/WEB-INF/jsp/taglibs/SecurityTags.tld"/>
                <taglib uri="http://www.videlity.dk/Jboss" location
="/WEB-INF/jsp/taglibs/jbosssmx.tld"/>
            </deploymentdescriptor>

            <!--  Her skal taglib'ene tld'er genereres!!!
            <jsptaglib jspversion="1.2" destdir="
${build.dir}/WEB-INF/jsp/taglibs"
                shortname="ControlTags" validateXml="true" />
            -->
        </webdoclet>
    </target>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message