we use nant to build our application. it is 4 separate vs.net (2003)
solutions. we just fire them one after the other in a nant script.
after playing with our configuration i've noticed the following.
a decent amount of time is spent copying assemblies between "bin" folders
"up" the reference tree.
I've been able to minimize the total script runtime from 20 minutes to 6
minutes by making the following change
[1]create a property called {core.output} make it point to a folder called
"BuildOutput"
[2]on the solution task, set the outputdir attribute to ${core.output}
[3]in the solution task, specify the < assemblyfolders > node and reference
${core.output} as aan assembly folder.
almost no copying files around now, since the solution task now puts the
build outputs in {core.output} and as projects get built, {core.output} will
be used to find references.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bonio Lopez
Sent: Tuesday, March 27, 2007 8:10 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] [ANN] compiling solution file is very
veryslowinnant
Hi,
How long does it take with
devenv
${root.dir}\Source_Code\REIOSSolution\REIOS-ServiceLayerAndDependencies.sln
/build debug
?
IMHO the problem seems to be somehow related to the network
storage/traffic.
Best regards,
Boni
----------------------------------------------------------------------------
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rosy Malhotra
Sent: Dienstag, 27. März 2007 12:56
To: Evans, Jonathan (2); Jay Flowers; [EMAIL PROTECTED];
nant-users
Subject: Re: [NAnt-users] [ANN] compiling solution file is very very
slowinnant
My solution file is having around 57 projects. 5 of them are web
application. Web application takes lot of time to compile. I am using
following code to compile my solution files. Since morning I am compiling
this solution, till now ..it is keep on compiling one web service.
<target name="REIOS.compile" depends="ActiveReportsDlls.copy">
<solution
solutionfile="${root.dir}\Source_Code\REIOSSolution\REIOS-ServiceLayerAndDep
endencies.sln" configuration="Debug">
</solution>
<echo message="${task.seperator}" />
</target>
Thanks and Regards,
Rosy Malhotra
----------------------------------------------------------------------------
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Evans,
Jonathan (2)
Sent: Tuesday, March 27, 2007 5:15 PM
To: Rosy Malhotra; Jay Flowers; [EMAIL PROTECTED]; nant-users
Subject: Re: [NAnt-users] [ANN] compiling solution file is very very slow
innant
I have a build with 35 projects that I am compiling with individual build
files using csc called from a master build file. Including a huge amount of
ndoc documentation it only takes about 20 minutes. How big are your
projects and how slow is your build machine?
----------------------------------------------------------------------------
--
Jonathan Evans
----------------------------------------------------------------------------
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rosy Malhotra
Sent: Monday, March 26, 2007 9:00 AM
To: Jay Flowers; [EMAIL PROTECTED]; nant-users
Subject: Re: [NAnt-users] [ANN] compiling solution file is very very slow
in nant
Hi,
I have solution file, which is having around 40 projects. And it is taking
entire day to compile the entire solution file.
Please tell the approach, which compile solution file fast.
Some it stuck on a one web project then...it is kept on compiling only one
project.
Thanks and Regards,
Rosy Malhotra
----------------------------------------------------------------------------
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jay Flowers
Sent: Monday, March 26, 2007 10:01 AM
To: [EMAIL PROTECTED]; nant-users
Subject: [NAnt-users] [ANN] CI Factory Beta 0.8.0.101
CI Factory Beta 0.8.0.101
Announcing Beta 4 for CI Factory 0.8.0.101. It can be downloaded here and
the release notes can be viewed from here.
Justin Santa Barbara has made big contribution to this release. He
submitted not only a patch, but 2 complete Packages: Wix and Xenocode.
Justin was able to jump in and create brand new Packages with installers
with out any help >from me. He was also able to work his way through a
patch that was not just at the NAnt level but the C# level too. His
contributions add weight to my desire to focus more on making CI Factory
easy to use, understand, and contribute too than on documenting it. This is
not to say that I wont be concentrating some more than usual on
documentation. I have finally got the NAnt documentation generation added
to the build. Personally I would rather not have to read documentation, I
would rather it was just plain as day. Thanks Justin - You Rock!
Just in case you have not noticed, there will be a release every Sunday
until the RTM. There might be a Hot Beta in the middle of the week, a
surprise, the kind that just can't wait.
--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------
********************************************************************
****************************************************************************
*********************
"This message and any attachments are solely for the intended
recipient and may contain confidential or privileged information. If you are
not the intended recipient,any disclosure,copying, use, or distribution of
the information included in this message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank you."
********************************************************************
****************************************************************************
*********************
============================================================================
==Please access the attached hyperlink for an important electronic
communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html==============
================================================================************
****************************************************************************
****************************************************************************
*
"This message and any attachments are solely for the intended
recipient and may contain confidential or privileged information. If you are
not the intended recipient,any disclosure,copying, use, or distribution of
the information included in this message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank you."
********************************************************************
****************************************************************************
*********************
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users