I'm new to NANT so I'm working my way through the examples.
We are very likely to need a use task similar to the usertask
example so I've been concentrating on that one. My problem is I can't
get the sample usertask to build. The first time I
build it (nant with no parameters) I get this
message: C:\Program
Files\nant\nant-0.8.01\examples\UserTask>nant Buildfile: file:///C:/Program
Files/nant/nant-0.8.01/examples/UserTask/default.build [csc] Compiling 1 files to
C:\Program Files\nant\nant-0.8.01\examples\UserTask\UserTasks.dll test: [copy]
Copying 1 files to c:\program files\nant\nant-0.8.01\bin\ [nant] C:\Program
Files\nant\nant-0.8.01\examples\UserTask\default.build UserTask
Buildfile: file:///C:/Program
Files/nant/nant-0.8.01/examples/UserTask/default.build
UserTask: BUILD FAILED C:\Program
Files\nant\nant-0.8.01\examples\UserTask\default.build(31,4):
Unknown task <usertask> BUILD FAILED Nested build failed. Refer to build log for exact reason. Try 'nant -help' for more information However, when I run the build again, it works. Presumably
because the copy in the previous attempt work. By the way I can build the
other example successfully, and I do have nant in my
path. Any thoughts?? |
<<attachment: image001.gif>>