jip, of course. I know this post, I read and applied it way back,
before I actually started this thread. I did not for the vm, but the
result is exactly the same.
but: it is always the 'build' task that is failing, not some
'gac-install'. It is not failing from start on, but somewhere near the
end of the build process, which is so bizarre.
it is not possible to successfully build castle on a clean system with
.net, svn and nant installed. i am not crazy, the doctors are!
i am suspecting more and more that it is a nant bug, if i build with
verbose on, the log reads like that:
common.build:
[nant]
C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Validator.build
Buildfile:
file:///C:/Users/Jan/Documents/castlebuild/trunk/Components/Validator/Validator.build
Target framework: Microsoft .NET Framework 3.5
Base Directory:
C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator.
Target(s) specified: build
[include] Including file
C:\Users\Jan\Documents\castlebuild\trunk\common-project.xml.
[include] Including file
C:\Users\Jan\Documents\castlebuild\trunk\common.xml.
[property] Property "sign" already exists,
and "overwrite" is set to false.
[property] Property "common.run-tests"
already exists, and "overwrite" is set to false.
[property] Property
"common.testrunner.enabled" already exists, and "overwrite" is set to
false.
[property] Property
"common.testrunner.failonerror" already exists, and "overwrite" is set
to false.
[property] Property "ar.dialect" already
exists, and "overwrite" is set to false.
[property] Property
"ar.connection.driver_class" already exists, and "overwrite" is set to
false.
[property] Property
"ar.connection.connection_string.1" already exists, and "overwrite" is
set to false.
[property] Property
"ar.connection.connection_string.2" already exists, and "overwrite" is
set to false.
[property] Property
"registry.dotnet.v3.0.Installed" already exists, and "overwrite" is
set to false.
[readregistry] Opening
LocalMachine:SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0\.
[readregistry] Opening
LocalMachine:SOFTWARE\Microsoft\NET Framework
Setup\NDP\v3.0\Setup\Windows Communication Foundation\.
[property] Property "project.version" already
exists, and "overwrite" is set to false.
[property] Property "svn.revision" already
exists, and "overwrite" is set to false.
common.build:
[nant]
C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Castle.Components.Validator.build
Buildfile:
file:///C:/Users/Jan/Documents/castlebuild/trunk/Components/Validator/Castle.Components.Validator/Castle.Components.Validator.build
Target framework: Microsoft .NET
Framework 3.5
Base Directory:
C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator.
Target(s) specified: build
[include] Including file
C:\Users\Jan\Documents\castlebuild\trunk\common-project.xml.
[include] Including file
C:\Users\Jan\Documents\castlebuild\trunk\common.xml.
[property] Property "sign"
already exists, and "overwrite" is set to false.
[property] Property
"common.run-tests" already exists, and "overwrite" is set to false.
[property] Property
"common.testrunner.enabled" already exists, and "overwrite" is set to
false.
[property] Property
"common.testrunner.failonerror" already exists, and "overwrite" is set
to false.
[property] Property "ar.dialect"
already exists, and "overwrite" is set to false.
[property] Property
"ar.connection.driver_class" already exists, and "overwrite" is set to
false.
[property] Property
"ar.connection.connection_string.1" already exists, and "overwrite" is
set to false.
[property] Property
"ar.connection.connection_string.2" already exists, and "overwrite" is
set to false.
[property] Property
"registry.dotnet.v3.0.Installed" already exists, and "overwrite" is
set to false.
[readregistry] Opening
LocalMachine:SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0\.
[readregistry] Opening
LocalMachine:SOFTWARE\Microsoft\NET Framework
Setup\NDP\v3.0\Setup\Windows Communication Foundation\.
[property] Property
"project.version" already exists, and "overwrite" is set to false.
[property] Property
"svn.revision" already exists, and "overwrite" is set to false.
common.check-nant-version:
common.find-tools:
[property] Property
"nunit-console2" already exists, and "overwrite" is set to false.
[property] Property
"nunit-console" already exists, and "overwrite" is set to false.
[property] Property "wix.dir"
already exists, and "overwrite" is set to false.
[property] Property "shfb.dir"
already exists, and "overwrite" is set to false.
[property] Property
"sandcastle.dir" already exists, and "overwrite" is set to false.
[property] Property
"htmlhelp1x.dir" already exists, and "overwrite" is set to false.
set-framework-configuration:
[readregistry] Opening
LocalMachine:SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\.
set-net-3.5-framework-configuration:
[property] Property
"build.msbuild" already exists, and "overwrite" is set to false.
[property] Property
"build.msbuild" already exists, and "overwrite" is set to false.
set-project-configuration:
[property] Property
"project.config" already exists, and "overwrite" is set to false.
[property] Property
"build.warnaserrors" already exists, and "overwrite" is set to false.
[property] Property
"build.warnmissingdocs" already exists, and "overwrite" is set to
false.
set-debug-project-configuration:
[property] Property
"build.optimize" already exists, and "overwrite" is set to false.
[property] Property
"build.rebuild" already exists, and "overwrite" is set to false.
common.init:
Adding a fileset reference with id
'project.sources'.
Adding a resourcefileset reference
with id 'project.resources'.
init:
Adding a assemblyfileset reference
with id 'project.references'.
Adding a resourcefileset reference
with id 'project.resources'.
common.set-assembly-attribute-values:
[property] Property
"assembly.allow-partially-trusted-callers" already exists, and
"overwrite" is set to false.
[property] Property
"assembly.description" already exists, and "overwrite" is set to
false.
[property] Property
"assembly.version" already exists, and "overwrite" is set to false.
common.generate-assemblyinfo:
[attrib] Setting file
attributes for 1 files to Normal.
[attrib]
C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\AssemblyInfo.cs
[asminfo] File
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\AssemblyInfo.cs'
is up-to-date.
generate-assemblyinfo:
common.compile-dll:
[csc] Output file
'C:\Users\Jan\Documents\castlebuild\trunk\build\net-3.5\debug\Castle.Components.Validator.dll'
does not exist, rebuilding.
[csc] Compiling 83 files to
'C:\Users\Jan\Documents\castlebuild\trunk\build\net-3.5\debug\Castle.Components.Validator.dll'.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.es.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.fr.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.he.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.it.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.lt.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.lv.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.nl.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.pt.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.ru.resources'
does not exist, rebuilding.
[resgen] Output
file
'C:\Users\Jan\Documents\castlebuild\trunk\Components\Validator\Castle.Components.Validator\Messages.sv.resources'
does not exist, rebuilding.
BUILD FAILED
The SDK for the 'net-3.5'
framework is not available or not configured.:
NAnt.Core.BuildException: The SDK
for the 'net-3.5' framework is not available or not configured.
at
NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
647
at
NAnt.Core.Tasks.ExternalProgramBase.get_ProgramFileName() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
125
at
NAnt.DotNet.Tasks.ResGenTask.get_ProgramFileName() in
d:\Source\nant-20080818T124133Z\src\NAnt.DotNet\Tasks\ResGenTask.cs:line
276
at
NAnt.Core.Tasks.ExternalProgramBase.PrepareProcess(Process process) in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
481
at
NAnt.DotNet.Tasks.ResGenTask.PrepareProcess(Process process) in
d:\Source\nant-20080818T124133Z\src\NAnt.DotNet\Tasks\ResGenTask.cs:line
372
at
NAnt.Core.Tasks.ExternalProgramBase.StartProcess() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
518
at
NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
418
at
NAnt.DotNet.Tasks.ResGenTask.ExecuteTask() in
d:\Source\nant-20080818T124133Z\src\NAnt.DotNet\Tasks\ResGenTask.cs:line
439
at NAnt.Core.Task.Execute() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Task.cs:line 186
at
NAnt.DotNet.Tasks.CompilerBase.CompileResxResources(StringCollection
resxFiles) in
d:\Source\nant-20080818T124133Z\src\NAnt.DotNet\Tasks\CompilerBase.cs:line
1433
at
NAnt.DotNet.Tasks.CompilerBase.ExecuteTask() in
d:\Source\nant-20080818T124133Z\src\NAnt.DotNet\Tasks\CompilerBase.cs:line
632
at NAnt.Core.Task.Execute() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Task.cs:line 186
at
NAnt.Core.TaskContainer.ExecuteChildTasks() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\TaskContainer.cs:line
120
at
NAnt.Core.TaskContainer.ExecuteTask() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\TaskContainer.cs:line 86
at
NAnt.Core.Tasks.IfTask.ExecuteTask() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\IfTask.cs:line 363
at NAnt.Core.Task.Execute() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Task.cs:line 186
at NAnt.Core.Target.Execute()
in d:\Source\nant-20080818T124133Z\src\NAnt.Core\Target.cs:line 247
at
NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:line 985
at NAnt.Core.Project.Execute()
in d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:line 937
at NAnt.Core.Project.Run() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:line 1022
Total time: 0.6 seconds.
BUILD FAILED
Nested build failed. Refer to build log for
exact reason.:
NAnt.Core.BuildException: Nested build failed.
Refer to build log for exact reason.
at
NAnt.Core.Tasks.NAntTask.RunBuild(FileInfo buildFile) in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\NAntTask.cs:line
258
at NAnt.Core.Tasks.NAntTask.ExecuteTask()
in d:\Source\nant-20080818T124133Z\src\NAnt.Core\Tasks\NAntTask.cs:line
202
at NAnt.Core.Task.Execute() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Task.cs:line 186
at NAnt.Core.Target.Execute() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Target.cs:line 247
at NAnt.Core.Project.Execute(String
targetName, Boolean forceDependencies) in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:line 985
at NAnt.Core.Project.Execute() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:line 937
at NAnt.Core.Project.Run() in
d:\Source\nant-20080818T124133Z\src\NAnt.Core\Project.cs:line 1022
Total time: 0.7 seconds.
So it seems, he is trying to find something on a different place than
he uses to and fails. Unfortunately, the nant project does not seem to
have a public code repository, so it's difficult to attach a debugger
to this issue.
On Mon, Nov 17, 2008 at 2:26 PM, Colin Ramsay <[EMAIL PROTECTED]> wrote:
>
> http://www.timbarcz.com/blog/NantSetupForVisualStudio2008AndNet35.aspx
>
> On Mon, Nov 17, 2008 at 4:08 PM, Jan Limpens <[EMAIL PROTECTED]> wrote:
>>
>> now this _is_ strange
>>
>> I took a WinXP SP3 Virtual PC image from Microsoft (the ones mentioned
>> above) and installed .net 3.5, svn and nant nightly.
>> I pulled the current trunk
>> I run nant -D:assembly.allow-partially-trusted-callers=true
>> -D:common.testrunner.enabled=false -t:net-3.5 > build.log
>>
>> and the build fails (quite at the end, after 30 seconds of happy
>> building), just like on my Vista x64
>>
>> "common.compile-dll:
>> [csc] Compiling 83 files to
>> 'C:\data\castle\build\net-3.5\debug\Castle.Components.Validator.dll'.
>> BUILD FAILED
>> The SDK for the 'net-3.5' framework is not available or not configured."
>>
>> There _must_ be some hidden dependency, somewhere, because I cannot
>> imagine a cleaner setup for a successful build, that this.
>>
>>
>> On Thu, Nov 13, 2008 at 3:03 PM, Jan Limpens <[EMAIL PROTECTED]> wrote:
>>> thanks, I will mind your concern. these pecees are so damn cute these days,
>>> its hard not get the wrong ideas. but i will work on it :)
>>>
>>> On Thu, Nov 13, 2008 at 3:00 PM, Colin Ramsay <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Good luck Jan, we're all rooting for you but remember to take the
>>>> proper precautions before you give your computer a "rightlick" again.
>>>>
>>>> On Thu, Nov 13, 2008 at 4:42 PM, Jan Limpens <[EMAIL PROTECTED]>
>>>> wrote:
>>>> > some updates in my quest:
>>>> >
>>>> > I found a bootcamped xp install on one of my minnies :) with vs and all.
>>>> > So
>>>> > I checked out castle and tried to build.
>>>> >
>>>> > It failed. But nant complained about the LIB environment variable
>>>> > pointing
>>>> > to a nonexisting place. LIB variable? wtf! I checked my environment
>>>> > variables (rightlick my computer) against the shell's 'set'. Bingo!
>>>> > Quite a
>>>> > diference there. The shell I had used on both computers had been the
>>>> > Vs2008
>>>> > command prompt. I switched to plain cmd and had a successful build,
>>>> > commited
>>>> > it and went to bed (and could not sleep).
>>>> >
>>>> > Now I tried the same with cmd here on my dev machine and did not get
>>>> > quite
>>>> > the same success, but things did change! Now the build breaks at
>>>> > Castle.Components.Validator.build. Thats quite a few more projects down
>>>> > the
>>>> > road. And I know it has to do with environment variables. That's much
>>>> > better
>>>> > than yesterday (not to mention setting up a new computer) :)
>>>> >
>>>> > Just for you to know ...
>>>> >
>>>> > On Wed, Nov 12, 2008 at 9:45 PM, Jan Limpens <[EMAIL PROTECTED]>
>>>> > wrote:
>>>> >>
>>>> >> very cool! just what I needed!
>>>> >>
>>>> >> On Wed, Nov 12, 2008 at 9:38 PM, Jimmy Shimizu
>>>> >> <[EMAIL PROTECTED]>
>>>> >> wrote:
>>>> >>>
>>>> >>> I believe microsoft provides XP-images for virtual PC free of charge,
>>>> >>> for IE6-testing etc. They are full-blown operating-systems and you
>>>> >>> should be able to install everything under it.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&displaylang=en
>>>> >>>
>>>> >>> I believe you need to install Virtual PC yourself in order to test
>>>> >>> these, but I believe that one is free aswell.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6&displaylang=en
>>>> >>>
>>>> >>> >
>>>> >>> > You know, this would take me about 2 days of work. And no guarantee
>>>> >>> > that it would be any better. I ran into very similar problems trying
>>>> >>> > to build rhino.commons just a few days after I had setup my system
>>>> >>> > six
>>>> >>> > months ago or so. I still am under the impression that vista x64
>>>> >>> > could
>>>> >>> > have something to do with it (and I would not be able to change
>>>> >>> > this).
>>>> >>> >
>>>> >>> > Is there a way to legally download a (readonly) vm of a regular xp
>>>> >>> > to
>>>> >>> > try that out?
>>>> >>> >
>>>> >>> > On Wed, Nov 12, 2008 at 9:02 PM, Victor Kornov <[EMAIL PROTECTED]>
>>>> >>> > wrote:
>>>> >>> >> At this point, you could just reinstall OS & software on your
>>>> >>> >> machine or
>>>> >>> >> better use a VM. If something suble is broken... that's a
>>>> >>> >> straighforward way
>>>> >>> >> to fix it.
>>>> >>> >>>
>>>> >>> >>
>>>> >>> >
>>>> >>> >
>>>> >>> >
>>>> >>> > --
>>>> >>> > Jan
>>>> >>> > ___________________
>>>> >>> > [EMAIL PROTECTED]
>>>> >>> > www.limpens.com
>>>> >>> > +55 (11) 3082-1087
>>>> >>> > +55 (11) 3097-8339
>>>> >>> >
>>>> >>> > >
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Jan
>>>> >> ___________________
>>>> >> [EMAIL PROTECTED]
>>>> >> www.limpens.com
>>>> >> +55 (11) 3082-1087
>>>> >> +55 (11) 3097-8339
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Jan
>>>> > ___________________
>>>> > [EMAIL PROTECTED]
>>>> > www.limpens.com
>>>> > +55 (11) 3082-1087
>>>> > +55 (11) 3097-8339
>>>> >
>>>> > >
>>>> >
>>>>
>>>> >>
>>>
>>>
>>>
>>> --
>>> Jan
>>> ___________________
>>> [EMAIL PROTECTED]
>>> www.limpens.com
>>> +55 (11) 3082-1087
>>> +55 (11) 3097-8339
>>>
>>
>>
>>
>> --
>> Jan
>> ___________________
>> [EMAIL PROTECTED]
>> www.limpens.com
>> +55 (11) 3082-1087
>> +55 (11) 3097-8339
>>
>> >
>>
>
> >
>
--
Jan
___________________
[EMAIL PROTECTED]
www.limpens.com
+55 (11) 3082-1087
+55 (11) 3097-8339
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---