> -----Original Message----- > From: Stefan Bodewig [mailto:[email protected]] > Sent: Friday, 2 August 2013 12:00 AM > To: [email protected] > Subject: Re: Is NAnt Available on the Windows Slaves? > > Hi Gav, > > [sorry for the delay, I'm on vacation and granted myself a few days without > net access.] > > On 2013-07-27, Gavin McDonald wrote: > > > Ok, Nant 0.9.2 installed into F:\hudson\tools\Nant-0.9.2 > > > Jenkins Nant Plugin Installed > > > Default Nant 0.9.2 configured and points to insall location. > > > Build enabled and configured to use log4net.build with Nant > > > Build failed with: > > > Executing command: cmd.exe /C ""F:\hudson\tools\nant- > 0.92\bin\NAnt.exe > > -buildfile:log4net.build && exit %%ERRORLEVEL%%"" > > [log4net-trunk-build] $ cmd.exe /C > > '"F:\hudson\tools\nant-0.92\bin\NAnt.exe > > -buildfile:log4net.build && exit %%ERRORLEVEL%%"' > > log4net:ERROR XmlConfiguratorAttribute: Exception getting > > ConfigurationFileLocation. Must be able to resolve > > ConfigurationFileLocation when ConfigFile and ConfigFileExtension > properties are not set. > > > See : https://builds.apache.org/job/log4net-trunk-build/1/console > > > Unsure if the next step is yours or mine :) > > Yours. :-) > > You'd think you could download a ZIP on Windows, extract it and think things > are fine, but in fact the extracted files still know their origin from the > untrusted net and what they can do (at least under .NET is restricted). > > When I first tried to run a newer NAnt version on Windows7 I ran into the > same problem, you have to unblock the ZIP before extracting it. See the first > section in > <http://stefan.samaflost.de/blog/en/Apache/Log4Net/working_on_the_1.2 > .11_release.html>.
Excellent, that worked, and build passed. :) Gav... > The alternative to reinstalling the ZIP (after unblocking) is to unblock each > and every DLL or EXE under F:\hudson\tools\nant-0.92. > > Cheers > > Stefan
