Are you sure you're using a new version of NAnt to rebuild itself?

To rebuild NAnt you should use the mini-nant that comes in the package.
In general, when you're in nant base directory, run "bin\NAnt.exe" and nant
will rebuild itself into "build\".

Be sure that you have the appropriate .NET SDK installed and configured in
nant.exe.config or use "-k" command line option to specify a valid one.

Jarek

----- Original Message ----- 
From: "Nitin Agarwal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 09, 2004 8:48 PM
Subject: [Nant-users] Nant not working - Property 'nant.platform.name' has
not been set!


I have created a build file for compiling my application.
The build file is using the <solution> task for building the project and
its working fine on my machine.

But when I try to build the solution on a build machine (separate
machine we use for building the solution and creating setup), I get the
following error:

 Unknown task <solution>

Also, when I try to build nant source itself on that machine, I get the
following error.
C:\Nant\NAnt.build(3,6):
 Property 'nant.platform.name' has not been set!

When I set this property in the nant command using -D option, the nant
build goes a little further but fails with the following error:
  [foreach]  Failed to created Task for 'nant' xml element for reason:
 C:\Nant\NAnt.build(89,14):
 Property 'nant.platform.win32' has not been set!:
SourceForge.NAnt.BuildException: C:\Nant\NAnt.build(89,14):
 Property 'nant.platform.win32' has not been set!
   at SourceForge.NAnt.PropertyDictionary.ExpandProperties(String input,
Locatio
n location)


Please help.

Thanks.



-------------------------------------------------------
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