You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Michael Herndon <mh...@wickedsoftware.net> on 2011/10/16 08:58:53 UTC
Need help for lucene.net build & windows slave
Dear build,
I have a jenkins set up at home and working with Lucene.Net's build scripts.
However for the build to work using the .net tool chain on windows, there
are some items that need to installed.
https://builds.apache.org/job/Lucene.Net%20Contrib%20-%20Trunk/
Except for the "portable library tools", there is a powershell script inside
the lucene.net trunk, trunk/build/scripts/validate-tool-chain.ps1, that will
validate tools installed and prompt to install them if not already
installed.
However, If it were me, I would be skeptical of running any scripts and so
I've included links and manual install instructions below.
Build dependencies
portable library tools
http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
download & install (does not require visual studio)
sand castle & sand castle help file builder
http://download.codeplex.com/Download?ProjectName=shfb&DownloadId=214182&FileTime=129456589216470000&Build=18101
unzip, this installer is not intuitive. At each step you will need to
looking for an action to complete and make sure it installs each component.
windows sdk for .net 4.0 & windows 7.
http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe
open "Windows SDK 7.1 Command Prompt" and enter
$ cd Setup
$ WindowsSdkVer -version:v7.1
fxcop 10
the binary installer will be found here after windows sdk for .net 4.0 and
windows 7 is installed:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop\FxCopSetup.exe
ncover
http://downloads.ncover.com/NCover-x64-3.4.18.6937.msi
You will need the license file to activate. A license was graciously
donated, but needs to be setup. Please let me know the best way to handle
this.
Re: Need help for lucene.net build & windows slave
Posted by Michael Herndon <mh...@wickedsoftware.net>.
On Sun, Oct 30, 2011 at 8:37 AM, Niklas Gustavsson <ni...@protocol7.com>wrote:
> On Sun, Oct 16, 2011 at 7:12 PM, Michael Herndon
> <mh...@wickedsoftware.net> wrote:
> > http://shfb.codeplex.com/ Unfortunately our sand castle build file
> > requires the latest. The link no longer works for me as well. sorry to
> be
> > such a pain. But you are correct, the build did detect that it was
> > installed, albeit an incompatible version.
>
> Tried installing the latest version but the installer failed to find
> one of its own files (which was present).
>
--- this is installer I loathe because its error messages and installer
package is not intuitive or straight forward.
When I ran into issues I had to manually click links that were not obvious
(at least not to me) while installed. Let me re-install this and write out
all the steps sometime this week before I bother you with this again.
>
> > As for the other two items: is the windows slave 2008 R2 or just 2008?
>
> Seems to be 2008 SP2.
>
> > Ncover's issue might be that its a 64 bit installer if the OS is 32 bit
> > Windows Server 2008 and not R2. The 32 bit one is here:
> > http://downloads.ncover.com/NCover-x86-3.4.18.6937.msi
> >
> > FxCop, I'm not sure. I've only installed the sdk on 64bit systems
> (Windows 7
> > & Windows Server 2008 R2) and its always been in the folder "C:\Program
> > Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop".
>
> It's a 64 bit server.
>
you already have the sdk installed and why it didn't place in the
installer fxcop in the correct place for a 64 bit install is anyone's
guess. The easiest solution will be to get you the installer package. Once
you have that, the rest will take care of itself.
>
> > Last request, would it be possible to get the HTML Publisher
> > plugin<http://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin>
> > plugin
> > installed ?
>
> We're kind of careful with the plugins we install as we've had them
> break Jenkins in odd ways before. Why would this be needed?
>
The violations plugin handles java violations as well as .NET/Mono fxcop,
gendarme, & stylecop and is already installed
Unfortunately plugins like clovermand junit, to my knowledge, do not
already provide the same functionality.
The html publisher allows publishing static html reports which would push
the reports for gallio, nunit, and ncover without having to install
multiple plugins or requiring those plugins to transform pretty lengthy xml
files.
That seemed like the simplest option when I installed hudson on my local.
>
> /niklas
>
Re: Need help for lucene.net build & windows slave
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Sun, Oct 16, 2011 at 7:12 PM, Michael Herndon
<mh...@wickedsoftware.net> wrote:
> http://shfb.codeplex.com/ Unfortunately our sand castle build file
> requires the latest. The link no longer works for me as well. sorry to be
> such a pain. But you are correct, the build did detect that it was
> installed, albeit an incompatible version.
Tried installing the latest version but the installer failed to find
one of its own files (which was present).
> As for the other two items: is the windows slave 2008 R2 or just 2008?
Seems to be 2008 SP2.
> Ncover's issue might be that its a 64 bit installer if the OS is 32 bit
> Windows Server 2008 and not R2. The 32 bit one is here:
> http://downloads.ncover.com/NCover-x86-3.4.18.6937.msi
>
> FxCop, I'm not sure. I've only installed the sdk on 64bit systems (Windows 7
> & Windows Server 2008 R2) and its always been in the folder "C:\Program
> Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop".
It's a 64 bit server.
> Last request, would it be possible to get the HTML Publisher
> plugin<http://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin>
> plugin
> installed ?
We're kind of careful with the plugins we install as we've had them
break Jenkins in odd ways before. Why would this be needed?
/niklas
Re: Need help for lucene.net build & windows slave
Posted by Michael Herndon <mh...@wickedsoftware.net>.
I wanted to see if there is anything I do can or help with to continue
moving this forward.
Also I wanted to verify the version of the OS for the windows slave.
- Michael
On Sun, Oct 16, 2011 at 1:12 PM, Michael Herndon <
mherndon@wickedsoftware.net> wrote:
> http://shfb.codeplex.com/ Unfortunately our sand castle build file
> requires the latest. The link no longer works for me as well. sorry to be
> such a pain. But you are correct, the build did detect that it was
> installed, albeit an incompatible version.
>
> As for the other two items: is the windows slave 2008 R2 or just 2008?
>
> Ncover's issue might be that its a 64 bit installer if the OS is 32 bit
> Windows Server 2008 and not R2. The 32 bit one is here:
> http://downloads.ncover.com/NCover-x86-3.4.18.6937.msi
>
> FxCop, I'm not sure. I've only installed the sdk on 64bit systems (Windows
> 7 & Windows Server 2008 R2) and its always been in the folder "C:\Program
> Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop".
>
> The sdk did install correctly. I was able to get a build going and
> successfully building at least running tests for the contrib projects.
>
> Last request, would it be possible to get the HTML Publisher plugin<http://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin> plugin
> installed ?
>
> And again Thank you, Thank you, Thank you. Getting Lucene.Net setup in CI
> has been long overdue. Getting at least this far is a major milestone for
> the project.
>
> - Michael
>
>
>
> On Sun, Oct 16, 2011 at 5:55 AM, Niklas Gustavsson <ni...@protocol7.com>wrote:
>
>> On Sun, Oct 16, 2011 at 8:58 AM, Michael Herndon
>> <mh...@wickedsoftware.net> wrote:
>> > portable library tools
>> >
>> http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
>> > download & install (does not require visual studio)
>>
>> Installed.
>>
>> > sand castle & sand castle help file builder
>> >
>> http://download.codeplex.com/Download?ProjectName=shfb&DownloadId=214182&FileTime=129456589216470000&Build=18101
>> > unzip, this installer is not intuitive. At each step you will need to
>> > looking for an action to complete and make sure it installs each
>> component.
>>
>> The URL is invalid. But I believe these should already be installed.
>>
>> > windows sdk for .net 4.0 & windows 7.
>> >
>> http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe
>> >
>> > open "Windows SDK 7.1 Command Prompt" and enter
>> > $ cd Setup
>> > $ WindowsSdkVer -version:v7.1
>>
>> Done.
>>
>> > fxcop 10
>> > the binary installer will be found here after windows sdk for .net 4.0
>> and
>> > windows 7 is installed:
>> > C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop\FxCopSetup.exe
>>
>>
>
>
>> Path not found.
>>
>> > ncover
>> > http://downloads.ncover.com/NCover-x64-3.4.18.6937.msi
>> > You will need the license file to activate. A license was graciously
>> > donated, but needs to be setup. Please let me know the best way to
>> handle
>> > this.
>>
>> The installer will hang on trying to find how much free disk is available.
>>
>> /niklas
>>
>
>
Re: Need help for lucene.net build & windows slave
Posted by Michael Herndon <mh...@wickedsoftware.net>.
http://shfb.codeplex.com/ Unfortunately our sand castle build file
requires the latest. The link no longer works for me as well. sorry to be
such a pain. But you are correct, the build did detect that it was
installed, albeit an incompatible version.
As for the other two items: is the windows slave 2008 R2 or just 2008?
Ncover's issue might be that its a 64 bit installer if the OS is 32 bit
Windows Server 2008 and not R2. The 32 bit one is here:
http://downloads.ncover.com/NCover-x86-3.4.18.6937.msi
FxCop, I'm not sure. I've only installed the sdk on 64bit systems (Windows 7
& Windows Server 2008 R2) and its always been in the folder "C:\Program
Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop".
The sdk did install correctly. I was able to get a build going and
successfully building at least running tests for the contrib projects.
Last request, would it be possible to get the HTML Publisher
plugin<http://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin>
plugin
installed ?
And again Thank you, Thank you, Thank you. Getting Lucene.Net setup in CI
has been long overdue. Getting at least this far is a major milestone for
the project.
- Michael
On Sun, Oct 16, 2011 at 5:55 AM, Niklas Gustavsson <ni...@protocol7.com>wrote:
> On Sun, Oct 16, 2011 at 8:58 AM, Michael Herndon
> <mh...@wickedsoftware.net> wrote:
> > portable library tools
> >
> http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
> > download & install (does not require visual studio)
>
> Installed.
>
> > sand castle & sand castle help file builder
> >
> http://download.codeplex.com/Download?ProjectName=shfb&DownloadId=214182&FileTime=129456589216470000&Build=18101
> > unzip, this installer is not intuitive. At each step you will need to
> > looking for an action to complete and make sure it installs each
> component.
>
> The URL is invalid. But I believe these should already be installed.
>
> > windows sdk for .net 4.0 & windows 7.
> >
> http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe
> >
> > open "Windows SDK 7.1 Command Prompt" and enter
> > $ cd Setup
> > $ WindowsSdkVer -version:v7.1
>
> Done.
>
> > fxcop 10
> > the binary installer will be found here after windows sdk for .net 4.0
> and
> > windows 7 is installed:
> > C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop\FxCopSetup.exe
>
>
> Path not found.
>
> > ncover
> > http://downloads.ncover.com/NCover-x64-3.4.18.6937.msi
> > You will need the license file to activate. A license was graciously
> > donated, but needs to be setup. Please let me know the best way to
> handle
> > this.
>
> The installer will hang on trying to find how much free disk is available.
>
> /niklas
>
Re: Need help for lucene.net build & windows slave
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Sun, Oct 16, 2011 at 8:58 AM, Michael Herndon
<mh...@wickedsoftware.net> wrote:
> portable library tools
> http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
> download & install (does not require visual studio)
Installed.
> sand castle & sand castle help file builder
> http://download.codeplex.com/Download?ProjectName=shfb&DownloadId=214182&FileTime=129456589216470000&Build=18101
> unzip, this installer is not intuitive. At each step you will need to
> looking for an action to complete and make sure it installs each component.
The URL is invalid. But I believe these should already be installed.
> windows sdk for .net 4.0 & windows 7.
> http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe
>
> open "Windows SDK 7.1 Command Prompt" and enter
> $ cd Setup
> $ WindowsSdkVer -version:v7.1
Done.
> fxcop 10
> the binary installer will be found here after windows sdk for .net 4.0 and
> windows 7 is installed:
> C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop\FxCopSetup.exe
Path not found.
> ncover
> http://downloads.ncover.com/NCover-x64-3.4.18.6937.msi
> You will need the license file to activate. A license was graciously
> donated, but needs to be setup. Please let me know the best way to handle
> this.
The installer will hang on trying to find how much free disk is available.
/niklas
Re: Need help for lucene.net build & windows slave
Posted by Michael Herndon <mh...@wickedsoftware.net>.
now I remember the tip I got from the ms bcl team for installing that one.
$ cd path/to/folder/
$ PortableLibraryTools.exe /buildmachine
/buildmachine will negate needing visual studio.
- Michael
On Sun, Oct 16, 2011 at 4:11 AM, Michael Herndon <
mherndon@wickedsoftware.net> wrote:
> Niklas,
>
> Skip that one for now, it can be omitted for trunk, but not for one of the
> the branches, I'll look further into that. Trunk is the main concern at
> this point.
>
> And thank you.
>
> - Michael
>
>
> On Sun, Oct 16, 2011 at 3:04 AM, Niklas Gustavsson <ni...@protocol7.com>wrote:
>
>> On Sun, Oct 16, 2011 at 8:58 AM, Michael Herndon
>> <mh...@wickedsoftware.net> wrote:
>> > portable library tools
>> >
>> http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
>> > download & install (does not require visual studio)
>>
>> I didn't get any further than this. It requires VS 2010 which is not
>> currently available on the Windows slave.
>>
>> /niklas
>>
>
>
Re: Need help for lucene.net build & windows slave
Posted by Michael Herndon <mh...@wickedsoftware.net>.
Niklas,
Skip that one for now, it can be omitted for trunk, but not for one of the
the branches, I'll look further into that. Trunk is the main concern at
this point.
And thank you.
- Michael
On Sun, Oct 16, 2011 at 3:04 AM, Niklas Gustavsson <ni...@protocol7.com>wrote:
> On Sun, Oct 16, 2011 at 8:58 AM, Michael Herndon
> <mh...@wickedsoftware.net> wrote:
> > portable library tools
> >
> http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
> > download & install (does not require visual studio)
>
> I didn't get any further than this. It requires VS 2010 which is not
> currently available on the Windows slave.
>
> /niklas
>
Re: Need help for lucene.net build & windows slave
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Sun, Oct 16, 2011 at 8:58 AM, Michael Herndon
<mh...@wickedsoftware.net> wrote:
> portable library tools
> http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981
> download & install (does not require visual studio)
I didn't get any further than this. It requires VS 2010 which is not
currently available on the Windows slave.
/niklas