It will return all of the targets in the main/default build file, but if
that build file includes files with additional targets, those included
targets are not listed.

I'll leave it to others to decide if this is a feature or a bug. :-)

Randy

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erv Walter
Sent: Monday, September 15, 2003 4:24 PM
To: Narayanasamy, Sundar; Jaroslaw Kowalski;
[EMAIL PROTECTED]
Subject: RE: [Nant-users] How to list available targets?


If you type "nant -projecthelp" you will get exactly what you want. 

-----Original Message-----
From: Narayanasamy, Sundar [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 15, 2003 1:58 PM
To: Jaroslaw Kowalski; [EMAIL PROTECTED]
Subject: RE: [Nant-users] How to list available targets?

Let me re-phrase the question.

I need to let the user know of my targets. When user enters "nant targets"
in my project directory, I want to list all the available targets in my
build file.

Sundar

-----Original Message-----
From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 11:50 AM
To: Narayanasamy, Sundar; [EMAIL PROTECTED]
Subject: Re: [Nant-users] How to list available targets?


nant -projecthelp

Also, when your targets have "description" attribute it will be printed as
well.

There's also NAntMenu shell extension which provides this information when
you right-click on *.nant file.

Jarek

----- Original Message -----
From: "Narayanasamy, Sundar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 8:46 PM
Subject: [Nant-users] How to list available targets?


> Hello,
>
> I have a build file that has several targets? How do I let the user
know
of the targets, when he tries it.
>
> Help is appreciated.
> Sundar
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to