I've upgraded nant from 0.84 to 0.85-nightbuild (as of yesterday) and
after that our build system failed to compile our projects. After
some investigation it seems to be that the current directory used to be
changed to the directory of the build file in version 0.84, but in the
latest version that is no longer the case. That should probably be
mentioned in the release file as a breaking change.

Is there a way to easily get back the 0.84 functionality? I may have
overlooked something, but none of the built in tasks seem to be able
to change the current directory (except exec).

A workingdir attribute on the nant task would solve it for me.


The next problem is the regex task. The following expression used to
work fine in 0.84:
<regex pattern="(?i:^(?'nofile'$))"
       input="${filename}" />

now I have to add the failonerror="false" attribute for it to work
when $(filename) isn't an empty string. A good change, but it should
probably be mentioned as a breaking change in the release file.

Regards,
/Sebastian
-- 
                             .oooO o,o Oooo.  Ad: http://dum.acc.umu.se/
                             (   ) \_/ (   )      (o_
"Life is not fair, but root   \ (  /|\  ) / (o_   //\
password helps!" -- The BOFH   \_)     (_/  (/)_  V_/_


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to