I do my "Clean" before I get the code...just two folders in my environment.
Then I get the code from VSS.  It's our standard Build process.  Simplifies
everything!

Rod 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Towersap
Sent: Wednesday, December 28, 2005 9:55 AM
To: Gary Feldman; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] clean target

That's what I was afraid of...  How do you deal with compiler-generated code
for C++ stuff from midl?  Do you delete those manually too? I do agree this
isn't a really big issue, I was just wondering that, since from VS.net, if I
can clean a solution or project, and it deletes everything for you (save for
the pre/post build Event stuff), that there was a known NAnt command that
would do the same in NAnt.

Thanks!
Marc
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~ Marc Towersap Sr. SCM Engineer

----- Original Message ----
From: Gary Feldman <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Sent: Wednesday, December 28, 2005 10:31:32 AM
Subject: Re: [NAnt-users] clean target

Marc Towersap wrote:

>I'm using <solution/>'s to build various .sln and *proj files by passing in
the appropriate Configuration parameter (like Release or
ReleaseMinDependency.  Is there a corresponding way to "clean" the generated
files without having to a bunch of <delete dir/>'s and <delete file/>'s??
>  
>
There isn't a way using the solution task, but a single delete should be
adequate.  Usually there are just a small number of directory names, so you
can use something like:

    <delete>
        <include name="**/Debug/**" />
        <include name="**/Release/**" />
        <include name="**/temp/**" />
    </delete>

I suppose more complicated situations are possible, but this strategy has
been working fine for me.  (I actually use separate targets for C# and C++
projects, but that's no big deal.)

Gary



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to