Hi Gert,
I saw your LicenseTask commit, and did a cvs up -C, rebuilt everything and
tried my infragistics based web app compile again.
I got:
BUILD FAILED
Failed to create license for type
'Infragistics.WebUI.UltraWebGrid.UltraWebGrid'
.
License attribute not found
Total time: 26.1 seconds.
Attached is a debug log.
Sorry!
Peter
>>> The information contained in this e-mail transmission is privileged and/or
>>> confidential intended solely for the exclusive use of the individual addressee. If
>>> you are not the intended addressee you are hereby notified that any retention,
>>> disclosure or other use is strictly prohibited. If you have received this
>>> notification in error, please immediately contact the sender and delete the
>>> material.
NAnt 0.85 (Build 0.85.1573.0; net-1.0.win32; nightly; 4/22/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net
Framework 'net-1.2' is invalid and has not been loaded : Framework directory
'C:\WINDOWS\Microsoft.NET\Framework\v1.2.30703' does not exist.
Framework 'mono-1.0' is invalid and has not been loaded : Property evaluation failed.
Expression: ${sdkInstallRoot}\bin
^^^^^^^^^^^^^^
Framework 'sscli-1.0' is invalid and has not been loaded : Framework directory
'C:\sscli\build\v1.x86fstchk.rotor' does not exist.
Buildfile: file:///H:/Projects/PL/nightly/build/PLWeb.nant.build
Base Directory: H:\Projects\PL\nightly\build.
Target(s) specified: build-release
H:\Projects\PL\nightly\build\PLWeb.nant.build(27,3): Attribute 'propertyexists' for
<ifnot ... /> is deprecated. Use <if test="${property::exists('propertyname')}">
instead.
[include] Including file y:\bld\build\nant\train\tools.build.
[echo] CPS Public NAnt Tools included (includes NAnt Contrib)!
[loadtasks] Loading tasks from assembly
'c:\nantcvs\nant\build\net-1.0.win32\nant-0.85-debug\nantcontrib.Tasks-0.84\bin\NAnt.Contrib.Tasks.dll'.
Adding a fileset reference with id 'source'.
Adding a fileset reference with id 'binaries'.
Build sequence for target `build-release' is build-release
Complete build sequence is build-release, clean-source, clean, fetch, fixwebconfig,
clean-test-results, install-test-results, test-debug, test-release, build-debug,
check-debug, install-debug, build-docs, install-docs, install-release, check-release,
tool-normalize-options, tool-create-exports, tool-verify-return-code,
tool-determine-install, tool-rename-dir, tool-cycle-3
build-release:
[solution] Starting solution build.
[solution] Found webmap match: PLWeb\PLWeb.csproj
[solution] Loading projects...
[solution] Loading project 'H:\Projects\PL\nightly\PLWeb\PLWeb.csproj'.
[solution] Project: PLWeb Relative Output Path: c:\inetpub\wwwroot\LocalPL\bin\
Output Path: c:\inetpub\wwwroot\LocalPL\bin Documentation Path:
[solution] Project: PLWeb Relative Output Path: c:\inetpub\wwwroot\LocalPL\bin\
Output Path: c:\inetpub\wwwroot\LocalPL\bin Documentation Path:
[solution] Gathering additional dependencies...
[solution] Fixing up references...
[solution] Building 'PLWeb' [Release]...
[solution] Copying references:
[solution] - Infragistics.WebUI.UltraWebNavigator.v3
[copy] Copying 0 files to 'c:\inetpub\wwwroot\LocalPL\bin'.
[solution] Compiling resources:
[solution] - H:\Projects\PL\nightly\PLWeb\licenses.licx
[license] Output file
'H:\Projects\PL\nightly\PLWeb\obj\Release\PLWeb.dll.licenses' does not exist,
recompiling.
[license] Compiling license file
'H:\Projects\PL\nightly\PLWeb\licenses.licx' to
'H:\Projects\PL\nightly\PLWeb\obj\Release\PLWeb.dll.licenses' using target 'PLWeb.dll'.
[license] Currently loaded assemblies:
[license] mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
[license] NAnt.DotNetTasks, Version=0.85.1573.0, Culture=neutral,
PublicKeyToken=null
[license] NAnt.Core, Version=0.85.1573.0, Culture=neutral,
PublicKeyToken=null
[license] System.Xml, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
[license] log4net, Version=1.2.0.30714, Culture=neutral,
PublicKeyToken=b32731d11ce58905
[license] System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
[license] NAnt.VSNetTasks, Version=0.85.1573.0, Culture=neutral,
PublicKeyToken=null
[license] Loading assemblies ...
[license] Added assembly 'Infragistics.WebUI.UltraWebGrid.v2,
Version=2.1.20033.4, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' to assembly
cache.
[license]
H:\Projects\PL\nightly\bin\release\Infragistics.WebUI.UltraWebGrid.v2.dll (loaded)
[license] Added assembly 'Infragistics.WebUI.Shared,
Version=1.0.20033.14, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' to assembly
cache.
[license] H:\Projects\PL\nightly\lib\Infragistics.WebUI.Shared.dll
(loaded)
[license] Added assembly 'MetaBuilders.WebControls.ConfirmedButton,
Version=1.7.776.3772, Culture=neutral, PublicKeyToken=8f1b87f9edb00944' to assembly
cache.
[license]
H:\Projects\PL\nightly\lib\MetaBuilders.WebControls.ConfirmedButton.dll (loaded)
[license] Added assembly 'Infragistics.WebUI.UltraWebNavigator.v3,
Version=3.0.20033.8, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' to assembly
cache.
[license]
H:\Projects\PL\nightly\lib\Infragistics.WebUI.UltraWebNavigator.v3.dll (loaded)
[license] C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll
(skipped)
[license] C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Design.dll
(skipped)
[license] C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll
(skipped)
[license]
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll (skipped)
[license] C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll
(skipped)
[license]
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Windows.Forms.dll (skipped)
[license] C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll
(skipped)
[license] Creating licenses ...
[license] Infragistics.WebUI.UltraWebGrid.UltraWebGrid,
Infragistics.WebUI.UltraWebGrid.v2, Version=2.1.20033.4, Culture=neutral,
PublicKeyToken=7dd5c3163f2cd0cb:
[license] Added assembly 'System.Web, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' to assembly cache.
[license] Added assembly 'System.Drawing, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' to assembly cache.
[license]
file:///H:/Projects/PL/nightly/bin/release/Infragistics.WebUI.UltraWebGrid.v2.dll
[license] License type: 'Infragistics.WebUI.UltraWebGrid.UltraWebGrid,
Infragistics.WebUI.UltraWebGrid.v2, Version=2.1.20033.4, Culture=neutral,
PublicKeyToken=7dd5c3163f2cd0cb'.
[license] Added assembly 'Infragistics.WebUI.Shared,
Version=1.0.20033.14, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' to assembly
cache.
[license] License provider attribute
'System.ComponentModel.LicenseProviderAttribute, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089'.
[license] License provider
'Infragistics.WebUI.Shared.UltraLicenseProvider, Infragistics.WebUI.Shared,
Version=1.0.20033.14, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'.
[license] Added assembly 'System.Design, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' to assembly cache.
[license] Is licensed : False
[license] Assembly 'Infragistics.WebUI.Shared' could not be located.
LicenseManager.CreateWithContext failed:
System.ComponentModel.LicenseException: License attribute not found
at System.ComponentModel.LicenseManager.CreateWithContext(Type type,
LicenseContext creationContext, Object[] args)
at System.ComponentModel.LicenseManager.CreateWithContext(Type type,
LicenseContext creationContext)
at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTask, String licensesFile) in
C:\nantcvs\nant\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 452
[solution] Cleaning up temp folder C:\DOCUME~1\E64051\LOCALS~1\Temp\i_7r9utn.
[solution] File C:\DOCUME~1\E64051\LOCALS~1\Temp\i_7r9utn\compile-commands.txt has
other than normal attributes. Fixing.
BUILD FAILED
Failed to create license for type 'Infragistics.WebUI.UltraWebGrid.UltraWebGrid'.:
NAnt.Core.BuildException: Failed to create license for type
'Infragistics.WebUI.UltraWebGrid.UltraWebGrid'. ---> System.Exception: License
attribute not found
--- End of inner exception stack trace ---
Server stack trace:
at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTask,
String licensesFile) in C:\nantcvs\nant\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 496
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase
mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,
IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,
Int32 type)
at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTask,
String licensesFile) in C:\nantcvs\nant\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 285
at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() in
C:\nantcvs\nant\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 202
at NAnt.Core.Task.Execute() in C:\nantcvs\nant\src\NAnt.Core\Task.cs:line 151
at NAnt.VSNet.Resource.CompileLicx(ConfigurationSettings configurationSettings) in
C:\nantcvs\nant\src\NAnt.VSNet\Resource.cs:line 203
at NAnt.VSNet.Resource.Compile(ConfigurationSettings configurationSettings) in
C:\nantcvs\nant\src\NAnt.VSNet\Resource.cs:line 87
at NAnt.VSNet.Project.Build(ConfigurationBase configurationSettings) in
C:\nantcvs\nant\src\NAnt.VSNet\Project.cs:line 387
at NAnt.VSNet.ProjectBase.Compile(String configuration) in
C:\nantcvs\nant\src\NAnt.VSNet\ProjectBase.cs:line 168
at NAnt.VSNet.Solution.Compile(String configuration) in
C:\nantcvs\nant\src\NAnt.VSNet\Solution.cs:line 327
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\nantcvs\nant\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 370
at NAnt.Core.Task.Execute() in C:\nantcvs\nant\src\NAnt.Core\Task.cs:line 151
at NAnt.Core.Target.Execute() in C:\nantcvs\nant\src\NAnt.Core\Target.cs:line 253
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in
C:\nantcvs\nant\src\NAnt.Core\Project.cs:line 892
at NAnt.Core.Project.Execute() in C:\nantcvs\nant\src\NAnt.Core\Project.cs:line 849
at NAnt.Core.Project.Run() in C:\nantcvs\nant\src\NAnt.Core\Project.cs:line 917
Total time: 18.2 seconds.