Bryan,

The reason you won't get hits on Draco && webmap is because webmap is a
NAnt construct... and not Draco's fault at all.  IMNSHO, there is a lot
of time and effort being wasted on the <solution/> task by the NAnt team
to reinvent the wheel which could be better spent elsewhere.  But it's
their free time, so who am I to criticize?  I'm sure they believe my
skydiving time to be wasted.  :)

If you ask the NAnt mailing list for help with <solution/>, the first
five responses you get will be to download the latest nightly build or
get the current version from CVS and try that... so, if you're committed
to trying to use <solution/>, you'll probably want to start there.  [Let
us know how it works out!!]

Rumor has it that we *might* see a NAnt 0.85 release this year (the last
one was 0.84 in December 2003!).

I gave up trying to use the NAnt <solution/> task for anything long ago
and use the <csc/> task to compile our all of our binaries, web
projects, services, console apps, libraries, whatever.  It's fast; it's
light and it performs all the functions we really need at the moment,
including clear indication of why the build bombed.

Trying to automate/wrap DEVENV.EXE directly with the <exec/> task is
woefully inadequate because of the STUPID requirements that M$ built
into web projects that IIS be available and configured to match the web
project just in order to build a simple library.

I experimented briefly with simply changing the project types from "Web"
to "Local" and using the <exec/> task to call DEVENV.EXE to do the build
in a vain effort to make the build environment behave exactly like the
development environment...  It worked, after a fashion, and produced
libraries that will serve ASP.NET pages, if you're interested, I'll
share what I learned about transforming web solutions/projects into
local solutions/projects (since I never found the format to be
documented anywhere by Gates & Sons).

I abandoned the vanity for a couple or three reasons:

1. DEVENV.EXE doesn't seem to have a facility for outputting verbose
failure data.  "Return code 1" isn't very helpful in determining what
stupid developer trick was just performed.

2. DEVENV.EXE performs horribly slowly and consumes major quantities of
RAM by comparison with CSC.EXE.  Because we run the compile twice with
every check in (one debug build for NUnit to chew on and one release
build to actually deploy to the integration environment), it's critical
that the build run as fast as possible (still need to replace that crazy
<sql/> task with some faster for deploying sprocs!).

3. Once a project is established (for us), the references don't change
often, so it's not that hard to update the .build whenever you make a
change to the .SLN.

4. If you're operating a strictly legal (licensewise) shop then you have
to buy yet another VS.NET license just for the build server.  This
wasn't a problem for me (since we've got Universals to spare), but this
was one of the many justifications that I've seen on the NAnt lists for
reinventing the wheel in the form of the <solution/> task, so just be
aware of it.

