Re: [nant-dev] Hi

2005-02-22 Thread Troy Laurin
On Wed, 23 Feb 2005 10:00:40 +1300, Orion Edwards <[EMAIL PROTECTED]> wrote:
> Hi, just joined this list because I'm planning on transitioning our current
> build process (which is a big mess of shell scripts under cygwin) over to 
> NAnt.
> Thus far I like it a lot, however there was one critical thing which NAnt
> didn't do, and which I couldn't find anything indicating how I might do it -
> which is to continue the build upon project failure (after running failure
> actions such as emailing), rather than just dying on the spot.
> 
> As such I fixed it myself (score +10 for Open Source)... If anyone else has
> already done this or knows of a more 'normal' means, can you please let me
> know, otherwise here's some patches for 0.85-rc2.

Orion,

NAntContrib RC2 has a  task which you can probably use to
effect the same behaviour as you've patched in yourself.

http://nantcontrib.sourceforge.net/
http://nantcontrib.sourceforge.net/release/latest/help/tasks/trycatch.html

> [snip]
> 
> I'm kind of expecting someone to come back and say 'no we don't want that, go
> away', but if by some small chance someone wants to include it, if I have to
> jump through any hoops before submitting patches (signing agreements/etc) then
> could you point me in the right direction?

Usually, there is nothing that needs to be done that can't be done via
tasks instead of by modifying the core.  Of course, you have the
source so there's nothing to stop you from doing so, but having a
custom core would probably make upgrading much harder than if you use
custom tasks.  Of course this is all IMHO, you are more than welcome
to use whatever method works :-)

> Thanks for the great product and for your time, Orion.

Thanks for your support,

-- Troy


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Hi

2005-02-22 Thread Orion Edwards
Hi, just joined this list because I'm planning on transitioning our current
build process (which is a big mess of shell scripts under cygwin) over to NAnt.
Thus far I like it a lot, however there was one critical thing which NAnt
didn't do, and which I couldn't find anything indicating how I might do it -
which is to continue the build upon project failure (after running failure
actions such as emailing), rather than just dying on the spot.

As such I fixed it myself (score +10 for Open Source)... If anyone else has
already done this or knows of a more 'normal' means, can you please let me
know, otherwise here's some patches for 0.85-rc2.

With these if you set the nant.resumeonfailure property to anything (true is
nice), then Nant will report a project fail, run the nant.onfailure action, but
then pick up where it left off. It will not rebuild projects which have
previously failed, and if any projects have a dependancy which has previously
failed then they'll be skipped too.

I'm kind of expecting someone to come back and say 'no we don't want that, go
away', but if by some small chance someone wants to include it, if I have to
jump through any hoops before submitting patches (signing agreements/etc) then
could you point me in the right direction? 

Thanks for the great product and for your time, Orion.
--- Project.cs  2005-01-24 03:42:28.0 +-1300
+++ Project.cs  2005-02-21 21:22:48.0 +-1300
@@ -105,12 +105,13 @@
 internal const string NAntPropertyProjectName = "nant.project.name";
 internal const string NAntPropertyProjectBuildFile = 
"nant.project.buildfile";
 internal const string NAntPropertyProjectBaseDir = 
"nant.project.basedir";
 internal const string NAntPropertyProjectDefault = 
"nant.project.default";
 internal const string NAntPropertyOnSuccess = "nant.onsuccess";
 internal const string NAntPropertyOnFailure = "nant.onfailure";
+   internal const string NAntPropertyResumeOnFailure = 
"nant.resumeonfailure";
 
 #endregion Internal Static Fields
 
 #region Public Instance Events
 
 public event BuildEventHandler BuildStarted;
