You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Stefan Bodewig <bo...@apache.org> on 2013/07/21 10:13:43 UTC

Is NAnt Available on the Windows Slaves?

Hi

the log4net project would like to start using Jenkins for CI.  log4net
builds using NAnt and in general NAnt is supported by Jenkins[1].

The .NET builds I have found so far all utilize MSBuild and the wiki
doesn't list NAnt as an installed software either.  Is NAnt installed
and if not, could we get it installed?

Our primary target would be the Windows slaves but if there is Mono
available on the some Linux slaves we'd probably want to use them as
well.

Cheers

        Stefan

[1] https://wiki.jenkins-ci.org/display/JENKINS/NAnt+Plugin

Re: Is NAnt Available on the Windows Slaves?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2013-08-03, Gavin McDonald wrote:

> Excellent, that worked, and build passed. :)

Great, thanks a lot!

Stefan

RE: Is NAnt Available on the Windows Slaves?

Posted by Gavin McDonald <ga...@16degrees.com.au>.

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Friday, 2 August 2013 12:00 AM
> To: builds@apache.org
> 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


Re: Is NAnt Available on the Windows Slaves?

Posted by Stefan Bodewig <bo...@apache.org>.
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>.
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

RE: Is NAnt Available on the Windows Slaves?

Posted by Gavin McDonald <ga...@16degrees.com.au>.

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Thursday, 25 July 2013 5:35 PM
> To: builds@apache.org
> Subject: Re: Is NAnt Available on the Windows Slaves?
> 
> On 2013-07-24, Gavin McDonald wrote:
> 
> > I'll sort this tomorrow,
> 
> that's great, thanks.
> 
> > do you have a build ready to test with?
> 
> I have created a disabled job log4net-trunk-build that doesn't have any
build
> steps.  The logical build step would be to run NAnt against the
log4net.build
> in the workspace's root directory.

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 :)

Gav...

> 
> Thanks
> 
>         Stefan


Re: Is NAnt Available on the Windows Slaves?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2013-07-24, Gavin McDonald wrote:

> I'll sort this tomorrow,

that's great, thanks.

> do you have a build ready to test with?

I have created a disabled job log4net-trunk-build that doesn't have any
build steps.  The logical build step would be to run NAnt against the
log4net.build in the workspace's root directory.

Thanks

        Stefan

RE: Is NAnt Available on the Windows Slaves?

Posted by Gavin McDonald <ga...@16degrees.com.au>.
Hi Stefan, 

I'll sort this tomorrow, do you have a build ready to test with?

Gav...


> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Sunday, 21 July 2013 6:14 PM
> To: builds@apache.org
> Subject: Is NAnt Available on the Windows Slaves?
> 
> Hi
> 
> the log4net project would like to start using Jenkins for CI.  log4net
builds
> using NAnt and in general NAnt is supported by Jenkins[1].
> 
> The .NET builds I have found so far all utilize MSBuild and the wiki
doesn't list
> NAnt as an installed software either.  Is NAnt installed and if not, could
we
> get it installed?
> 
> Our primary target would be the Windows slaves but if there is Mono
> available on the some Linux slaves we'd probably want to use them as well.
> 
> Cheers
> 
>         Stefan
> 
> [1] https://wiki.jenkins-ci.org/display/JENKINS/NAnt+Plugin
> 
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.3349 / Virus Database: 3204/6507 - Release Date: 07/20/13