ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: pointer to xbuild -ant variant for .net
Date Thu, 26 Apr 2001 01:12:23 GMT
ooh, I didnt write it; David Buksbaum did -so talk to him.

The basic stuff is very similar, and it would be nice if they were the
same -not just for cut and paste but for documentation consistency.

All the C# stuff I've done till now has used ant and the c# tasks therein; I
was going to sit down some time and flush out the command set to include
typelib stuff for COM import export and the same for SOAP. Ant has the edge
in deployment tasks, which are most of the problem these days.

the key advantage of a .net sibling is a) ease of integrating with stuff
that gets written in that language and b) ease of use as an installation
tool onto a .net destination -you know the runtime you need is there. And it
slowly helps dredge the win32 world away from NMAKE 'second worst make
implementation ever'

-steve

----- Original Message -----
From: "Peter Donald" <donaldp@apache.org>
To: <ant-dev@jakarta.apache.org>
Cc: "Steve Loughran" <steve_l@iseran.com>
Sent: Wednesday, April 25, 2001 17:36
Subject: Re: pointer to xbuild -ant variant for .net


> Hi,
>
> Looks interesting - not that I know much about C# ;)
>
> Just curious - you state it started as a learning project - how interested
> are you in continuing work on it? Would it be interesting to collaborate
> and see if we could gret at least the basic elements "standard"?
>
> BTW I believe ant now has C# tasks ;)
>
> At 11:03  23/4/01 -0700, Steve Loughran wrote:
> >I just thought I'd forward on an announcement (on the develop .net mail
> >list) about the first public release of an ant-like build tool for .net.
> >
> >"The first public version of XBuild has been released and is available at
> >http://www.hazware.com/.
> >
> >XBuild is an XML based build tool inspired by ANT (see
> >http://jakarta.apache.org/ant/index.html for more information). I
> >started with the ANT design and made some changes so as to leverage some
> >.NET functionality and wrote it in C#. This was done as an experiment to
> >learn .NET and C#, and to sort of kick the tires on the .NET framework.
> >
> >So I am now releasing the source code for anyone else to use and learn
> >from. Hopefully some brave souls will add more tasks (see ANT or XBuild
> >for info on what I mean by task) and this can get some momentum behind
> >it.
> >
> >This is version 1.0.1.3.
> >
> >Have fun.
> >David Buksbaum"
> >
> >
> >The xml file is very similar , a sample task could just as easily be
handled
> >by ant as xbuild, which is kind of slick:-
> >
> >  <target name="core">
> >    <echo message="Building Core." />
> >
> >    <csc targettype="library" outfile="xbcoreA.dll">
> >      <references>
> >        ${standard.references}
> >        ${nunit.bin}\NUnitCore.dll
> >      </references>
> >
> >      <source>
> >        <includes files="*.cs" />
> >        <excludes files="XBuildLauncher.cs" />
> >      </source>
> >
> >      <source>
> >        <includes files="common/*.cs" />
> >        <includes files="nunit/*.cs" />
> >        <includes files="tasks/*.cs" />
> >      </source>
> >    </csc>
> >  </target>
> >
> >What is interesting is that the implementation used the .net metadata
stuff
> >as means of describing all exported methods. Instead of setValue()
methods,
> >you just mark up a variable and *somehow* the system uses that to build
the
> >TOM/parse the build file.
> >
> >    [TaskAttributeAttribute("warnaserror", ExpandText=false,
Default=false)]
> >    bool    m_bWarnAsError;
> >
> >    [TaskAttributeAttribute("warnlevel", ExpandText=false, Default=3)]
> >    int     m_nWarningLevel;
> >    [TaskAttributeAttribute("baseaddress", ExpandText=false,
> >Default=0x10000000)]
> >    long    m_nBaseAddress;
> >
> >That isnt necessarily any simpler, but it may simplify other things
(dynamic
> >doc generation, UI tools (which can see what the default value should
be),
> >and the like.
> >
> >It's still a skinny first pass beta test; all the tasks are fairly
> >foundation (file movement, deletion, copy; echo ; csc), but it shows
promise
> >as a way of getting .net development decoupled from VS.net without having
to
> >resort to makefiles. It doesnt address deployment yet, except through
> >'copy', but if it does get used in .net land, then maybe more deployment
> >tasks will be added. Too bad there's no built in support for zip in .net
> >though.
> >
> >-Steve
> >
> >



Mime
View raw message