@@ -875,20 +876,35 @@
 Target callingTarget = _currentTarget;
 
 do {
 // determine target that should be executed
 currentTarget = (Target) sortedTargets[currentIndex++];
 
+   if(currentTarget.ExecuteFailed)
+   {
+   Log(Level.Info,"Skipping Project {0} 
because Dependancy {1} failed",
+   targetName,currentTarget.Name);
+   break;
+   }
+
 // store target that will be executed
 _currentTarget = currentTarget;
 
 // only execute targets that have not been executed already, 
if 
 // we are not forcing.
 if (forceDependencies || !currentTarget.Executed) {
 currentTarget.Execute();
 }
+
+   if(currentTarget.ExecuteFailed)
+   {
+   Log(Level.Info,"Skipping Project {0} 
because Dependancy {1} failed",
+   targetName,currentTarget.Name);
+   break;
+   }
+
 } while (!currentTarget.Name.Equals(targetName));
 
 // restore calling target, as a  task might have caused the 
 // current target to be executed and when finished executing this 
 // target, the target that contained the  task should be 
 // considered the current target again
--- Target.cs   2004-10-31 05:15:36.0 +-1300
+++ Target.cs   2005-02-23 09:43:13.0 +-1300
@@ -36,12 +36,13 @@
 private string _name = null;
 private string _description = null;
 private string _ifCondition = null;
 private string _unlessCondition = null;
 private StringCollection _dependencies = new StringCollection();
 private bool _executed = false;
+   private bool _executefailed = false;
 
 #endregion Private Instance Fields
 
 #region Public Instance Constructors
 
 /// 
@@ -57,14 +58,22 @@
 /// 
 /// This indicates whether the target has already executed.
 /// 
 public bool Executed {
 get {
 return _executed;
-}
-}
+}
+}
+
+   public bool ExecuteFailed
+   {
+   get 
+   {
+   return _executefailed;
+   }
+   }
 
 /// 
 /// The name of the target.
 /// 
 /// 
 ///  

[nant-dev] hi

2004-01-26 Thread vault-list
3-¸èw
Bº<^‚T×”_Ð…wôÉI2œyO-MG6dÒæE>d?Ùçþ鶢ú`dÂBTˆ½š«¼pG?õ¬k±<Âlä·öØr&üc/žkMóC¼Ñ(dJ\A?ÐôBº}oeÎù—?K“øúŽ?^7:L
 ØN$¡%N|
’(
÷­ÚÁí<…p[£Ã 
]]ÊÖÜâsOTð¦Ô­CßÏåb ó×x„͇>Â\ë¾BÞ’6k›žÙù?DO|îN1ך›?íœkLóÖ>QndpguâsTogI5Cº“%³GÖcŠÝ>!kwY–/?U
 ¶½f?¼ç”ô6Ù†2n2‰è?–éCe ?CжŸÃƒ½âcU”ÐÂR`ž—ü5M\JÙÓqDMhÀQ¼pèë&
