Hi all:  I am new to nant and nantcontrib and am in need of some help.  Thanks in advance to anyone who responds.

 

 

I’ve installed and run the examples for nant0.84.

I want to use the solution/slingshot task so I’ve downloaded nantcontrib0.84.

I’ve attached the output based on trying to follow the readme.txt file.

My directory structures are as follows:

Off c:\nant\nant-0.84 I have a bin, build, doc, examples, lib, schema, src and tests dirs. 

Off c:\nant\nantcontrib.tasks-0.84 I have bin, doc, src, tests, tools dirs.

 

All the dirs in nant-0.84 are on the same level; where is the “build directory just above bin”? 

I’ve used just about every combination of directories trying to get the proper “nant.dir”.

I’m feeling really brain dead and need some help.

I’ve attached the verbose output for this.  

Thanks - Lisa

 

 

The readme.txt files states: 

“  2) run NAntContrib.build referencing the version of NAnt just built.

 

nant -D:nant.dir=h:\cvs\nant\build\nant-0.8.4-debug -f:NAntContrib.build

 

nant.dir should point to the build directory just above bin.”

 

 

log4net: log4net assembly [log4net, Version=1.2.0.30714, Culture=neutral, 
PublicKeyToken=b32731d11ce58905]. Loaded from 
[c:\nant\nant-0.84\bin\log4net.dll]. (.NET Runtime [1.1.4322.573] on Microsoft 
Windows NT 5.1.2600.0)
log4net: DefaultRepositorySelector: defaultRepositoryType 
[log4net.Repository.Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: Creating repository for assembly [NAnt, 
Version=0.84.1455.0, Culture=neutral, PublicKeyToken=null]
log4net: DefaultRepositorySelector: Assembly [NAnt, Version=0.84.1455.0, 
Culture=neutral, PublicKeyToken=null] Loaded From 
[C:\NANT\nant-0.84\bin\NAnt.exe]
log4net: DefaultRepositorySelector: Assembly [NAnt, Version=0.84.1455.0, 
Culture=neutral, PublicKeyToken=null] does not have a DomainAttribute specified.
log4net: DefaultRepositorySelector: Assembly [NAnt, Version=0.84.1455.0, 
Culture=neutral, PublicKeyToken=null] using domain [log4net-default-domain] and 
repository type [log4net.Repository.Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: Creating repository for domain 
[log4net-default-domain] using type [log4net.Repository.Hierarchy.Hierarchy]
log4net: DOMConfigurator: configuring repository [log4net-default-domain] using 
file [C:\NANT\nant-0.84\bin\NAnt.exe.config] watching for file updates
log4net: DOMConfigurator: configuring repository [log4net-default-domain] using 
file [C:\NANT\nant-0.84\bin\NAnt.exe.config]
log4net: DOMConfigurator: configuring repository [log4net-default-domain] using 
stream
log4net: DOMConfigurator: loading XML configuration
log4net: DOMConfigurator: Configuring Repository [log4net-default-domain]
log4net: DOMConfigurator: Configuration update mode [Merge].
log4net: DOMConfigurator: Logger [root] Level string is [ERROR].
log4net: DOMConfigurator: Logger [root] level set to [name="ERROR",value=70000].
log4net: DOMConfigurator: Loading Appender [ConsoleAppender] type: 
[log4net.Appender.ConsoleAppender]
log4net: DOMConfigurator: Setting Property [ConversionPattern] to String value 
[[%c{2}:%m  - [%x] <%X{auth}>]%n]
log4net: DOMConfigurator: Setting Property [Layout] to object 
[log4net.Layout.PatternLayout]
log4net: DOMConfigurator: Created Appender [ConsoleAppender]
log4net: DOMConfigurator: Adding appender named [ConsoleAppender] to logger 
[root].
log4net: DOMConfigurator: Hierarchy Threshold [OFF]
log4net: DefaultRepositorySelector: Creating repository for assembly 
[NAnt.Core, Version=0.84.1455.0, Culture=neutral, PublicKeyToken=null]
log4net: DefaultRepositorySelector: Assembly [NAnt.Core, Version=0.84.1455.0, 
Culture=neutral, PublicKeyToken=null] Loaded From 
[c:\nant\nant-0.84\bin\nant.core.dll]
log4net: DefaultRepositorySelector: Assembly [NAnt.Core, Version=0.84.1455.0, 
Culture=neutral, PublicKeyToken=null] does not have a DomainAttribute specified.
log4net: DefaultRepositorySelector: Assembly [NAnt.Core, Version=0.84.1455.0, 
Culture=neutral, PublicKeyToken=null] using domain [log4net-default-domain] and 
repository type [log4net.Repository.Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: domain [log4net-default-domain] already 
exisits, using repository type [log4net.Repository.Hierarchy.Hierarchy]
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Framework net-1.1 is invalid and has not been loaded : Item has already been 
added.  Key in dictionary: "net-1.1"  Key being added: "net-1.1"
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 
'sdkInstallRoot' has not been set.
Framework sscli-1.0 is invalid and has not been loaded : Framework directory 
C:\sscli\build\v1.x86fstchk.rotor does not exist.
Buildfile: file:///C:/NANT/nantcontrib.Tasks-0.84/NAntContrib.build
Base Directory: C:\NANT\nantcontrib.Tasks-0.84.
Target(s) specified: test 
  [include] Including file C:\NANT\properties.xml.

  [include] C:\NANT\nantcontrib.Tasks-0.84\NAntContrib.build(3,6):
Could not include build file C:\NANT\properties.xml.:
NAnt.Core.BuildException: C:\NANT\nantcontrib.Tasks-0.84\NAntContrib.build(3,6):
Could not include build file C:\NANT\properties.xml. ---> 
System.IO.FileNotFoundException: Could not find file "C:\NANT\properties.xml".
File name: "C:\NANT\properties.xml"
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, 
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean 
bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, 
FileShare share)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type 
ofObjectToReturn)
   at System.Xml.XmlTextReader.CreateScanner()
   at System.Xml.XmlTextReader.Init()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
   at System.Xml.XmlValidatingReader.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean 
preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at NAnt.Core.Tasks.IncludeTask.ExecuteTask()
   --- End of inner exception stack trace ---
   at NAnt.Core.Tasks.IncludeTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
  [include] Including file 
C:\NANT\nantcontrib.Tasks-0.84\NAntContribInstall.include.
  [include] Including file 
C:\NANT\nantcontrib.Tasks-0.84\Tools\SLiNgshoT\SLiNgshoTInstall.include.

init:


debug:


set-runtime-configuration:


set-net-1.1-runtime-configuration:


set-runtime-configuration-flags:


set-net-1.1-runtime-configuration:


set-runtime-configuration-flags:

     [echo] Using nant files from C:\NANT\nant-0.84\bin

prepare:

     [copy] Copying 0 files to 
C:\NANT\nantcontrib.Tasks-0.84/build/nantcontrib-0.84-debug/bin.

prepare.slingshot:

     [nant] C:\NANT\nantcontrib.Tasks-0.84\Tools\SLiNgshoT\SLiNgshoT.build 
Release

            Framework net-1.1 is invalid and has not been loaded : Item has 
already been added.  Key in dictionary: "net-1.1"  Key being added: "net-1.1"
            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 
'sdkInstallRoot' has not been set.
            Framework sscli-1.0 is invalid and has not been loaded : Framework 
directory C:\sscli\build\v1.x86fstchk.rotor does not exist.
            Buildfile: 
file:///C:/NANT/nantcontrib.Tasks-0.84/Tools/SLiNgshoT/SLiNgshoT.build
            Base Directory: C:\NANT\nantcontrib.Tasks-0.84\Tools\SLiNgshoT.
            Target(s) specified: Release 
            
            SLiNgshoT.Core.Release:
            
            
            setup:
            
            
            SLiNgshoT.Core:
            
            
            SLiNgshoT.Release:
            
            
            setup:
            
            
            SLiNgshoT:
            
            
            Release:
            
            
            BUILD SUCCEEDED
            
            Total time: 0.2 seconds.

     [copy] Copying 0 files to 
C:\NANT\nantcontrib.Tasks-0.84/build/nantcontrib-0.84-debug/bin/SLiNgshoT.Core.dll.
     [copy] Copying 0 files to 
C:\NANT\nantcontrib.Tasks-0.84/build/nantcontrib-0.84-debug/bin/SLiNgshoT.exe.

compile.schematask:

      [csc] Compiling 1 files to 
C:\NANT\nantcontrib.Tasks-0.84/build/nantcontrib-0.84-debug/bin/NAnt.Xsd.Tasks.dll.
      [csc] Contents of C:\DOCUME~1\lnice\LOCALS~1\Temp\tmp1633.tmp.
/fullpaths
/debug
"/define:DEBUG"
"/define:TRACE"
/nologo
"/target:library"
"/define:NET,NET_1_1"
"/out:C:\NANT\nantcontrib.Tasks-0.84/build/nantcontrib-0.84-debug/bin/NAnt.Xsd.Tasks.dll"
/warnaserror
"C:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs"

      [csc] Starting 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe 
(@"C:\DOCUME~1\lnice\LOCALS~1\Temp\tmp1633.tmp")' in 
'C:\NANT\nantcontrib.Tasks-0.84'
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(29,12): error 
CS0234: The type or namespace name 'Core' does not exist in the class or 
namespace 'NAnt' (are you missing an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(30,12): error 
CS0234: The type or namespace name 'Core' does not exist in the class or 
namespace 'NAnt' (are you missing an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(31,12): error 
CS0234: The type or namespace name 'DotNet' does not exist in the class or 
namespace 'NAnt' (are you missing an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(32,12): error 
CS0234: The type or namespace name 'Core' does not exist in the class or 
namespace 'NAnt' (are you missing an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(55,28): error 
CS0246: The type or namespace name 'ExternalProgramBase' could not be found 
(are you missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(71,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(78,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(86,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(95,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(102,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(110,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(111,10): error 
CS0246: The type or namespace name 'BooleanValidator' could not be found (are 
you missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(119,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(127,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(136,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(144,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(152,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(160,10): error 
CS0246: The type or namespace name 'TaskAttribute' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(53,6): error 
CS0246: The type or namespace name 'TaskName' could not be found (are you 
missing a using directive or an assembly reference?)
            c:\NANT\nantcontrib.Tasks-0.84\src\Tasks\XsdTask.cs(54,6): error 
CS0246: The type or namespace name 'ProgramLocation' could not be found (are 
you missing a using directive or an assembly reference?)

BUILD FAILED

C:\NANT\nantcontrib.Tasks-0.84\NAntContrib.build(81,10):
External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe 
(return code was 1):
NAnt.Core.BuildException: 
C:\NANT\nantcontrib.Tasks-0.84\NAntContrib.build(81,10):
External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe 
(return code was 1)
   at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask()
   at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Total time: 0.8 seconds.

Reply via email to