|
Dan,
No problem with the cross post. If you can't get an
answer, there is every reason to try again someplace else. :)
You can call NAnt directly (via the Project class),
but NAnt will shell out and call the compiler executables. So, your code will
not call out via the process object, but ours will. If that is fine with you, go
for it.
You may wish to look at
draco (draconet.sf.net) as a continuous/automated build service. It
isn't a web service, but can build nant/vs.net projects based on changes to the
source tree, or via scheduled tasks.
On the wiki (nant.sf.net/wiki) there are some
new pages which address the issue of a build server, and make comments about
their uses.
Sorry for the delay on a response,
Scott
----- Original Message -----
Sent: Thursday, March 06, 2003 2:45
AM
Subject: [nant-dev] Newbie question
I need to create a
web service based build tool for my company. I have already done the VB6 /
C++6 side of the equation, painfully and using quite a brutal
method.
I need now to add
.NET projects to my autobuild web service. Can I use the NAnt code directly
from my .NET web service to compile other .NET projects? I am not able to call
out to the compiler via the process namespace, it must be
implemented within my existing project.
I think I can, and
I can use slingshot or the XSL method (both taken from the wiki - thx) to
create the NAnt build config files. I am just a little hesitant to invest the
time if there are unforeseen showstopping issues that suddenly appear.
Also, if this has been done by anyone else it would be very useful to have
some *very* basic pointers.
Many thanks for
help with what I am sure is a really obvious question.
:)
------------------------------------------
This has been
cross-posted from NAnt-users as I got no response
there.
|