Here's to hoping the MSBuild be a solid replacement for NAnt and be a
better build system than the wacky one we have cobbled together right
now.  If only M$ would hurry the [CENSORED] up deliver!  (As if nobody
has ever complained that I've been "too long" building software.  Heh.)

Speaking of MSBuild...  Is anybody out there playing with the beta yet
and wondering how to integrate it into Draco?



> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:draconet-users-
> [EMAIL PROTECTED] On Behalf Of Nick Robinson
> Sent: Saturday, July 17, 2004 7:00 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Draconet-users] Vault and Draconet?
> 
> Hi,
> 
> I attempted to implement a webmap sometime ago, but still found I had
> problems.  I believe I tried to use a relative path for the webmap
path,
> but
> I was still having problems.  I never got to the bottom of this
because of
> pressures elsewhere.  Have you tried using relative paths for the
webmap?
> Are you using the latest version of Nant? Some people on here have had
> ideas
> on how to work with web solutions....
> 
> nick.robinson
> site  : www.fromconcept.co.uk
> blog  : www.fromconcept.co.uk/weblog.aspx
> draco : www.sourceforge.net/projects/draconet
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
Bryan D.
> > Andrews
> > Sent: 16 July 2004 21:01
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Draconet-users] Vault and Draconet?
> >
> >
> > I got this fixed. Can you tell me how I should configure this Nant
> > solution task with Draco?
> >
> > I fudged it to make it work (created a local copy of the webmap). Is
> > there a way to specify where the files are being pulled down to?
> >
> > Nick I saw a post from you about a year or 2 ago on this topic.
> >
> > Thanks for any ideas.
> >
> > Here is my simple build file:
> >
> > <?xml version="1.0"?>
> > <project name="Nant1">
> >
> >     <solution solutionfile="mySol.sln" configuration="debug">
> >             <webmap>
> >                     <map
> > url="http://localhost/myProject/myProject.vbproj";
> > path="C:\proj\myProject.vbproj" />
> >             </webmap>
> >     </solution>
> >
> >     <nunit2>
> >             <formatter type="Plain" />
> >             <test assemblyname="bin/my_Tests.dll" />
> >             </nunit2>
> >
> > </project>
> >
> >
> >
> > -----Original Message-----
> > From: Nick Robinson [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 16, 2004 12:35 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Draconet-users] Vault and Draconet?
> >
> > You would need to modify the sourcecode to disable the deletion of
the
> > files.  However, this is a simple step.  Take a look at
> > BuildRunner.BuildModule.  Towards the end, there is a piece of code
that
> > looks like this:
> >
> >                 try {
> >                     // Clean up our mess.
> >                     if (Directory.Exists(sourceDir)) {
> >                         Directory.Delete(sourceDir, true);
> >                     }
> >                 } catch {
> >                     // Do nothing.
> >                 }
> >
> > Comment the two Directory referencing lines, and you should find
your
> > temp
> > dirs remain intact after build completion.
> >
> > I am curious, does your build have relative files or absolutes?
What is
> > the
> > error you get from Draco?
> >
> > nick.robinson
> > site  : www.fromconcept.co.uk
> > blog  : www.fromconcept.co.uk/weblog.aspx
> > draco : www.sourceforge.net/projects/draconet
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Behalf Of
Bryan
> > D.
> > > Andrews
> > > Sent: 16 July 2004 14:31
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [Draconet-users] Vault and Draconet?
> > >
> > >
> > > So I got this working as per James Guerts blog entry, but I am
having
> > > problems with the build.
> > >
> > > I know that I have problems with the build with VS if I do not Get
> > > Latest and mark all Writable. And it actually looks like I am
> > > downloading with the files set to writable, but still have
failures
> > with
> > > the build.
> > >
> > > If I run the nant file manually after pulling down the files
through
> > the
> > > vault, it works great.
> > >
> > > Basically I am asking has anyone else had trouble when building
with a
> > > NANT script that normally builds fine?
> > >
> > > Is there a way to keep the temp files from deleting so I can try
to
> > run
> > > the nant script manually from that location?
> > >
> > > Thanks!
> > >
> > > -----Original Message-----
> > > From: Bryan D. Andrews
> > > Sent: Tuesday, July 13, 2004 7:23 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [Draconet-users] Vault and Draconet?
> > >
> > > Yes we run Draco and Subversion successfully. Works great and out
of
> > the
> > > box. Wish Vault and Draco did:
> > >
> > > I am working from James Guerts blog entry now:
> > >
> > > http://blogs.biasecurities.com/jim/archive/2004/05/10/501.aspx
> > >
> > > Hopefully this will work...
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: David Reed [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, July 12, 2004 11:32 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [Draconet-users] Vault and Draconet?
> > >
> > >
> > > > -----Original Message-----
> > > > From: Bryan D. Andrews
> > > > Sent: Monday, July 12, 2004 9:38 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [Draconet-users] Vault and Draconet?
> > > >
> > > > Anyone got this going? Any advice or suggestions?
> > >
> > > Yeah, Subversion and Draco.
> > >
> > > Actually, it'd be nice if you'd be the guinea pig, since we're
going
> > to
> > > switch in the next couple weeks...  :)  At least until they hold
the
> > > PVCS gun to my head and pull the trigger.
> > >
> > > Anybody out there using Subversion with Draco?  Successfully?  ;)
> > >
> > > [I installed the Vault thang a couple times, and it ate VS.NET
2k3,
> > more
> > > or less.  I like the special "feature" with Vault which won't let
you
> > > run it side-by-side with VSS, not even to switch back and forth.
All
> > or
> > > nothing is great way to railroad prospective customers...]
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by Black Hat Briefings & Training.
> > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital
> > > self defense, top technical experts, no vendor pitches, unmatched
> > > networking opportunities. Visit www.blackhat.com
> > > _______________________________________________
> > > Draconet-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/draconet-users
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by Black Hat Briefings & Training.
> > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> > > digital self defense, top technical experts, no vendor pitches,
> > > unmatched networking opportunities. Visit www.blackhat.com
> > > _______________________________________________
> > > Draconet-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/draconet-users
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by BEA Weblogic Workshop
> > > FREE Java Enterprise J2EE developer tools!
> > > Get your free copy of BEA WebLogic Workshop 8.1 today.
> > > http://ads.osdn.com/?ad_idG21&alloc_id040&op=ick
> > > _______________________________________________
> > > Draconet-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/draconet-users
> > >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by BEA Weblogic Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1 today.
> > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> > _______________________________________________
> > Draconet-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/draconet-users
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by BEA Weblogic Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1 today.
> > http://ads.osdn.com/?ad_idG21&alloc_id040&op=ick
> > _______________________________________________
> > Draconet-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/draconet-users
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Draconet-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/draconet-users


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users

Reply via email to