I think this is in the FAQ, but basically you want to use the
<nant_schema> task. Here's what I do:

    <target name="nant_schema" description="Generates a schema">
        <loadtasks assembly="${nantcontrib_tasks_dll }"
if="${file::exists(nantcontrib_tasks_dll)}"/>
        <loadtasks assembly="${my_tasks_dll}"
if="${file::exists(my_tasks_dll)}"/>
        <nantschema output="${output_dir}\nant.xsd"
target-ns="http://nant.sourceforge.net/schema/"/>
    </target>

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Francisco
T. Martinez
Sent: Tuesday, March 15, 2005 12:19 PM
To: Gert Driesen
Cc: [email protected]
Subject: [Nant-users] prj2make and .build files

Hi folks:

Is there an XML schema that documents the NAnt build file?

In the Mono project we have a mechanism to generate both make files and 
#Develop compatible solution and project file types.  At there are a few

other projects that have evolved from the original prj2make-sharp core.

For the most part prj2make uses XML Serialization to read and write the 
project files it handles today. 

I am interested in studying the potential to add support for generating 
build files from prj2make and could use such schema.

Best regards.


Francisco "Paco" Martinez
http://www.mono-project.com



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to