Menu

#120 Source does not build if placed in a directory with spaces.

open
nobody
5
2014-09-29
2005-04-13
Terry
No

1. Unpack source to a directory that contains spaces
(such as "c:\documents and
settings\administrator\desktop\")
2. Attempt to build.

I received the following text:

NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Documents and Settings/Administrator/
Desktop/FlexWiki/Source/flexwikicore.build
Target(s) specified: test

[echo] Running from directory C:\Documents and
Settings\Administrator\Desktop\FlexWiki\Source
[sysinfo] Setting system information properties under
sys.*
[xmlpeek] Peeking at 'C:\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\version.
xml' with XPath expression '/version/major'.

[xmlpeek] Found '1' nodes with the XPath expression '/
version/major'.
[xmlpeek] Peeking at 'C:\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\version.
xml' with XPath expression '/version/minor'.

[xmlpeek] Found '1' nodes with the XPath expression '/
version/minor'.
[xmlpeek] Peeking at 'C:\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\version.
xml' with XPath expression '/version/build'.

[xmlpeek] Found '1' nodes with the XPath expression '/
version/build'.
[xmlpeek] Peeking at 'C:\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\version.
xml' with XPath expression '/version/revisio
n'.
[xmlpeek] Found '1' nodes with the XPath expression '/
version/revision'.
[echo] Building version 1.8.0.1677

init:

[xmlpoke] Found '1' nodes matching XPath expression '/
version/major'.
[xmlpoke] Found '1' nodes matching XPath expression '/
version/minor'.
[xmlpoke] Found '1' nodes matching XPath expression '/
version/build'.
[xmlpoke] Found '1' nodes matching XPath expression '/
version/revision'.
[delete] Deleting file C:\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\reports
\projectlist.txt.

build:

[solution] Starting solution build.
[solution] Building 'wikidpad2flexwiki' [Debug] ...
[solution] Building 'SqlStoreManagerLib' [Debug] ...
[solution] Building 'FlexWikiEngine' [Debug] ...
[solution] Building 'FlexWikiSecurity' [Debug] ...
[solution] Building 'BuildVerificationTests' [Debug] ...
'C:\Documents' is not recognized as an internal or
external command,
operable program or batch file.
[solution] PostBuildEvent failed with exit code = 1
[solution] Build failed.
[solution] Project 'BuildVerificationTests' failed!
[solution] Continuing build with non-dependent projects.
[solution] Building 'FlexWiki.Web.Services' [Debug] ...
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web.Service\EditS
erviceImplementation.resx'
[resgen] Writing resource file... Done.
[solution] Building 'SqlProvider' [Debug] ...
[solution] Building 'SqlStoreManagerGui' [Debug] ...
[resgen] Read in 46 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\SqlStor
eManagerGui\Form1.
resx'
[resgen] Writing resource file... Done.
[solution] Building 'PrintTopic' [Debug] ...
[solution] Building 'SqlStoreManagerConsole' [Debug] ...
[solution] Building 'FlexBehaviorDebugger' [Debug] ...
[resgen] Read in 136 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexBe
haviorDebugger\For
m1.resx'
[resgen] Writing resource file... Done.
[solution] Building 'CreatePerfCounters' [Debug] ...
[solution] Building 'CalendarProvider' [Debug] ...
[solution] Building 'FlexWiki.UnitTests' [Debug] ...
'C:\Documents' is not recognized as an internal or
external command,
operable program or batch file.
[solution] PostBuildEvent failed with exit code = 1
[solution] Build failed.
[solution] Project 'FlexWiki.UnitTests' failed!
[solution] Continuing build with non-dependent projects.
[solution] Building 'FlexWiki.Web' [Debug] ...
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\AccessDenied.
aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Blade.aspx.re
sx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\default.aspx.
resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\DoSearch.aspx
.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\EditService.a
smx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Global.asax.r
esx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\LastModified.
aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Login.aspx.re
sx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Logoff.aspx.r
esx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\LostAndFound.
aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Preview.aspx.
resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Print.aspx.re
sx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\QuickLink.asp
x.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Rename.aspx.r
esx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\RequestNamesp
ace.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Rss.aspx.resx
'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\RssFace.aspx.
resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\SafeMode.aspx
.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Search.aspx.r
esx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\ShowNewslette
r.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\UpgradeConfig
urationFile.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\Versions.aspx
.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\WikiEdit.aspx
.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\Config.
aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\default
.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\EditLin
ksBlacklist.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\EditPro
vider.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\Newslet
ter.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\Provide
rs.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\ShowCac
he.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 0 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\ShowUpd
ates.aspx.resx'
[resgen] Writing resource file... Done.
[resgen] Read in 3 resources from 'C:
\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\FlexWi
ki.Web\admin\Upgrade
ConfigFile.aspx.resx'
[resgen] Writing resource file... Done.
[solution]
[solution] Solution failed to build! Failed projects were:
[solution] - BuildVerificationTests
[solution] - FlexWiki.UnitTests

BUILD FAILED - 12 non-fatal error(s), 0 warning(s)

C:\Documents and
Settings\Administrator\Desktop\FlexWiki\Source\flexwiki
core.build(299,6):
Project build failed.

Total time: 21.1 seconds.

Discussion


Log in to post a comment.