Could someone take a peek at this small build script and tell me why I'm
receiving the following error (it fails on the 'cp' target):

     [copy] Copying 2 files to c:\Inetpub\wwwroot\rentvalue\controls.

BUILD FAILED

INTERNAL ERROR

INTERNAL ERROR

[Resource lookup failed - infinite recursion detected.  Resource name:
Arg_NullR
eferenceException]
    

Keep in mind that if I comment out the second <copy> task within the 'cp'
target, my build completes successfully.



<?xml version="1.0"?>
<project name="Generic" default="compile" basedir=".">
    
    <include buildfile="properties.xml"/>

    <target name="compile" depends="prep">
        <echo message="**** Build Complete ****"/>
    </target>
    
    <target name="prep" depends="clean">
        <mkdir dir="${outputDir}"/>
        <mkdir dir="${outputDir}\bin"/>
        <mkdir dir="${outputDir}\controls\"/>
        <mkdir dir="${outputDir}\images"/>
        <mkdir dir="${outputDir}\library"/>
        <call target="cp"/>
    </target>
        
    <target name="clean">
        <delete dir="${outputDir}" failonerror="false"/>
    </target>

    
    <target name="cp">
        <copy todir="${outputDir}\controls">
            <fileset basedir="controls">
                <includes name="*.*"/>
            </fileset>
        </copy>
        <copy todir="${outputDir}\images">
            <fileset basedir="images">
                <includes name="*.*"/>
            </fileset>
        </copy>
    </target>
</project>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to