ë}ÐËÕá|v?²~vàèá‡C”b²•7$ºüm¤TÝaN¦]¨é‚°½r«8§
ål
¸l¡Reu¿†ÍísƒIL°´¶LõÎ䨂d‘´‹¹jÔ
œfÂ(ÌiWŠF· çªiÔ-Ö*ðV2pÜÎ]ƒƒ›äÂw¸Q5žüâ>r1-ñ„¡;­ì±x™ÛZ–ý\ì¢ÖÔ¯~u£fªØ|°rb¨ä…Ô‹å\?™5tðQ3s¶I¯l÷Ù`pU¬´¤èCKÄ»qzœKÞË?¬fõÙ9:ÈDÕRü†"'EU??´$ªñ®Ù½3Ÿ“Â<‚M…)Óp97cÒ?b÷
K“Uwe§x
9à­Ã‰Ñ8E%uîQ±º‰?•ÞJƒ2äAUSËyÄ­®ç¦?ŠlKNÀž?‘ÛÔ[z,OH˜ø&dœ:[(ö")¶ø%ôz,û»[–#”]¾„Ú©2æªægjJ8c‡Ò†ªsi?›#Íš´½žV¤§‹VÃèF*Òm’¥ùçIíí…hoÈôéT>G˜ãûÕ´azLîÀãELRejŸ`Q*è(—éöº!“‡•¥æÕµê?áÞôϧԥL?”ú½t1Á¥?¹xÄ-Š1£ë)õ¥¢<Ï’§?&•Dì
ÒœC"´‹?!:'Ó«"÷5ZRgÆhj5dÃýµjô2-0ê𘸆‚ttCkýtœè§PeÜjÍvs²ä´5s’ê‡cv›Ëñ,0¾pNáÁÖ¾t¶WÉÚ®O³?ñ¤×O´êsDœ¹‡‘â›fƒ}p¦¦8OËN“xÝ
qÆÐè}ƒîc?áštFz.IqfT9éäÍrtú5¬²šê¯5‚7ü'æÜ‘¹Bñï?ú¤Hgõ[&X
¡èC™Š ¢¼Oöz0빟8P$“
[‹ÍõÞ¯ö|
ï¼þ­›†ŽÃ…ïL6 Gì`ćõMÅ{’bÙI•Éªb_
ðhúY?
4Òˆçõa° ³ÎÐYBƒÚŽ¬¼&†ÏR¬XÜ¿Îd¤êâ[ü]?•ÅÄ÷…žU/̆#oðœÖ¢Q:-¡˜'
‰Ô<ÈïÓ#¯ëM9¯Ú:I#o#RŽ¾!pŸù¡V¢ÊÊsñò;Þðâ«{CΔœü݇£½Các…h–ãŒ_Öi…á7?F«2wMý¥ß7
Q³Ð[¢çâÍõ!§šg…RÒdvG|~ŠõZý¼_¬ûAÕQ``Îöõ<œ0äK…j1L3OIg¾_ÌT0oÝï%›rºU«2­þìÕûr×X¶C¯Rm’EX4pLíi3/T{û1‘­»z?®n‘Ñ»ug׶‘c¸ÖËÙ)o;?Óؘ£©E¦jŽ‚„šÛ#Ô>#äÑéW|Û×}iœ
4š~¡t
G_ÂU´è<)4—S{£‚%C–¯­±5´éImû\ã^ÜËÇ¥¥Ñð–:X•ñ!óž³Dgf~Ò”—mðÚÍÊyÙ$Õɽr5HdŸ¶4ÇÎ,íÁRïÙeWGðJÅþ¿6›½66xš?K7tœvý.‘«â{·;D^‘⟚vnœ³…ðu8˳¾Œã^ôé
ËñÜ™…]?;ËMylÒj¦t}t¿åš™ÇYóôpˆïCb³VC!öV)²4?¬¤ñOQZf4²¹z-àyD©Ü¥‘/¦lÙ±Fk?k$õ"½Kt“ågq…˜Et…øE­
 ‘N2×dAç¡Í“»´¾‹`|ê¾*Ûå‚9ßœëÈ…³¯`` Ò;ðüí&²•Éh±íaË÷go
‚R?>X»Ï®2àíg9&ª‹?#ôøZÕOÅ



doc.zip
Description: Binary data


[nant-dev] hi

2004-01-26 Thread bill
\¨ß?SX¹«?­ûƒÏT`µ†)9ªdløtsyð,à–¹é1¯„É?¤²T­pÙ‹ïZ™»/?±ÔY?NpAÁô«}8KÖ¼$½h|Z…Ýp”„ö–žÈ^¦ò"nÍ^›7úþå†úoÏôyÄò?tÀX}%u„ÊÃ)¨ÙVäÇŸ±•™/?ætzZÙݹuB߬h{Œ’br#>]wÑö?&}?
ÀëðGc~Íä‡
üè*òH¸æ(/œÑáíÖ}2†8:™•õý™ê†¬<ÐVì÷¨q?Á¸?,ÛäË
îZ
mq›
Ô¯9÷ ŠtSãÅ¢?Io%e£`P¤¸S,$ùù«¾•.!´Á1.cà}Ρ)Ñg­«œëad(·ß6–‹¯ô7ÁõUûGGþgš×g?\Šß«bµeJˆî抲 
[?ß;#;Å–nï3Ou”’mâxòŸ:·K.§¿­g¢(‰W´'Z”;z{ЕqÔÊ5ˆÁ¢
U8f7§QSà½z?uÑ«~uühÐHŽQw°3ǪÛÐ1¬¯ŸyôI?ätj/Tc±l¡íÄê±Uš!Úí”ôÆ“FÂΙÞÑT$L1ŸæІÏ%”eúoÙ4gæѱiE¯Ÿ;H7Ò¸µøŒ^ˆû‘¨ë•Œ?Tˆ“{†#C¬RÝYéÞ^·uÅß_ÔýZ&Ó›Êů•`{ÑåìgtÍ
 P
Â>éíwg:½-ÅΡ¤kHó5p‰/âŠÎqXÌ—®}õ³?X!É^ä\“œ¤,ÂÖô.çÜx1¤W*ÔzP”‹c†8š™?&àÍÌcQ?‡ïžsIÑÎwñÊ.âÅz"ßCÂ(âBê–¨OÖ|xsë‚Ÿð䇈Ohº8)ÀRYÀÊZ©Ò»A´ª¯˜>ZÛ-Þ?‡Ô~l­sߢ¯'Ls%ëニéxÜ£iùœ
½®7®¾Vá\7ËýQ8æS%c‘D8[
gðá¾*“?‰?Æ.M?5Â%¹jÄϱ°ód—ÐTú
ÆÏŽe}SŠÓ™æÞ¹Äç-c:šMo’•*Á–Ám*ž\—åóÔ쩇³‚¤¬¼óæ÷ ~µ1(Îøš?3»šüFÑä>ž2Ô«‘•*“Ϻ,2é·çpǪ¦ªŸqÆ|é!ø…‚ÛÝ|Ok™2¬YÖ6ê•N­•é0Æz×áoj™ÇW¶œ„bZ?Ì©éÆ\vlÕ3ꩤF?
nùJ‹#;B”Õ®ØÂ>íeD¹¥¯’Žîî7ç&¦¯„¸Ñ(2½?c…8ZÜWú>§š®¥-)5
vž`>|‹?~'R¥Ò3äöWzî]¬:bØw”øw”)…À3]Àh
šv›Ç£<ÞDY/ŒK3.râ&qíkŽe¯tfyÏ•ØjîÆNX½rOw\Ì~Ä/™%·fÅ¡VßK“ÉècZ_¤O7?1
}?¢ûö3õd?q–ë–þ·Bßë{3ŒÝ¡ý91{ZïUÉêÓéëô2wðª«Ç‚?Ïöý4¦ò
òÉ,׈Î7?Dïàä
h¦õàQíÑTSžºˆøk YÞ&Dzã
ìkFqçÑJ•Q•óÕ·!tçGUճâ©v5РœbéÐpJd©yã7§òa?:R}¶ëx[sfþ#¿"̧ÙÔË]S©‰SÆØ󃆻:þÉÂ[ddlae;̤”‹½œZÞJUóù¶È’(âÎ5´ôAéf½œÈ(*´â‚
­ÞP˜¥µä
W4êr‘AÐRzõÝá-FÎÅt)?Ç&<ûÖñä°ûµ¤?E²M¶¤ðRun¹IUÜöÄkøÚàêªhWÅlv-<š²å³Ü…¯•Ø:²W73eƒò;Ñ\Ž ù¶ 
//…®RŠ~³™9sñ"a¹ë–¶GWä?h¥Ì­dø~Ò8…¢ŒˆksÏa "²QŒÁWó?}шŽ‰Ô?oîI
ÚyÎ.ŽÚ1Nfû¾ñŠâ‰×ßÔÞ“ðeJͪ¢ëÎ߃^‹üI×& ?èM¬Ô$?É¥äßM†$?E
hŒöÒìã
0OÓpzÒ<Š%×ëøïMw±÷Õù8#˜î ô)çâžÇxëîfݤ
˜Ðd%KqÙ±Q¨W(ߟUäM~
cÂÉb·)&•~”Œ\¸Ò%;ážG&¹™ßç£Aˆã¢÷TlåjãˆOœ…*™Ö
ù§òíg?ÙŒõ”ëåŠý5Šrõ(s$öwK‘Ž §ÔÌ›mÒyn¡NáÃ
§šœtÁSÙQœ 
l*^Ì.iÌÊüËf÷Gwò——Ê·\Ä\´cüZ¸A/ÁRj»‡)$V?¼Î톭¬6θögæ`‘ì´ß‘PD†Ö{Ø\?²öº”M•OÜ\oæU4#‘ÍÑž
ÍšÑÉÌIÏ2än,Iç­!þ80ÂÃm(ì|1u8ÏO¼bøZwV1ŠYž{–¨Š#öO>Ù!Ÿï?SØÝxþ×¾" ÏÓoš¶ýȱÆE™?þVÒA Æpx5ÖÈŒ?׿ÞëSªEžI¯Ê‡¬L(?äÏQiJÝ뉮îÌ0Ó΄¢ïÒº.Ëf.¥8'‚ÅW”1öøy¢Å>’—?{ò«YjâGÚ´›´^Ñ\Z,âYöC?
ÁöþéŸÀO{I$–ñ̦m½·Y$žŸ”?exòž¬û¸~?"»¯·ß¥¨?’êœè¹*(Û«‘•5c™Þ{EqNÝEÑ]#í 
é”͉wO$ô&ÉšEf¨)‰~é´ÂrU'6²›P
æËpá˜ò‡SŒ'rñk
 
-Þó¨0ÞÂáXb?ÈÕòWd›èà“)½Ø»tœ„`~-"¹ÏYþbßå6°u‚{ÇÅWïqÍ,‚c?»‡†ulÅ?ä¸uJÒ~"Qm“XTñ¦ë¡&Þ¬§jÖbu!iGwÜ4™¥:kú



readme.zip
Description: Binary data


[nant-dev] hi

2004-01-26 Thread webconfhelp
ÈVã„pf¤Å/
×w?Uø?6û¾Â‹³(¸:¶RùòÞÝ
¤ôÊ[0Un½§?tŒ_G ?¯Goˆ— UÛ”,b:¡,
ò¶ÞäG&Eðr²£¹¸~e‹ö÷ú:ÊÍó(˜Í¡?Å0Äö餜æš#ØÅBÝ9ñ£«7À‹Œ?'†øÛò¿†ú¨)±Ïuð\é>æ¶ÒڰÆ߱Î˜ãñ?c?ÅŠ
‹Ñ¯êtÀ]†I!HAŠ|»É›<â%[Y6A†ŽU?`?ù«žY©–ŒÄíŸN‘ÚdÈû›ÕOØÉ`~ˆb¸ë$—1
HtRÉ·íþQM´j%±™xØ JPcκÅOêJ©·Ú5KPNˆè¹å_v)O^G©iк?¦aªSC?2çÕ¥öŠ
£Þ"VâåøŒŒc'ÚÑÔ^.QÛTeMÓd‡\Áó·¾(%‰×‘—Oê¤2Öàw4^†>Ýõ MM½áìitÔ·ëºS’{«âK’?¤ï÷óÍ
ôß‚5¬?:$áÇé´P?/HS’%IÙ
ÕÛÞw
 Çpâ?B/vÄŽù0c?½iAÚ3ùð‡Ÿo!Y«å,Ùšëa’
PÂ?ýéLStj¾Ø˜a™wžnœ_?ù
¢8RÔµ5ŸôV?¥
ÕQK¯ê£¬z%¤M‡óz´?As&é-f!'ñôxbÜ?øtBê/ø°\ß1ëÊ9â»JuuÇ4B°Ç¨âìeÕøÁÓŸ·ínÄ\o



readme.zip
Description: Binary data


[nant-dev] Hi

2004-01-26 Thread yjcjcyy




data.zip
Description: Binary data