-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens
[EMAIL PROTECTED]
Verzonden: woensdag 15 februari 2006 5:15
Aan: nant-users@lists.sourceforge.net
Onderwerp: NAnt-users digest, Vol 1 #1729 - 2 msgs

Send NAnt-users mailing list submissions to
        nant-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/nant-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of NAnt-users digest..."


Today's Topics:

   1. nant solution file not building solution (Marc Towersap)
   2. RE: nant solution file not building solution (Craig Wagner)

--__--__--

Message: 1
Date: Tue, 14 Feb 2006 12:25:13 -0800 (PST)
From: Marc Towersap <[EMAIL PROTECTED]>
Reply-To: Marc Towersap <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] nant solution file not building solution

I have some weird problem.  I am using the <solution> task, and it works
on most of my projects.  But one of my projects will NOT build the code.
It seems to copy an older dll into it.  It's a cs project using VS2003.

If I build from VisualStudio and do a rebuild, it works as expected, the
dll has the correct date/time.

My build file looks like:

<target name="clean">
  delete dir="${binDir}" if="${directory::exists(binDir)}"/>
</target>

<target name="build_rel">
  <solution configuration="Release">
     <projects>
        <include name="myproject.csproj"/>
    </projects>
  </solution>
</target>

If I do a nant clean, it deletes the bin dir as expected.
When I do a nant build_rel, I see:
NAnt 0.85 (Build 0.85.1932.0; rc3 4/16/2005)
etc etc.

Target framework: Microsoft .NET Framework 1.1
Target(s) Specified: build_rel 

build_rel:

  [solution] Starting solution build.
  [solution] Building 'myproject' [Release] ...

BUILD SUCCEEDED

When I cd bin\Release, and dir, I see my dll with a date of last year's
build.
WHen I cd ..\.., then nant clean, the bin dir is removed.  Then
rebuilding it again, I get a date of last year.  Since I see nothing
about files being compiled or even the number of files being compiled,
it's difficult to tell if it's even compiling.  Unlike java, which you
can tell based on java files compiling to class files, I don't see any
.cs files corresponding object files.  All I see is the final dll, which
has a date of last year no matter how often I clean then build.

What's funny is, if I check out a .cs file, add a newline (so it
modifies but doesn't change any functionality), save, rebuild, it has
the correct date/time (Feb 14).  Then I just rebuild it via a nant clean
build_rel.  ANd it has last year's date/time again!  Undoing the
checkout keeps last years date/time after clean/rebuilding.

I am confused...  I am using ClearCase 6, latest Clearcase patches, and
using snapshot views for what that's worth...

Does anyone have any answers?  Is there some undocumented <solution>
parameter I can use to force rebuilding?

TIA!

Marc Towersap Sr. SCM Engineer




--__--__--

Message: 2
Subject: RE: [NAnt-users] nant solution file not building solution
Date: Tue, 14 Feb 2006 13:01:25 -0800
From: "Craig Wagner" <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net

Try deleting your obj folder as well as your bin folder when you do the
clean.

-----Original Message-----

Does anyone have any answers=3F  Is there some undocumented <solution>
parameter I can use to force rebuilding=3F

*******************************************************************
Note: The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us
immediately by replying to the message and deleting it from your
computer.
Thank you.
Stockamp & Associates, Inc.
*******************************************************************




--__--__--

_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


End of NAnt-users Digest




-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to