Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks

2011-10-28 Thread Rob Richardson




- Original Message -
From: Stefan Bodewig 
To: nant-developers@lists.sourceforge.net
Cc: 
Sent: Friday, October 28, 2011 2:17 AM
Subject: Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks

On 2011-10-26, Ryan Boggs wrote:

> On Wed, Oct 26, 2011 at 8:53 AM, Stefan Bodewig
>  wrote:

>> When I worked on the log4net release I cursed NAnt's lack of a 
>> so a big +1 for this.  I also miss .  Badly.
> I should add  too, eh?

> This may be my Ant bias.  log4net's build file is a big mess of
> copy-paste and I think macrodef would help, but maybe there is a
> NAnt-idiomatic way of fixing that without macrodef.  It looks as if
> "call"ing a target is something you'd do more lightly and more often in
> NAnt than in Ant.

In Ant if you "call" a target and return, the variables set in that inner 
target aren't available in the outer scope.  Therefore you can't easily create 
"call"-able, reusable functions that return stuff, you can only create helpful 
things that do things.  Thus, in Ant, you create insane dependency chains.  The 
way around this in Ant is .

In NAnt if you "call" something and return, all the variables set in the inner 
scope still exist.  Therefore I can create helpful "figure out the path" 
call-able targets or  around a call target or intermingle in effect 
function calls with pre- and post-processing code.

I find NAnt's paradigm more helpful and easier to understand, though I 
understand why Ant chose to scope properties the way it did.  In the end, 
having an NAnt  would be very useful, but it'd be less useful to 
those who understand the difference between property scopes between the 
products and more useful to people trying to copy/paste functionality from Ant.

Rob

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks

2011-10-26 Thread Rob Richardson
Ryan,

Towards #net_4, I'd like to see an official download package for each runtime 
we target.  E.g. one download for .net 1 (the one we have now ... until we kill 
it off), .net 2, .net 4, mono vX, mono vY, etc -- e.g. a download per #define 
tag.  Right now the only way to get a #net_4 runtime version is to download 
source and compile.  That isn't too bad except I have to dig up a VM that still 
has / I don't mind installing CVS onto.  (Referencing the previous git / github 
+1.  :D)

With git / github, check 
out http://sourceforge.net/mailarchive/message.php?msg_id=27967861 and https://github.com/skolima/NAnt.
  It'd be very, very nice if it was official. rather than cron-cloned.

What is still needed with the  task?  I'd like to see more built-in 
parameters instead of resulting to  but at the end of the day, it gets 
it done.

I'd love to help in any way I can.  I've got a nice library I'd love to share 
that implements Ant's  and  tasks.  I've also got tasks 
that list projects given a solution, list project content given a project (to 
facilitate deploying a website), runs a sql command given a connection string 
or an app/web.config and (optionally) connection name using SqlClient instead 
of ODBC, and a few other goodies and tricks.  +1 for  as well, though 
I didn't write it.  If any of these can get into the official trunk for NAnt or 
Contrib, all the better.

I grant in the near-term you probably need more help in existing tasks than in 
new ones, and I'm ok with that too.  What're the open issues / tasks?  Which 
would you like me to take on first?

Rob



- Original Message -
From: Ryan Boggs 
To: Rob Richardson 
Cc: "nant-developers@lists.sourceforge.net" 

Sent: Wednesday, October 26, 2011 12:35 PM
Subject: Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks

Hi,

On Wed, Oct 26, 2011 at 12:21 PM, Rob Richardson  wrote:
> I'll avoid the >athon and just reply at the top.
>
> +1 on git and github.  That's more-or-less the lingua franca of 
> open-source now-a-days.  Being able to accept pull
> requests would be awesome!  Once it's
> there, I've got a heap ton of pull requests I'd love to hand off.  To that 
> end, we should consider a 
> task in NAnt, and consider moving  to NAntContrib.
Nice, another plus 1.
My thinking was to move both NAnt/NAntContrib to a non-CVS repo at the
same time.  Hopefully, this process will bring the projects closer
together in scope so we don't have a lag on one side or another.
>
> I'd like to see 
> either get to 2.5.10 or spun off as a separate project.  I had to resort to 
>  to get 2.5.10
> working as well.  Many SF patches / posts
> have upgraded the task throughout the years, but it's never gotten pulled 
> into the trunk.  If NAnt's cadence is going to be anywhere
> near previous precedent,  has to move separately to remain relevant.
My goal is to get it to the latest version, which is 2.5.10 I believe.
Like I stated in a previous email today, I couldn't get to it during
0.91 development because of the amount of effort needed to update NAnt
to use the new NUnit API.
>
> I'd like to also throw in my
> vote to get  moved from NAntContrib to NAnt.  The  task 
> hasn't worked for
> me in 5 years, and thus  has really become an essential part of
> NAnt.  (Towards the goals of NAnt 2.5, we could shim  to use 
>  for VS 2005+ projects/solutions.)  Tangentially related, if we used 
> the
>  task to build NAnt, we could easily get "Any CPU"
> mode -- a result not currently available in the NAnt release package.
IIRC, the  task needs some more effort before being ported
over.  I know there was work done around VS.NET/msbuild during the
0.91 release cycle but I am not sure how much of that effort related
to the NAntContrib  task.

I was planning on approaching this now anyway.  One of the things I
would like to work on is some kind of sandcastle task for doc building
but it would probably have to rely on that  task.
>
> +1 on moving to .net 2 and
> generics, and a standard #define net_4 release would also be awesome.
I thought we had the net_4.0 preprocessing tag in NAnt already, unless
I am misunderstanding you here.
>
> How can I help?
Love the enthusiasm! :) Speak up and be heard.  I try to read these
messages as much as I can so any input/advice/suggestions you or
anyone else may have, please chime in.  We welcome it. :)

I'm hoping to get a more up-to-date contribution guide going once we
make a decision on the cvs repo situation.  I'll post it once we get
there. :)

Thanks,
Ryan
>
> Rob
>
> --
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is

Re: [nant-dev] Next NAnt/NAntContrib TODO Tasks

2011-10-26 Thread Rob Richardson
I'll avoid the >athon and just reply at the top.
 
+1 on git and github.  That's more-or-less the lingua franca of 
open-source now-a-days.  Being able to accept pull
requests would be awesome!  Once it's
there, I've got a heap ton of pull requests I'd love to hand off.  To that end, 
we should consider a 
task in NAnt, and consider moving  to NAntContrib.
 
I'd like to see 
either get to 2.5.10 or spun off as a separate project.  I had to resort to 
 to get 2.5.10
working as well.  Many SF patches / posts
have upgraded the task throughout the years, but it's never gotten pulled into 
the trunk.  If NAnt's cadence is going to be anywhere
near previous precedent,  has to move separately to remain relevant.
 
I'd like to also throw in my
vote to get  moved from NAntContrib to NAnt.  The  task 
hasn't worked for
me in 5 years, and thus  has really become an essential part of
NAnt.  (Towards the goals of NAnt 2.5, we could shim  to use 
 for VS 2005+ projects/solutions.)  Tangentially related, if we used 
the
 task to build NAnt, we could easily get "Any CPU"
mode -- a result not currently available in the NAnt release package.
 
+1 on moving to .net 2 and
generics, and a standard #define net_4 release would also be awesome.

How can I help?
 
Rob

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Custom task referencing .net 4 in 0.91 beta 1?

2011-10-03 Thread Rob Richardson
Can I use NAnt 0.91 beta 1 with a custom Task compiled against .net 4?  I'm 
specifically looking for Task.

Rob

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers