Hi – I’m new to all this so please have patience….

 

I just installed nant 0.84 and found that the solution task does not support solutions with setup or msi projects included.  I then downloaded nantcontrib hoping to use the solution/slingshot task however I just can’t get the property “nant.dir” correct to build nantcontrib.  (C#; VS2003)

 

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.”

 

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.  (Both 8.4, nant downloaded last week, nantcontrib today)

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 thought I knew where nant was built – 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 -

 

Here’s what I’m doing:

Using a command prompt window I move to the nantcontrib.tasks-0.84 directory; here is where the nantcontrib.build file is.

I then attempt to follow the readme.txt instructions and supply a value for nant.dir. 

 

I’ve tried many variations of the build line as seen in readme.txt at the c:nant\natcontrib.tasks-0.84 prompt. 

Each time I get the following errors:

Buildfile: file:///C:/NANT/nantcontrib.Tasks-0.84/nantcontrib.build

Target(s) specified: test

 

 

Could not find file "C:\NANT\properties.xml".

 

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:

 

BUILD FAILED

 

C:\NANT\nantcontrib.Tasks-0.84\nantcontrib.build(39,14):

The specified folder containing the NAnt build (c:\cvs\nant\nant-0.84) does not exist.

 

Note that in all cases, I always get both errors; can’f find properties.xml; in fact, using windows search I cannot locate this file in either nant directories, along with the actual “build failed” message.  In all cases the error messages include “cvs” in the path. 

Shouldn’t the cvs be stripped out of the path when looking for the nant build? 

 

Again, I’m very new to this.  Thanks in advance for any help.

 

 

Lisa

 

 

 

 

 

 

 

 

Reply via email to