Title: Nant Help for a Newbie?

Looks like people aren't to hot to help a new guy?  Posted a couple messages requesting help but have received no answers.  I read through some documentation but it wasn't intuitive enough to teach me how to use Nant.  I'm very interested in learning this tool but does anyone have a how-to? Step by step? Something?  A url would be great.

Thanks in advance

Evan A. Bonnett


-----Original Message-----
From: Thomas Marshall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 11, 2003 2:38 PM
To: Michael Dang; [EMAIL PROTECTED]
Subject: Re: [Nant-users] <license> tag help


I updated the license task to take out the path as
recommended, but it does not make any difference.
When I run the build the FlexGridBuildTest.exe.license
file is created, but it looks like it is not getting
included as a reference (i.e. I don't get any XXX
References read from FlexGridBuildTest.exe.license
messages).  Below is the current build file, please
let me know if there are any other ideas to get this
working:

<?xml version="1.0"?>

<project name="FlexGridBuildTest" default="build">
        <description>Test building a project with a flex grid</description>

        <property name="flex.debug"   value="true"/>
        <property name="flex.lib.dir" value="C:\Program Files\ComponentOne Studio.NET\bin"/>
        <property name="flex.out"   
value="FlexGridBuildTest\bin\debug"/>
        <property name="flex.src"   
value="FlexGridBuildTest"/>

        <target name="init" description="create a directory
for the files, and get the util files">

                <!-- Create an output directory -->
                <mkdir dir="${flex.out}"/>

                <!-- Copy DLLs from the lib directory -->
                <copy todir="${flex.out}">
                        <fileset basedir="${flex.lib.dir}">
                                <includes name="C1.Win.C1FlexGrid.dll"/>
                        </fileset>
                </copy>
        </target>

        <target name="clean" description="remove all
generated files">
                <delete dir="${flex.out}" failonerror="false"/>
        </target>

        <target name="build" depends="init"
description="compile the code">
                <license input="${flex.src}\licenses.licx" output="${flex.out}\FlexGridBuildTest.exe.license"
licensetarget="FlexGridBuildTest.exe">
                        <assemblies>
                                <includes
name="${flex.out}\C1.Win.C1FlexGrid.dll"/>
                        </assemblies>
                </license>

                <csc target="winexe" output="${flex.out}\FlexGridBuildTest.exe"
debug="${flex.debug}">
                        <references>
                                <includes
name="${flex.out}\C1.Win.C1FlexGrid.dll"/>
                        </references>

                        <resources>
                                <includes name="${flex.src}\*.resx"/>
                                <includes name="${flex.out}\*.license"/>
                        </resources>

                        <sources>
                                <includes name="${flex.src}\*.cs"/>
                        </sources>
                </csc>
        </target>
</project>


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive?  Does it help you create better code?  SHARE THE LOVE, and help us help YOU!  Click Here: http://sourceforge.net/donate/ _______________________________________________

Nant-users mailing list
[EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to