[nant-dev] Net 4.6 and C# 6.0

2015-09-11 Thread Gert Kello
Hi.

Is there any work done to implement support for .net 4.6 and C# 6.0? Seems
like the SDK for .net 4.6 has different path in registry, so some code
fixing is needed...

Gert
--
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] New Pull Requests

2015-01-25 Thread Ryan Boggs
Hi all,

I have a couple of pull requests for NAnt over at github.com that I am
hoping to get some more eyes on before they go in.  The links are below.
So if any of you that have a moment and a github.com account, would you
mind taking a look and let me know if any changes need to be made?

This one addresses issues #108 and #110 where the task is still evaluated
even though the if attribute returns false. Which can cause problems.
https://github.com/nant/nant/pull/133

This one addresses issue #84 where 'null' property values are sneaking in
with the foreach task.
https://github.com/nant/nant/pull/134

Looking forward to hearing something

Thanks,
Ryan
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] New Nightlys Available

2014-12-22 Thread Ryan Boggs
Hi,

I just wanted to let people know that a new nightly builds have been
posted at sourceforge.net.  The links are below.

http://sourceforge.net/projects/nant/files/nant/nightly/2014-12-22/
http://sourceforge.net/projects/nantcontrib/files/nantcontrib/nightly/2014-12-22/

This build addresses the following items:

 * Fixes issues with the copy/ task that was introduced in 0.92
 * Adds initial implementation of parallel execution
 * The net-2.0 target now uses the Windows SDKs by default instead of
the old .NET 2.0 sdk.
- NAnt will fallback to the old .NET 2.0 sdk if no valid Windows
SDKs are found on the running machine.

We encourage the users to give this nightly build a try to see what
else they would like added/modified/fixed that have not already been
reported in NAnt's issues page on github.com.

https://github.com/nant

We'll send out updates as they come in.

You can also see commits to both NAnt/NAntContrib projects on twitter:
https://twitter.com/nantproject

Happy holidays. :)

Thanks,
Ryan

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Question on EXEC Task Maximum Command line length

2013-04-10 Thread Micah Coletti
Is there a limit on how many arguments can be passed to the exec task??  This 
is on Windows.

We are getting errors when the length get above 1000 characters.

Micah Coletti

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [FYI] sysinfo task changed

2013-03-28 Thread Dominik Guder
Hi Folks,

with Win7-64bit sysinfo task got a problem with env variables named 
ProgramFiles(x86). This is wihtin nant an illegal variable name and thus 
caused sysinfo to fail. The only way was to set 'failonerror=false' for 
sysinfo task to get at least the other variables.

After some discussions https://github.com/nant/nant/pull/83 we changed 
the sysinfo task and now ProgramFiles(x86) will become 
sys.env.ProgramFiles.x86

For all other env variables which might contain illegal chars (from 
nant's point of view) the chars are replaced by an underscore. (see 
below taken from sysinfo docu)

 sysinfo docu

When the name of an environment variable contains characters that are 
not allowed in a property name, the task will use a property name where 
each of such characters is replaced with an underscore (_).

Moreover when the name of an environment variable ends with the string 
(x86) the name of the property that is defined by this task will end 
with .x86 instead.

For example the environment variable ProgramFiles(x86) will become 
sys.env.ProgramFiles.x86 but an environment variable named 
Program(x86)Files would become sys.env.Program_x86_Files.

- end sysinfo docu

So far
Dominik

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Hello

2013-01-29 Thread Micah Coletti
First... Great Tool.  I am coming from the Java/Maven world so it is awesome to 
see a tool like NAnt.   Our organization is migrating from using User/Pass 
authentication to various services to a Token base, where we issue secure 
tokens that can be used in the dev teams code base to get the need credentials 
at runtime.

We are trying to use this token based process in our NAnt build scripts 
especially when calling the exec task where we want to execute a program on 
our Build servers under a different user account.  Example: we have a task that 
uses RoboCopy to copy files from the Build server to a NTFS share.  The build 
agent is running under the local system account and so we need to set the user 
info that runs the robocoy process.  I have been able to make this work by 
overriding the ExecTask adding StartInfo to the process that is being 
created to set the user, domain and password.  Ideally I don't want to override 
the native ExecTask from the NAnt core but create a wrapper or something that 
would enable me to set the process StartInfo, or get this functionality added 
to the NANt core.

Has anyone tried this? Or it there a way to do this in the current NAnt core 
that I am just not seeing?   Also if there is not would anyone be interested in 
what I have done and see if this is something that can be added to the ExecTask 
in a future release of Nant?


Any help would be greatly appreciated

[sig2]

inline: image001.png--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Adding an update parameter to the zip task

2012-12-15 Thread Dominik Guder
Hi,

my understanding is that the use of Dotnetzip should be possible as long 
as we provide it in binary form. This should be ok with Gpl2, but our 
license also includes any later GPL which means that we also need to 
take Gpl3 into account. And therefore I don't have any glue if MS-PL 
fits or not.

But if I remember correctly we had some discussions regarding source of 
nunit and ndoc and why we don't provide it in out repository. @Ryan Do 
you remember?


Maybe we should ask Cheeso for clarification
http://www.codeplex.com/site/users/view/Cheeso

just my 2 ct.

Dominik


Am 14.12.2012 13:28, schrieb Leszek Ciesielski:
 Oh my, I've missed that can of worms when I can suggesting DotNetZip.
 Reading https://www.gnu.org/licenses/license-list.html#ms-pl ,
 https://en.wikipedia.org/wiki/MS-PL#Microsoft_Public_License_.28Ms-PL.29
 , https://dotnetzip.codeplex.com/wikipage?title=Getting-Started and a
 couple of discussions on licenses.open-source.general , my
 understanding is that NAnt can redistribute DotNetZip on two
 conditions:

 - DotNetZip is distributed as an unchanged binary
 - it's marked as covered by MS-PL, not GPLv2

 If my understanding is wrong, then NAnt is already in a legal problem,
 since the distribution contains binary versions of NDoc and NUnit (
 http://nant.sourceforge.net/license.html ) which are not provided
 under the GPLv2 license (they use a GPLv2 compatible license, but the
 interpretation of GPL that would prevent NAnt from using DotNetZip
 requires all components to be re-licensed as GPLv2(3), which is in
 conflict with the current situation).

 On Thu, Dec 13, 2012 at 11:48 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi,

 Before anything is done with dotnetzip, can someone with better license 
 knowledge than me chime in regarding compatibility between gplv2 and ms-pl?  
 I don't mind upgrading libs when applicable but I don't want to get into 
 issues regarding lib licenses.

 Hope that makes sense.

 Thanks,
 Ryan

 On Dec 13, 2012, at 3:04 PM, Leszek Ciesielski skol...@gmail.com wrote:

 Jerome,

 I don't suppose you could also re-write the code to use DotNetZip
 instead of SharpZipLib? :-) The reason I'm mentioning this is because
 1) DotNetZip is maintained, and SharpZipLib no longer seems to be
 2) DotNetZip supports multithreaded zip compression, which is a huge
 gain for practically any machine now

 Binary reference .dll size is 200k (Reduced, i.e. no self-extracting
 archive creation support), so the same as SharpZipLib that NAnt
 currently ships with.

 On Thu, Dec 13, 2012 at 3:06 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Sorry, forgot to CC list.

 Thanks,
 Ryan

 -- Forwarded message --
 From: Ryan Boggs rmbo...@gmail.com
 Date: Thu, Dec 13, 2012 at 7:04 AM
 Subject: Re: [nant-dev] Adding an update parameter to the zip task
 To: jerome.duc...@solog.net


 Hi Jerome,

 If you don't mind, could you please open up a pull request via github
 with this change?  It's easier for us (me at least) to review
 contributions this way.

 NAnt/NAntContrib Dev Guide:
 https://github.com/nant/nant/wiki/Development-Guide

 Github Pull Request Guide:
 https://help.github.com/articles/using-pull-requests

 Thanks,
 Ryan

 On Thu, Dec 13, 2012 at 5:32 AM,  jerome.duc...@solog.net wrote:
 Attached is a first draft of a
 https://github.com/nant/nant/tree/master/src/NAnt.Compression/Tasks/ZipTask.cs
 version allowing to append files to an existing zip archive (see
 http://ant.apache.org/manual/Tasks/zip.html).
 Is it worth writing a unit test for it? What do you think?
 /J


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Adding an update parameter to the zip task

2012-12-13 Thread Ryan Boggs
Hi,

Before anything is done with dotnetzip, can someone with better license 
knowledge than me chime in regarding compatibility between gplv2 and ms-pl?  I 
don't mind upgrading libs when applicable but I don't want to get into issues 
regarding lib licenses.

Hope that makes sense.

Thanks,
Ryan

On Dec 13, 2012, at 3:04 PM, Leszek Ciesielski skol...@gmail.com wrote:

 Jerome,
 
 I don't suppose you could also re-write the code to use DotNetZip
 instead of SharpZipLib? :-) The reason I'm mentioning this is because
 1) DotNetZip is maintained, and SharpZipLib no longer seems to be
 2) DotNetZip supports multithreaded zip compression, which is a huge
 gain for practically any machine now
 
 Binary reference .dll size is 200k (Reduced, i.e. no self-extracting
 archive creation support), so the same as SharpZipLib that NAnt
 currently ships with.
 
 On Thu, Dec 13, 2012 at 3:06 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Sorry, forgot to CC list.
 
 Thanks,
 Ryan
 
 -- Forwarded message --
 From: Ryan Boggs rmbo...@gmail.com
 Date: Thu, Dec 13, 2012 at 7:04 AM
 Subject: Re: [nant-dev] Adding an update parameter to the zip task
 To: jerome.duc...@solog.net
 
 
 Hi Jerome,
 
 If you don't mind, could you please open up a pull request via github
 with this change?  It's easier for us (me at least) to review
 contributions this way.
 
 NAnt/NAntContrib Dev Guide:
 https://github.com/nant/nant/wiki/Development-Guide
 
 Github Pull Request Guide:
 https://help.github.com/articles/using-pull-requests
 
 Thanks,
 Ryan
 
 On Thu, Dec 13, 2012 at 5:32 AM,  jerome.duc...@solog.net wrote:
 Attached is a first draft of a
 https://github.com/nant/nant/tree/master/src/NAnt.Compression/Tasks/ZipTask.cs
 version allowing to append files to an existing zip archive (see
 http://ant.apache.org/manual/Tasks/zip.html).
 Is it worth writing a unit test for it? What do you think?
 /J
 
 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers
 
 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Force use of original .Net 4.0 when .Net 4.5 is installed

2012-10-30 Thread Oskar Berggren
I've created it:
https://github.com/nant/nant/issues/78

I discovered this while working to bring NHibernate to .Net 4.

/Oskar


2012/10/30 Dominik Guder o...@guder.org

 Hi Oskar,

 do you have a github account? If so then it would be nice if you add
 your issue to nant
 I would prefer to discuss it there.

 If not, then I could create this issue also. Thanks so far.

 Dominik


 On 2012-10-29 08:06, Oskar Berggren wrote:
  Thanks Dominik,
 
  Here's some more information I've discovered:
 
 
 http://blogs.msdn.com/b/msbuild/archive/2007/04/12/new-reference-assemblies-location.aspx
  [8]
 
  I suspect a possible complication would be that the reference
  assemblies seems to be installed by the SDK or visual studio, and
  thus
  not available if either of these are not installed.
 
  /Oskar
 
   2012/10/28 Dominik Guder o...@guder.org [9]
 
  Hi,
 
  the develelopers are taking a look. From my point of view I want to
  check the proper usage of Referenced Assemblies folder.
  Maybe someone can point me to some detail information in MSDN or
  some
  where else.
 
  So far Dominik
 
  Am 27.10.2012 19:57, schrieb Oskar Berggren:
 
  Hi,
  
   .Net 4.5 is an inplace upgrade for .Net 4.0. If you want to
  ensure that
   your software runs on a machine with only the original .Net 4.0
   installed, you need to take care when building, so that you don't
  cause
   dependencies on .Net 4.5 versions of the assemblies.
  
   This thread discuss the issue and there is a proposed solution
  that
   involves editing nant.exe.config to avoid referencing updated
  assemblies
   found under C:Windows...:
  
 
 
 
 http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-beta-assembly-references-despite-specifying-net-4-0
  [1]
  
   What are the nant developers' take on this? Is the solution on
  stack
   overflow the way to go? If so, should this be regarded as a bug
  in nant?
   It doesn't seem proper to edit nant.exe.config in a runtime
  installation.
  
  
   /Oskar
  
  
  
  
 
 
 
 --
   WINDOWS 8 is here.
   Millions of people.  Your app in 30 days.
   Visit The Windows 8 Center at Sourceforge for all your go to
  resources.
   http://windows8center.sourceforge.net/ [2]
   join-generation-app-and-make-money-coding-fast/
  
  
  
   ___
   nant-developers mailing list
   nant-developers@lists.sourceforge.net [3]
   https://lists.sourceforge.net/lists/listinfo/nant-developers [4]
  
 
  --
  The answer to the great question of life,
  the universe and everything is 42 (Douglas Adams)
 
 
 
 
 --
  WINDOWS 8 is here.
  Millions of people.  Your app in 30 days.
  Visit The Windows 8 Center at Sourceforge for all your go to
  resources.
  http://windows8center.sourceforge.net/ [5]
  join-generation-app-and-make-money-coding-fast/
  ___
  nant-developers mailing list
  nant-developers@lists.sourceforge.net [6]
  https://lists.sourceforge.net/lists/listinfo/nant-developers [7]
 
 
 
  Links:
  --
  [1]
 
 
 http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-beta-assembly-references-despite-specifying-net-4-0
  [2] http://windows8center.sourceforge.net/
  [3] mailto:nant-developers@lists.sourceforge.net
  [4] https://lists.sourceforge.net/lists/listinfo/nant-developers
  [5] http://windows8center.sourceforge.net/
  [6] mailto:nant-developers@lists.sourceforge.net
  [7] https://lists.sourceforge.net/lists/listinfo/nant-developers
  [8]
 
 
 http://blogs.msdn.com/b/msbuild/archive/2007/04/12/new-reference-assemblies-location.aspx
  [9] mailto:o...@guder.org

 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Force use of original .Net 4.0 when .Net 4.5 is installed

2012-10-29 Thread Oskar Berggren
Thanks Dominik,

Here's some more information I've discovered:
http://blogs.msdn.com/b/msbuild/archive/2007/04/12/new-reference-assemblies-location.aspx

I suspect a possible complication would be that the reference assemblies
seems to be installed by the SDK or visual studio, and thus not available
if either of these are not installed.

/Oskar


2012/10/28 Dominik Guder o...@guder.org

 Hi,

 the develelopers are taking a look. From my point of view I want to
 check the proper usage of Referenced Assemblies folder.
 Maybe someone can point me to some detail information in MSDN or some
 where else.

 So far Dominik

 Am 27.10.2012 19:57, schrieb Oskar Berggren:
  Hi,
 
  .Net 4.5 is an inplace upgrade for .Net 4.0. If you want to ensure that
  your software runs on a machine with only the original .Net 4.0
  installed, you need to take care when building, so that you don't cause
  dependencies on .Net 4.5 versions of the assemblies.
 
  This thread discuss the issue and there is a proposed solution that
  involves editing nant.exe.config to avoid referencing updated assemblies
  found under C:\Windows\...:
 
 http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-beta-assembly-references-despite-specifying-net-4-0
 
  What are the nant developers' take on this? Is the solution on stack
  overflow the way to go? If so, should this be regarded as a bug in nant?
  It doesn't seem proper to edit nant.exe.config in a runtime
 installation.
 
 
  /Oskar
 
 
 
 
 --
  WINDOWS 8 is here.
  Millions of people.  Your app in 30 days.
  Visit The Windows 8 Center at Sourceforge for all your go to resources.
  http://windows8center.sourceforge.net/
  join-generation-app-and-make-money-coding-fast/
 
 
 
  ___
  nant-developers mailing list
  nant-developers@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nant-developers
 


 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)


 --
 WINDOWS 8 is here.
 Millions of people.  Your app in 30 days.
 Visit The Windows 8 Center at Sourceforge for all your go to resources.
 http://windows8center.sourceforge.net/
 join-generation-app-and-make-money-coding-fast/
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers

--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Force use of original .Net 4.0 when .Net 4.5 is installed

2012-10-28 Thread Dominik Guder
Hi,

the develelopers are taking a look. From my point of view I want to 
check the proper usage of Referenced Assemblies folder.
Maybe someone can point me to some detail information in MSDN or some 
where else.

So far Dominik

Am 27.10.2012 19:57, schrieb Oskar Berggren:
 Hi,

 .Net 4.5 is an inplace upgrade for .Net 4.0. If you want to ensure that
 your software runs on a machine with only the original .Net 4.0
 installed, you need to take care when building, so that you don't cause
 dependencies on .Net 4.5 versions of the assemblies.

 This thread discuss the issue and there is a proposed solution that
 involves editing nant.exe.config to avoid referencing updated assemblies
 found under C:\Windows\...:
 http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-beta-assembly-references-despite-specifying-net-4-0

 What are the nant developers' take on this? Is the solution on stack
 overflow the way to go? If so, should this be regarded as a bug in nant?
 It doesn't seem proper to edit nant.exe.config in a runtime installation.


 /Oskar



 --
 WINDOWS 8 is here.
 Millions of people.  Your app in 30 days.
 Visit The Windows 8 Center at Sourceforge for all your go to resources.
 http://windows8center.sourceforge.net/
 join-generation-app-and-make-money-coding-fast/



 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers



-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Force use of original .Net 4.0 when .Net 4.5 is installed

2012-10-27 Thread Oskar Berggren
Hi,

.Net 4.5 is an inplace upgrade for .Net 4.0. If you want to ensure that
your software runs on a machine with only the original .Net 4.0 installed,
you need to take care when building, so that you don't cause dependencies
on .Net 4.5 versions of the assemblies.

This thread discuss the issue and there is a proposed solution that
involves editing nant.exe.config to avoid referencing updated assemblies
found under C:\Windows\...:
http://stackoverflow.com/questions/11991383/nant-build-using-net-4-5-beta-assembly-references-despite-specifying-net-4-0

What are the nant developers' take on this? Is the solution on stack
overflow the way to go? If so, should this be regarded as a bug in nant? It
doesn't seem proper to edit nant.exe.config in a runtime installation.


/Oskar
--
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] nant and mono

2012-07-02 Thread Sergio de Almeida Lenzi
Hello,

I have mono version 2.11.1  that have the framework 4.5

I must build nant, in order to build the boo language
http://boo.codehaus.org/

but nant does not recognize 4.5 framework. so build fails...

Can someone point me to a way to patch nant config and build files
in order to build nant with mono 2.11.1 (framework 4.5)???


Thanks in advance

Sergio
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Fwd: CLR4/CLR2 NUnit binding

2012-06-01 Thread Ryan Boggs
Hi,

That's because the nunit2 is running on the framework that NAnt is
currently running on.  Which is the highest version of the .NET
framework found on your machine.  I see that you have two options.

1) Compile your project on 4.0
or
2) If you must compile your project on 3.5, then you could edit the
NAnt.exe.config to not run on 4.0 by removing/commenting out the
element listed below at the bottom of the file.  Please be advised
that this may also have unforeseen side-effects when running NAnt.
Thus, I do not recommend this course of action.

Xml Element to delete/comment in NAnt.exe.config:
supportedRuntime version=v4.0.30319 /

Hope this info is helpful.

Thanks,
Ryan

On Fri, Jun 1, 2012 at 3:16 AM, Richard Birkby rbir...@gmail.com wrote:
 Hi

 I didn't get a reply to this question on nant-users.
 I want my nant script to run NUnit (nunit2) under .Net 3.5 - it runs
 everything else (eg msbuild) correctly when I specify a target framework
 of net-3.5.
 But NUnit seems to be run as .Net 4 and consequently I get the following
 errors:

    [nunit2] Test Fixture SetUp Failures:
    [nunit2] 1) AlerterTests : SetUp : System.IO.FileLoadException : Mixed
 mode assembly is built against version 'v2.0.50727' of the runtime and
 cannot be loaded in the 4.0 run...
    [nunit2] at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly
 assembly, String name, Boolean throwOnError, Boolean ignoreCase,
 ObjectHandleOnStack type)
    [nunit2] at System.Reflection.RuntimeAssembly.GetType(String name,
 Boolean throwOnError, Boolean ignoreCase)
    [nunit2] at System.Reflection.Assembly.GetType(String name, Boolean
 throwOnError)
    [nunit2] at
 Microsoft.SqlServer.Management.Common.ServerConnection.GetStatements(String
 query, ExecutionTypes executionType, Int32 statementsToReverse)
    [nunit2] at
 Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String
 sqlCommand, ExecutionTypes executionType)


 I still get this problem with 0.92rc1. What can I do about it?
 Is this because msbuild is run as a different process, whereas nunit2 is
 run in the same process as Nant?


 Thanks,
 Richard


 -- Forwarded message --
 From: Richard Birkby rbir...@gmail.com
 Date: Mon, Oct 24, 2011 at 9:51 AM
 Subject: CLR4/CLR2 NUnit binding
 To: nant-us...@lists.sourceforge.net


 Hi,

 I've tried to upgrade our Nant 0.90 to Nant 0.91 this morning. Everything
 went well apart from the test phase where NUnit failed with errors such as:

  : System.IO.FileLoadException : Mixed mode assembly is built against
 version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime
 without additional configuration information.

 It appears from ildasm that Nant correctly built my assemblies against .Net
 3.5, however when it starts running the nunit2 task, it thinks it should run
 it as .Net 4.

 What should I do to tell it to run it as .Net 3.5?


 Thanks,
 Richard
 ps There is a small possibility I corrupted the merge of Nant 0.91 into the
 existing structure. Could this be the reason?



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] NAnt/NAntContrib 0.92 tentative release schedule

2012-04-15 Thread Ryan Boggs
Hi,

Just wanted to give everyone a heads up.  The release schedule has
been pushed out a week to try to get a couple more updates in before
the first alpha is out the door, which will now be next weekend (April
21/22).  Sorry for the inconvenience this may have caused.

Thanks,
Ryan

On Wed, Mar 21, 2012 at 5:11 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi all,

 There's been quite a bit of developments these past months in the NAnt
 projects, as many of you may know, and now I think we are at a point
 to start up the release process for 0.92.  The current plan is to
 perform the first 0.92 alpha release for both NAnt and NAntContrib
 around the weekend of April 14th/15th 2012 and then perform another
 release every two weeks after that until 0.92 final is out the door.
 I'm hoping that the next few weeks will allow us to get in a few more
 updates before the first 0.92 alpha is out the door.  I will be
 setting up milestones in the appropriate projects in github to help
 illustrate the release time lines as they are updated.

 So that is the plan.  If anyone has suggestions/comments, please feel
 free to let us know.

 Thanks,
 Ryan

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Copy/Move directory fix

2012-03-15 Thread Ryan Boggs
Hi,

I just created a pull request to fix the issues regarding
moving/copying directories.  The link is below.  If anyone interested
in getting this fix in to master, please take a look at the diffs in
question and see if they look ok.  Feel free to leave any relevant
comments on the pull request.

https://github.com/nant/nant/pull/39

Thanks in advance,
Ryan

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] NUnit Updates Merge Scheduled

2012-03-01 Thread Ryan Boggs
Hi all,

Just an FYI, I'm planning on merging updates to the nunit2 task to the
master branch within the next few hours.  These updates will bring
NAnt's NUnit2 reference libs from version 2.2 to 2.6.0.  Once this
goes in, a new nightly should be available the following 24 hours in
the usual place in sourceforge.net.

Thanks,
Ryan

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] [NAnt-users] Various NAnt Updates

2012-02-23 Thread Ryan Boggs
Hi,

On Thu, Feb 23, 2012 at 6:53 AM, Bob Archer bob.arc...@amsi.com wrote:
 Looks like some good changes.

 Is the nunit stuff going to be version specific? Or, is it chaining out to 
 whatever version of nunit you have or point to in your project?
I am hoping that people using a certain version of NUnit for their
tasks will not have to touch their setup but if anyone wants to use
features from the latest NUnit version, they will be able to through
the NAnt task.

 You might want to update the readme with the versions that are supported:
There is no might about it.  The readme needs updating. :)

Thanks,
Ryan

   Windows
   ---

       * A version of the Microsoft .NET Framework

           Available from http://msdn.microsoft.com/netframework/

           You will need the .NET Framework SDK as well as the runtime
           components if you intend to compile programs.

           Note: NAnt currently supports versions 1.0, 1.1 and 2.0
           of the Microsoft .NET Framework.

       or

       * Mono for Windows (version 1.0 or higher)

           Available from http://www.mono-project.com/downloads/

 BOb


 -Original Message-
 From: Ryan Boggs [mailto:rmbo...@gmail.com]
 Sent: Wednesday, February 22, 2012 11:31 PM
 To: nant-developers@lists.sourceforge.net; nant-us...@lists.sourceforge.net
 Subject: [NAnt-users] Various NAnt Updates

 Hi all,

 Just checking in with some progress that has been occurring in NAnt's
 development.  It's not a complete list but there are a few big ones that I 
 think
 are worth highlighting.

 * The VS project solution files for both NAnt and NAntContrib projects have
 been updated to VS2010 format.

 * .NET/Mono 1.* runtime support for NAnt has been dropped.  Target support
 for .NET/Mono 1.* still exists, however.

 * The style/ task has been updated to use xslCompiledTransform, which
 should address the issue described here on Stackoverflow:
 http://stackoverflow.com/questions/5032347/xslt-stylesheet-replaces-self-
 closing-tags-with-empty-paired-tags
 Thanks to Michael Tutty for the contribution via pull request for this item.

 * The mail/ task has been updated to use System.Net.Mail instead of
 System.Web.Mail.  During the process of updating this task, additional 
 features
 were added that we thought to be very helpful (such as specifying a reply to
 address, specifying the port number to send mail to, indicating whether or 
 not
 to use an ssl connection, etc).

 * More work has gone into the msbuild/ with the help from Dominik Guder
 and Martin Aliger.  From what I understand, there are still a couple of
 outstanding issues with this item but the task is working better with recent
 versions of msbuild scripts.  This is still a high priority.

 * Quite a bit of work has been put into upgrading the nunit2/ task to
 reference the latest version of NUnit.  I'm happy to say that these changes 
 are
 currently in review to be imported into nant/master.  The version of NUnit
 being used for this upgrade is 2.6 final (which was released just a few days
 ago).  I'm hoping that this will go into master soon.  I want to say thanks 
 to
 Charles Poole and the rest of the NUnit dev team for their help and insight 
 to
 get the nunit2/ up to speed.  They were very helpful in this process.  
 Anyone
 interested in viewing these changes can see them here:
 https://github.com/nant/nant/tree/nunitupdates

 * The nightly process for both NAnt and NAntContrib projects have started up
 again.  This time, an automated process has been setup with extensive help
 from Dominik Guder to make sure that new nightly files are generated
 whenever changes occur on the master branches of either project.  The last
 nightly was built on 2/19/2012 and includes all the changes listed above 
 except
 for the nunit changes.  The nightly files can be found in the following 
 locations:
 NAnt Nightlys:
 https://sourceforge.net/projects/nant/files/nant/nightly/

 NAntContrib Nightlys:
 https://sourceforge.net/projects/nantcontrib/files/nantcontrib/nightly/

 We are still trying to nail down release dates and should be announcing them
 as soon as they are finalized.

 The next version number being targeted for NAnt/NAntContrib is currently
 0.92. It seems like the natural progression but we are curious if you have 
 any
 reasons to use a different version number (ie:
 should we skip 0.92 and go to 0.95, etc).

 That's all I have for now.  I will try to send out these kinds of notices 
 more often
 as progress continues.

 Thanks,
 Ryan

 --
 Virtualization  Cloud Management Using Capacity Planning Cloud computing
 makes use of virtualization - but cloud computing also focuses on allowing
 computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 NAnt-users mailing list
 nant-us...@lists.sourceforge.net
 

Re: [nant-dev] Various NAnt Updates

2012-02-23 Thread Ryan Boggs
Hi,

On Wed, Feb 22, 2012 at 11:46 PM, Richard Birkby rbir...@gmail.com wrote:
 Sounds great. Looking forward to it.

 For me, the big omission from the current nunit task has been /label
 support so I can figure out which failing test produced the exceptions
 in our 2MB of test/build output.

 I have had a look at the branch, but it doesn't look like it supports
 /label. Is that correct?
Yeah, I was more worried about getting the new version of NUnit
working with NAnt than adding features.  However, I just took a look
in NUnit's console setup for the label argument.  Implementing this
seems pretty easy enough and the impact on how the task runs is
minimal.  Just need to make sure it looks ok when it is printed.  I'll
see about adding this today.  Thanks for the tip. :)

 Additionally, while I don't use the style task, I notice you aren't caching
 the compiled XSL transform between runs. This means you will incur a compile
 on every invocation. This will kill performance for users transforming many
 files.
Hmm, good observation.  I'll take a look and see what's needed to get
the caching going for this task.

Thanks,
Ryan


 Richard

 On Thu, Feb 23, 2012 at 4:31 AM, Ryan Boggs rmbo...@gmail.com wrote:

 Hi all,

 Just checking in with some progress that has been occurring in NAnt's
 development.  It's not a complete list but there are a few big ones
 that I think are worth highlighting.

 * The VS project solution files for both NAnt and NAntContrib projects
 have been updated to VS2010 format.

 * .NET/Mono 1.* runtime support for NAnt has been dropped.  Target
 support for .NET/Mono 1.* still exists, however.

 * The style/ task has been updated to use xslCompiledTransform,
 which should address the issue described here on Stackoverflow:

 http://stackoverflow.com/questions/5032347/xslt-stylesheet-replaces-self-closing-tags-with-empty-paired-tags
 Thanks to Michael Tutty for the contribution via pull request for this
 item.

 * The mail/ task has been updated to use System.Net.Mail instead of
 System.Web.Mail.  During the process of updating this task, additional
 features were added that we thought to be very helpful (such as
 specifying a reply to address, specifying the port number to send mail
 to, indicating whether or not to use an ssl connection, etc).

 * More work has gone into the msbuild/ with the help from Dominik
 Guder and Martin Aliger.  From what I understand, there are still a
 couple of outstanding issues with this item but the task is working
 better with recent versions of msbuild scripts.  This is still a high
 priority.

 * Quite a bit of work has been put into upgrading the nunit2/ task
 to reference the latest version of NUnit.  I'm happy to say that these
 changes are currently in review to be imported into nant/master.  The
 version of NUnit being used for this upgrade is 2.6 final (which was
 released just a few days ago).  I'm hoping that this will go into
 master soon.  I want to say thanks to Charles Poole and the rest of
 the NUnit dev team for their help and insight to get the nunit2/ up
 to speed.  They were very helpful in this process.  Anyone interested
 in viewing these changes can see them here:
 https://github.com/nant/nant/tree/nunitupdates

 * The nightly process for both NAnt and NAntContrib projects have
 started up again.  This time, an automated process has been setup with
 extensive help from Dominik Guder to make sure that new nightly files
 are generated whenever changes occur on the master branches of either
 project.  The last nightly was built on 2/19/2012 and includes all the
 changes listed above except for the nunit changes.  The nightly files
 can be found in the following locations:
 NAnt Nightlys:
 https://sourceforge.net/projects/nant/files/nant/nightly/

 NAntContrib Nightlys:
 https://sourceforge.net/projects/nantcontrib/files/nantcontrib/nightly/

 We are still trying to nail down release dates and should be
 announcing them as soon as they are finalized.

 The next version number being targeted for NAnt/NAntContrib is
 currently 0.92. It seems like the natural progression but we are
 curious if you have any reasons to use a different version number (ie:
 should we skip 0.92 and go to 0.95, etc).

 That's all I have for now.  I will try to send out these kinds of
 notices more often as progress continues.

 Thanks,
 Ryan


 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers



 --
 Virtualization  Cloud Management Using Capacity 

[nant-dev] Changes to StyleTask

2012-01-21 Thread Ryan Boggs
Hi,

Just giving everyone a heads up regarding the StyleTask in NAnt.  A
change to this task is being made for it to start using the
XslCompiledTransform class to replace the aging XslTransform class
that has been used all this time.  This change is also an attempt to
remedy an issue that is described here:
http://stackoverflow.com/questions/5032347/xslt-stylesheet-replaces-self-closing-tags-with-empty-paired-tags

This change comes from a pull request in github by Michael Tutty.  The
pull request can be found here for those who are interested:
https://github.com/nant/nant/pull/18

Thanks for the contribution Michael. :)

Thanks,
Ryan

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3428154 ] Cannot send mail using SMTP user pass

2012-01-21 Thread SourceForge . net
Bugs item #3428154, was opened at 2011-10-25 04:33
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3428154group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: 0.91-rc1
Status: Closed
Resolution: None
Priority: 9
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot send mail using SMTP user  pass

Initial Comment:
Hi,

When trying to send SMTP using user name and password, it says it cannot send 
unless built with .NET 1.1 or up.

I checked the source code and it is compiled without the compiler flag of 
NET1_1.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2012-01-21 18:35

Message:
Closing this out because NAnt is now being built on .NET 2.0 and the
MailTask was recently updated to use System.Net.Mail instead of
System.Web.Mail.  Credential properties have been added to the task along
with other useful attributes, such as port #, UseSsl, etc.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3428154group_id=31650

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3105012 ] Nightly (2010-10-29) does not build on Win7x64 (.NET 3.5)

2011-12-09 Thread SourceForge . net
Bugs item #3105012, was opened at 2010-11-07 19:08
Message generated for change (Settings changed) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3105012group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.91-alpha2
Status: Closed
Resolution: Rejected
Priority: 9
Private: No
Submitted By: Carlos Mundi (cmundi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Nightly (2010-10-29) does not build on Win7x64 (.NET 3.5)

Initial Comment:
I installed .NET 4 and WinSDK 7.1 and could not build.
So I uninstalled .NET 4 and WInSDK 7.1
Currently I have .NET 3.5 SP1 and Win SDK 7 (7.0) installed.
The attached file suggests that the build dies in log4net.


--

Comment By: Carlos Mundi (cmundi)
Date: 2010-11-08 20:18

Message:
I tried the Makefile.debug.nmake.  I have attached my results. 
Unfortunately, I don't think it tells us much that we did not already see.

--

Comment By: Carlos Mundi (cmundi)
Date: 2010-11-07 21:20

Message:
It's getting late here.  I will try the enhanced makefile tomorrow.

Guess: It may be significant that the log4net homepage clearly states
support up to .NET 2.  So it's not surprising that it also supports .NET
3.5 at runtime.  But its also quite plausible that it does not support .NET
4 yet because of the CAS changes.  I'm assuming that NAnt uses log4net as
its primary logging tool.  Turning it off -- even as a test -- might not be
a good idea.  I tried earlier today to build log4net from source
specifically for .NET 3.5 and didn't quite get it right.  If I can get a
clean build for .NET 3.5 then maybe I can also figure out how to get a
build for .NET 4 and see if that allows NAnt to both build for and run
under .NET 4.  Again, I'd look to making selective use of
[SecuritySafeCritical].  If I have some slow time this week, maybe I'll get
a chance.  But I'm hoping someone gets there before me.  :)

--

Comment By: Carlos Mundi (cmundi)
Date: 2010-11-07 21:01

Message:
You're right.  I made a mistake.  I removed the .NET 4 extensions but
missed the .NET 4 core.  And that's enough to be a problem. 

So my original report is bogus and I am resolving it as Rejected.

Here is my attempt to correct my mistake:

So now I have really (really!)  removed .NET 4.  I even fell back to a
restore point before I installed .NET 4 so I'm very confident now.

So with .NET 3.5 SP1 (and nothing later) installed, I am able to build NAnt
nightly.  [[Incidentally, on Win7, trying to install to
prefix=C:\Programs will fail because of UAC -- even when logged into an
Administrative account.  No problem, just install to a user directory and
then copy that directory to C:\Programs.]]

Next: Install .NET 4 and try to build NAnt : fails with the
System.Security.SecurityException on FileIOPermission -- even if specifying
TARGET=net3.5 on the nmake command line.

Note that all of this was done with WinSDK 7 (7.0 for .NET 3.5 SP1) not
WinSDK 7.1 (for .NET 4)


--

Comment By: Ryan Boggs (rmboggs)
Date: 2010-11-07 20:12

Message:
Just posted a modified NMake file to use to help debug this issue.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2010-11-07 19:31

Message:
Hey Carlos,

I know that you are detailed with your troubleshooting based on past
experience but I must ask. Are you positive that you completely removed
.NET 4.0 and WinSDK 7.1?  The ONLY reason I ask is because at the bottom of
your output file you provided, the familiar error message that has been
plaguing us is still showing up.  Plus, it looks like it is referencing the
.NET 4.0 mscorlib file as well.:
Unhandled Exception: System.TypeInitializationException: The type
initializer for 'NAnt.Console.ConsoleStub' threw an exception. ---
System.Security.SecurityException: Request for
 the permission of type 'System.Security.Permissions.FileIOPermission,
mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand,
StackCrawlMark stackMark, Boolean isPermSet)
   at System.Security.CodeAccessPermission.Demand()
   at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
   at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly
sourceAssembly, ILoggerRepository targetRepository)
   at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly
assembly, ILoggerRepository repository)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly
repositoryAssembly, Type repositoryType, String 

[nant-dev] vcxproj in 0.91

2011-12-05 Thread Martin Aliger
Hi, 
did anyone tried to compile vcxproj projects?

I just came to do quick tests for 0.91 on our environment and vcxproj
failed. I'm using solution task.

Martin




--
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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] github pull request

2011-12-05 Thread Martin Aliger
Hi,

 

I just setup git, forked mine own copy of nant and beginning to commit mine
local changes. I came through basic testing pretty easily - just 2 missing
additions (and very easy ones). I sent pull request on those.

 

 

To git/github: have to say, it's quite easy to use, feature rich and pretty
fast! Hard to say that for longtime svn supporter. J

 


 mailto:martin_ali...@gordic.cz Ing. Martin Aliger

 http://www.gordic.cz/ Popis: Popis:
C:\Users\maliger\Documents\podpis\a_soubory\image001.gif


GORDIC spol. s r.o. Erbenova 4, 586 01 JIHLAVA
TEL: 567 309 136, 567 303 601

 

 

image001.gif--
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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] vcxproj in 0.91

2011-12-05 Thread Martin Aliger
Found the problem. The API I am using in NAnt's MSBuild is obsoleted by
Microsoft. It still works well for csprojs, but since vcxproj is new concept
for VS2010 they read those only with new APIs.
It will need quite a big change to our code. I'm in half of it, you can
track mine progress on github :) Basic code should be avaiable tommorow.

Since I myself do not use vcxproj's (yet), I'd like to ask our userbase, if
someone does and is able to do some tests. I guess most users just exec
msbuild.exe and do not worry about settings much. Transition to solution
is pretty easy and allows finer control over the build process.


Hopefully they will not change API again in 4.5...

Martin



-Original Message-
From: Martin Aliger [mailto:martin_ali...@gordic.cz] 
Sent: Monday, December 05, 2011 12:53 PM
To: nant-developers@lists.sourceforge.net
Subject: [nant-dev] vcxproj in 0.91

Hi, 
did anyone tried to compile vcxproj projects?

I just came to do quick tests for 0.91 on our environment and vcxproj
failed. I'm using solution task.

Martin





--
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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


--
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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Re quire details how to use NAnt in .Net Framework 4

2011-11-23 Thread diptidjadhav

I am new for NAnt and also for Ant.
Please guide me how to use NAnt
-- 
View this message in context: 
http://old.nabble.com/Require-details-how-to-use-NAnt-in-.Net-Framework-4-tp32873973p32873973.html
Sent from the NAnt - Dev mailing list archive at Nabble.com.


--
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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Re quire details how to use NAnt in .Net Framework 4

2011-11-23 Thread diptidjadhav

I am new for NAnt and also for Ant.
Please guide me how to use NAnt
-- 
View this message in context: 
http://old.nabble.com/Require-details-how-to-use-NAnt-in-.Net-Framework-4-tp32873972p32873972.html
Sent from the NAnt - Dev mailing list archive at Nabble.com.


--
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. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] VS.NET Solution Configurations/Platforms?

2011-11-14 Thread Ryan Boggs
Hi all,

I'm currently working on upgrading the project/solution files to VS.NET 2010 
format.  I was able to convert the existing files successfully but ran into a 
snag with the solution configs.  In a nutshell, they are all over the place. 
What should be the consensus for the solution configs/platforms?  Debug|x86,  
Release|Any CPU?  Any insight is greatly appreciated.

Thanks,
Ryan
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] VS.NET Solution Configurations/Platforms?

2011-11-14 Thread Leszek Ciesielski
Does NAnt need the x86 config? Is there actually any P/Invoke code
that will break with the 'Any CPU' setting? I was under the impression
that there wasn't.

So the 'Debug|Any CPU' and 'Release|Any CPU' platforms should be enough.

On Mon, Nov 14, 2011 at 5:50 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi all,

 I'm currently working on upgrading the project/solution files to VS.NET 2010 
 format.  I was able to convert the existing files successfully but ran into a 
 snag with the solution configs.  In a nutshell, they are all over the place. 
 What should be the consensus for the solution configs/platforms?  Debug|x86,  
 Release|Any CPU?  Any insight is greatly appreciated.

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] VS.NET Solution Configurations/Platforms?

2011-11-14 Thread Ryan Boggs
Hi,

On Nov 14, 2011, at 8:53 AM, Leszek Ciesielski skol...@gmail.com wrote:

 Does NAnt need the x86 config? Is there actually any P/Invoke code
 that will break with the 'Any CPU' setting? I was under the impression
 that there wasn't.
Not that I can tell.  I haven't seen any p/invoke code anywhere.
 
 So the 'Debug|Any CPU' and 'Release|Any CPU' platforms should be enough.
Great, thanks for the feedback.

Thanks,
Ryan
 
 On Mon, Nov 14, 2011 at 5:50 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi all,
 
 I'm currently working on upgrading the project/solution files to VS.NET 2010 
 format.  I was able to convert the existing files successfully but ran into 
 a snag with the solution configs.  In a nutshell, they are all over the 
 place. What should be the consensus for the solution configs/platforms?  
 Debug|x86,  Release|Any CPU?  Any insight is greatly appreciated.

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] NAnt/NAntContrib has moved to github

2011-11-13 Thread Ryan Boggs
Hi,

I'm happy to say that we were able to successfully migrate the
sourceforge.net CVS NAnt/NAntContrib repos to github.com.  There are
still some clean-up tasks left to do (ie: update the website links to
point to github.com, update the development guide, etc) but the new
repositories at GitHub are set and ready to go.  The links to the new
repos are listed below.

NAnt:
https://github.com/nant/nant

NAntContrib:
https://github.com/nant/nantcontrib

For those of you who love to code, fork either of the projects
through GitHub and start coding/hacking away.  If you don't have a
GitHub account, it's simple to signup.
https://github.com/signup/free

We'll continue to send out updates as soon as new developments come up.

Thanks,
Ryan

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Move to github.com

2011-11-11 Thread Ryan Boggs
Hi again,

Just giving everyone an update on our status of the migration.  We are
very close to finishing the move from Sourceforge.net CVS to
github.com.  Last Wednesday, we shut off write access to the old CVS
system to both NAnt and NAntContrib projects to aid in the migration.
As stated previously, the old CVS system will remain online in
readonly mode just for historical purposes.  At this point, the next
email that we will send out for this thread will be officially
announcing the new paths to the github repos.  The estimated completed
date is currently Sunday, November 13.

Thanks,
Ryan

On Tue, Nov 8, 2011 at 9:39 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi again,

 I just wanted to remind everyone that we will be turning off write
 access to both NAnt/NAntContrib cvs repositories at sourceforge.net in
 preparation for the move.  If anyone out there has any last minute
 commits that have been sitting around for awhile, now is the time to
 commit.  Otherwise, you will have to wait until the repositories at
 github have been setup.

 Also,
 Another reminder for those who have committed to either projects in
 the past and have a preference of what id/email address to associate
 your past commits with, please visit the online form and provide the
 necessary information so we will use the most current information
 possible.  The form can be found here:
 http://tinyurl.com/3vwsxbm

 Thank you to those who have already taken the time to fill out this 
 information.

 Thanks,
 Ryan

 On Sat, Nov 5, 2011 at 4:53 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi,

 As a result of the feedback received these past few weeks, the
 decision has been made to move development of the NAnt/NAntContrib
 projects from sourceforge.net to github.com.  Starting this week, we
 will begin the process of converting the current sourceforge.net CVS
 repository so it can be imported into github.com.  The current
 schedule is as follows:

 * Wednesday, Nov 9th, 2011 7:00PM PST (GMT - 8 hours) -
 sourceforge.net CVS repositories will be locked
 The current cvs repo will be set to readonly on this date.  If you
 have any changes/updates that need to be committed to cvs, they should
 be done prior to this date.
 Please note: The current cvs repo will be kept online after the
 conversion is complete for historical purposes.  There are no plans to
 delete this repo at this time.

 * Thursday, Nov 10th, 2011 7:00PM PST (GMT - 8 hours) - conversion
 testing from cvs to git
 We'll begin conversion tests between cvs and git to make sure the
 information transfers correctly.

 * Saturday, Nov 12th, 2011 12:00PM PST (GMT - 8 hours) - Setup the git
 repos with github.com
 We'll setup the new git repos at github.com.  Once this has been
 completed, the new repo locations will be announced and the
 NAnt/NAntContrib websites will be updated to point to the new repo
 locations.

 This current timeline is subject to change.  An online calendar has
 been setup to help keep track of any updates to this schedule[1].

 For those of you who have directly made commits to either NAnt or
 NAntContrib cvs repositories, we will be using the sf IDs and email
 addresses (sfusername@users.sourceforge.net) to migrate the
 committer information to github.com.  If your github.com id differs
 from your sourceforge.net id, we've setup an online form for you to
 indicate what should be used when converting your author information.
 The idea is to make sure that the author information that we migrate
 is as up-to-date as possible.

 Please let us know if there are any questions.

 Thanks,
 Ryan

 [1] - Online Calendar - http://tinyurl.com/3hb8cby
 [2] - Online username form - http://tinyurl.com/3vwsxbm



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Move to github.com

2011-11-05 Thread Ryan Boggs
Hi,

As a result of the feedback received these past few weeks, the
decision has been made to move development of the NAnt/NAntContrib
projects from sourceforge.net to github.com.  Starting this week, we
will begin the process of converting the current sourceforge.net CVS
repository so it can be imported into github.com.  The current
schedule is as follows:

* Wednesday, Nov 9th, 2011 7:00PM PST (GMT - 8 hours) -
sourceforge.net CVS repositories will be locked
The current cvs repo will be set to readonly on this date.  If you
have any changes/updates that need to be committed to cvs, they should
be done prior to this date.
Please note: The current cvs repo will be kept online after the
conversion is complete for historical purposes.  There are no plans to
delete this repo at this time.

* Thursday, Nov 10th, 2011 7:00PM PST (GMT - 8 hours) - conversion
testing from cvs to git
We'll begin conversion tests between cvs and git to make sure the
information transfers correctly.

* Saturday, Nov 12th, 2011 12:00PM PST (GMT - 8 hours) - Setup the git
repos with github.com
We'll setup the new git repos at github.com.  Once this has been
completed, the new repo locations will be announced and the
NAnt/NAntContrib websites will be updated to point to the new repo
locations.

This current timeline is subject to change.  An online calendar has
been setup to help keep track of any updates to this schedule[1].

For those of you who have directly made commits to either NAnt or
NAntContrib cvs repositories, we will be using the sf IDs and email
addresses (sfusername@users.sourceforge.net) to migrate the
committer information to github.com.  If your github.com id differs
from your sourceforge.net id, we've setup an online form for you to
indicate what should be used when converting your author information.
The idea is to make sure that the author information that we migrate
is as up-to-date as possible.

Please let us know if there are any questions.

Thanks,
Ryan

[1] - Online Calendar - http://tinyurl.com/3hb8cby
[2] - Online username form - http://tinyurl.com/3vwsxbm

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [OT] Apache log4net User Survey

2011-11-02 Thread Stefan Bodewig
[cross-posting here as I'm sure I'll reach a few log4net users as well]

The last log4net release already stopped supporting Compact Framework
1.x and the Shared Source CLI as part of the binary distributions - but
versions for them are still buildable from source.  In order to figure
out what platforms we will need to support in future releases the team
is asking log4net's users to participate in a small survey.

Rather than repeating Roy's whole mail, let me point to
http://mail-archives.apache.org/mod_mbox/logging-log4net-user/20.mbox/%3CFFE6362EE00A4C4E83A98981EF88A36422B3AA%40zeus.roychastain.org%3E

Thanks

Stefan


--
RSA#174; Conference 2012
Save $700 by Nov 18
Register now#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Building nant

2011-11-01 Thread Ramon Smits
Hi there,

I am trying to build nant but failing. The readme says :

b. Building the Software


Build NAnt using Microsoft .NET:

GNU Make

make install MONO= MCS=csc prefix=installation path
[DESTDIR=staging path]

eg. make install MONO= MCS=csc prefix=c:\Program Files

NMake
-
nmake -f Makefile.nmake install prefix=installation path
[DESTDIR=staging path]

eg. nmake -f Makefile.nmake install prefix=c:\Program Files


I tried the first (gnu make) and it does not really do something. My guess
is that my make.exe is not gnu make or too old. Running tools\nmake.exe
results in the message : The image file nmake.exe is valid, but is for a
machine type other than the current machine..

How can I build nant and where to get either gnu make or nmake as this is
not mentioned in the readme.

The reason I want to build nant it so upgrade to nunit 2.5.10 as the
current version cannot handle a lot of nice additions like the TestCase
attribute.

--
Ramon
--
RSAreg; Conference 2012
Save #36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3428154 ] Cannot send mail using SMTP user pass

2011-10-31 Thread SourceForge . net
Bugs item #3428154, was opened at 2011-10-25 11:33
Message generated for change (Settings changed) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3428154group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: 0.91-rc1
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot send mail using SMTP user  pass

Initial Comment:
Hi,

When trying to send SMTP using user name and password, it says it cannot send 
unless built with .NET 1.1 or up.

I checked the source code and it is compiled without the compiler flag of 
NET1_1.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3428154group_id=31650

--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-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-29 Thread Dominik Guder
Hi,

I have another request which is high priority for me:
Review of nant's unit testing concept.

Currently I would like to use test first for implementing and fixing. 
But as far as I can see it is not possible to run nant's test from 
within IDE.

I have a basic unterdstanding why this is done this way (started nearly 
10 Years ago), but now these tests looks more like integration tests 
than unit tests in TDD thinking.

Maybe we can add another test project where we can run tests within IDE 
and on build server too.

So far Dominik

-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-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-28 Thread Stefan Bodewig
On 2011-10-26, Ryan Boggs wrote:

 On Wed, Oct 26, 2011 at 8:53 AM, Stefan Bodewig
 stefan.bode...@freenet.de wrote:

 Why do you feel Sourceforge's git offering was insufficient - this is
 an honest question as I may be thinking about moving XMLUnit to a
 different SCM myself (currently using svn at Sourceforge).

 It just doesn't feel like there is alot of effort on the repo side in
 terms of code reviews and other tools that sites like github have.

Understood, thanks.

 When I worked on the log4net release I cursed NAnt's lack of a mapper
 so a big +1 for this.  I also miss macrodef.  Badly.
 I should add macrodef 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
calling a target is something you'd do more lightly and more often in
NAnt than in Ant.

 It took me awhile to get NAnt to use log4net 1.2.10 because of
 sharpcvslib's dependency on log4net 1.2.9.  Since I was recently
 granted commit access to that project, I could see if I could upgrade
 the dependency in both projects.

Binding redirects?  I don't think we've made API changes that would
cause trouble otherwise.

Of course, if you can change the dependency then switching to 1.2.11 -
and to the new strong name key - would probably be better.

Stefan

--
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-28 Thread Ryan Boggs
Hi,

On Fri, Oct 28, 2011 at 2:17 AM, Stefan Bodewig
stefan.bode...@freenet.de wrote:
 On 2011-10-26, Ryan Boggs wrote:

 On Wed, Oct 26, 2011 at 8:53 AM, Stefan Bodewig
 stefan.bode...@freenet.de wrote:

 Why do you feel Sourceforge's git offering was insufficient - this is
 an honest question as I may be thinking about moving XMLUnit to a
 different SCM myself (currently using svn at Sourceforge).

 It just doesn't feel like there is alot of effort on the repo side in
 terms of code reviews and other tools that sites like github have.

 Understood, thanks.

 When I worked on the log4net release I cursed NAnt's lack of a mapper
 so a big +1 for this.  I also miss macrodef.  Badly.
 I should add macrodef 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
 calling a target is something you'd do more lightly and more often in
 NAnt than in Ant.
Well, either way, it's been added to the list. :)


 It took me awhile to get NAnt to use log4net 1.2.10 because of
 sharpcvslib's dependency on log4net 1.2.9.  Since I was recently
 granted commit access to that project, I could see if I could upgrade
 the dependency in both projects.

 Binding redirects?  I don't think we've made API changes that would
 cause trouble otherwise.

 Of course, if you can change the dependency then switching to 1.2.11 -
 and to the new strong name key - would probably be better.
The problem I had wasn't with the API but the fact that sharpcvslib
seemed hardcoded to 1.2.9.  It gave me some issues during tests using
Mono on *nix.  I can look into this a bit further to see what exactly
is going on.

Thanks,
Ryan

 Stefan

 --
 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


--
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-28 Thread Rob Richardson




- Original Message -
From: Stefan Bodewig stefan.bode...@freenet.de
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
 stefan.bode...@freenet.de wrote:

 When I worked on the log4net release I cursed NAnt's lack of a mapper
 so a big +1 for this.  I also miss macrodef.  Badly.
 I should add macrodef 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
 calling 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 macrodef.

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 foreach 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 macrodef 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-27 Thread Dominik Guder
Am 26.10.2011 23:54, schrieb Ryan Boggs:
 Hey Dominik,

 On Wed, Oct 26, 2011 at 2:35 PM, Dominik Gudero...@guder.org  wrote:
 Hi Ryan,

 +1 for github.
 How many responses should we collect before we make an official
 decision on this? :)

Just count :) I don't expect many votes for others like bitbucket.


 Other proposals:
 - Color output. Red for errors, yellow for warning and green for
 sucessfull build. I added this to my own net_2.0 build and I'm addicted
 to this easily identifying Green successfull build message.
 Hehehe, That's a good idea.  I actually like that.

 This would be good for Windows but we should take care in *nix systems
 as some terminal emulators do not support color.

A short look at mono's BCL implementation showed that Console.ForeGround 
  is basically is implemented. But this must be checked for sure.
Maybe we can check this with Log4Net team since they are providing the 
ColoredConsoleAppender. (not for Mono currently)


 - fix/polish commandline handling:
- remove anoying : as separator, this prevents you from using tab
  completion in cmd window (even WiX did this with 3.5 release)
- add double dash as parameter prefix (as used at gnu tools) at least
  for --help and --version
 One thing I would like to investigate is implementing something like
 Mono.Options instead of the home grown command args parser.  I've used
 it in personal projects and it was pretty cool.  That may address your
 concern here.

This would be fine. But we also check how we can provide backwards 
compatibility.

So far Dominik

-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
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-27 Thread Ryan Boggs
Hi,

On Thu, Oct 27, 2011 at 2:47 AM, Dominik Guder o...@guder.org wrote:
 Am 26.10.2011 23:54, schrieb Ryan Boggs:
 Hey Dominik,

 On Wed, Oct 26, 2011 at 2:35 PM, Dominik Gudero...@guder.org  wrote:
 Hi Ryan,

 +1 for github.
 How many responses should we collect before we make an official
 decision on this? :)

 Just count :) I don't expect many votes for others like bitbucket.
Ok :)


 Other proposals:
 - Color output. Red for errors, yellow for warning and green for
 sucessfull build. I added this to my own net_2.0 build and I'm addicted
 to this easily identifying Green successfull build message.
 Hehehe, That's a good idea.  I actually like that.

 This would be good for Windows but we should take care in *nix systems
 as some terminal emulators do not support color.

 A short look at mono's BCL implementation showed that Console.ForeGround
  is basically is implemented. But this must be checked for sure.
 Maybe we can check this with Log4Net team since they are providing the
 ColoredConsoleAppender. (not for Mono currently)
I've seen Mono use Console.Foreground on a *nix machine just fine
using Boo's interactive shell (booish) just fine.  The problem that I
saw was once the user gets out of booish when using certain terminal
types, the output would no longer print to the screen.  All I am
saying is to keep that in mind.  I still like this idea. :)


 - fix/polish commandline handling:
    - remove anoying : as separator, this prevents you from using tab
      completion in cmd window (even WiX did this with 3.5 release)
    - add double dash as parameter prefix (as used at gnu tools) at least
      for --help and --version
 One thing I would like to investigate is implementing something like
 Mono.Options instead of the home grown command args parser.  I've used
 it in personal projects and it was pretty cool.  That may address your
 concern here.

 This would be fine. But we also check how we can provide backwards
 compatibility.
I think backward compatibility (ie: jkeeping -t::net-2.0 while
adding something like -t net-2.0) is definitely possible.  But now
that I am reading the source code, I'm not 100% sure it would work on
.net 2.0.  I'll look into it further...

Thanks,
Ryan

 So far Dominik

 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)

 --
 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


--
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 Martin Aliger
I'd like to see some mechanism how to control or filter-out what output is
logged from tasks. There are several verbosity levels etc, but there are
cases when nothing helps.

Example: Recently I came around exec where I executed tool which wrote
bunch of messages to stderr. Nant copy all stderr messages to its logger and
there is no mechanism how to control this. In this particular case, one
message it outputs is expected and not wanted to be logged.

But its not just an exec issue, should cover all tasks.


Logging is not much of issue when running from console, one just ignores
some text. But its quite of an issue, when be part of nightly builds (or
other Continuous Integration setups). Not only the logs are getting bigger
(grows several MB per build in mine case) but it can even trigger other
problems, since the nant output is further processed (usually through xml
logging).


Perhaps something like filterchains copy and move tasks have? Or even
something pretty basic can help (e.g. setting verbosity level for each task
individually).

Regards,
Martin Aliger



--
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 Leszek Ciesielski
On Wed, Oct 26, 2011 at 6:33 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi,

 On Wed, Oct 26, 2011 at 8:53 AM, Stefan Bodewig
 stefan.bode...@freenet.de wrote:
 On 2011-10-26, Ryan Boggs wrote:

 Now that 0.91 final is out the door, I would like to start discussing
 what items to work on in both NAnt/NAntContrib.  Attached is an html
 file of an outline I put together with thoughts about next steps I
 have had for months (I put it in an attachment just in case your email
 viewers don't handle html emails).

 Jumping in at some random point and as somebody who has a strong Ant
 background but doesn't really know NAnt as good as I should.

 I can't say much about your choice of SCM.  Why do you feel
 Sourceforge's git offering was insufficient - this is an honest question
 as I may be thinking about moving XMLUnit to a different SCM myself
 (currently using svn at Sourceforge).
 It just doesn't feel like there is alot of effort on the repo side in
 terms of code reviews and other tools that sites like github have.
 That being said, I've been toying with the idea about using of setting
 up a git repo on SF to use as a mirror of source.  I am also thinking
 about keeping the CVS repo at SF live but readonly for historic
 reasons.

 One thing I noticed from experience I have with github.com is that it
 is much easier to share/review code from others than it currently is
 on SF.

I'm giving a +1 to choosing git and github, in a large part because
those two are popular and well known. And github's pull management is
an awesome feature.


 We'll be polling log4net's users about platform support soon.  I also
 feel you are safe to require 2.0 at runtime as long as you keep 1.x as
 targets.
 I hope so.

Agree here as well. Although this might (in future) mean quite a large
rewrite of the NAnt API to make use of the generics.


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

 Have you seen the 1.2.11 release of log4net of about two weeks ago? ;-)
 I have not.  I'll have to check that out.

 If activity has restarted for log4net like you say, I should take that
 item off my list I just sent out.  It was something I have had in mind
 for months prior when log4net activity seemed non-existent.

 It took me awhile to get NAnt to use log4net 1.2.10 because of
 sharpcvslib's dependency on log4net 1.2.9.  Since I was recently
 granted commit access to that project, I could see if I could upgrade
 the dependency in both projects.

Updating nunit2 task will be tricky, especially if you want to keep
it working on Mono as well. Any NAnt deployment that I'm aware of has
resorted to using exec instead, because of compatibility problems
between nunit dlls NAnt bundled and those that the project itself
used.

From the low priority list:
I'm quite fond of the NAnt website layout :-) And migrating to another
license requires written permission from every past contributor - this
would be a hard task to perform. Also, it might not provide any gain
to end users - development tools don't usually need a permissive
license, as they are not linked into the end product.

Regards,

Leszek 'skolima' Ciesielski

--
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 Ryan Boggs
Hi,

Thanks for your comments, see below.

On Wed, Oct 26, 2011 at 10:57 AM, Leszek Ciesielski skol...@gmail.com wrote:
 On Wed, Oct 26, 2011 at 6:33 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi,

 On Wed, Oct 26, 2011 at 8:53 AM, Stefan Bodewig
 stefan.bode...@freenet.de wrote:
 On 2011-10-26, Ryan Boggs wrote:

 Now that 0.91 final is out the door, I would like to start discussing
 what items to work on in both NAnt/NAntContrib.  Attached is an html
 file of an outline I put together with thoughts about next steps I
 have had for months (I put it in an attachment just in case your email
 viewers don't handle html emails).

 Jumping in at some random point and as somebody who has a strong Ant
 background but doesn't really know NAnt as good as I should.

 I can't say much about your choice of SCM.  Why do you feel
 Sourceforge's git offering was insufficient - this is an honest question
 as I may be thinking about moving XMLUnit to a different SCM myself
 (currently using svn at Sourceforge).
 It just doesn't feel like there is alot of effort on the repo side in
 terms of code reviews and other tools that sites like github have.
 That being said, I've been toying with the idea about using of setting
 up a git repo on SF to use as a mirror of source.  I am also thinking
 about keeping the CVS repo at SF live but readonly for historic
 reasons.

 One thing I noticed from experience I have with github.com is that it
 is much easier to share/review code from others than it currently is
 on SF.

 I'm giving a +1 to choosing git and github, in a large part because
 those two are popular and well known. And github's pull management is
 an awesome feature.
:) yup, I concur.


 We'll be polling log4net's users about platform support soon.  I also
 feel you are safe to require 2.0 at runtime as long as you keep 1.x as
 targets.
 I hope so.

 Agree here as well. Although this might (in future) mean quite a large
 rewrite of the NAnt API to make use of the generics.
Eh, it would but I am thinking that the first step of this part is
removing all of the preprocessing statements that separate between
.net 1.0 and .net 2.0. Converting the existing code to use features
from .net/mono 2.0 = would probably only be worked on if the gains
were significant enough.


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

 Have you seen the 1.2.11 release of log4net of about two weeks ago? ;-)
 I have not.  I'll have to check that out.

 If activity has restarted for log4net like you say, I should take that
 item off my list I just sent out.  It was something I have had in mind
 for months prior when log4net activity seemed non-existent.

 It took me awhile to get NAnt to use log4net 1.2.10 because of
 sharpcvslib's dependency on log4net 1.2.9.  Since I was recently
 granted commit access to that project, I could see if I could upgrade
 the dependency in both projects.

 Updating nunit2 task will be tricky, especially if you want to keep
 it working on Mono as well. Any NAnt deployment that I'm aware of has
 resorted to using exec instead, because of compatibility problems
 between nunit dlls NAnt bundled and those that the project itself
 used.
Yeah, I am aware of this as I looked into this during 0.91
development.  The NUnit API changed drastically between the current
version NAnt is using today (2.2 I believe) and the latest release
(2.10). Thus, this task was pushed out to avoid further delays of 0.91
final.  From what I gathered from NUnit's docs, 2.5.10 should work on
both mono and .net now so it shouldn't be a problem from that end
(hopefully).

 From the low priority list:
 I'm quite fond of the NAnt website layout :-) And migrating to another
 license requires written permission from every past contributor - this
 would be a hard task to perform. Also, it might not provide any gain
 to end users - development tools don't usually need a permissive
 license, as they are not linked into the end product.
The reasons you just specified are the reasons why they are considered
low priority.  Yeah, the site's current layout still works but it
could use a face lift to bring it to this decade.  Again, low
priority.

As for the license change, it would be a considerable undertaking and
the end payout may not be worth it, on top of the fact that there are
higher priorities I would like to address first before sizing up this
task.  I am in no rush to pursue this at this time but I wanted to
keep it up there for future review.

Thanks,
Ryan

 Regards,

 Leszek 'skolima' Ciesielski

 --
 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.
 

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 git
task in NAnt, and consider moving cvs to NAntContrib.
 
I'd like to see nunit2
either get to 2.5.10 or spun off as a separate project.  I had to resort to 
exec 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, nunit2 has to move separately to remain relevant.
 
I'd like to also throw in my
vote to get msbuild moved from NAntContrib to NAnt.  The solution task 
hasn't worked for
me in 5 years, and thus msbuild has really become an essential part of
NAnt.  (Towards the goals of NAnt 2.5, we could shim solution to use 
msbuild for VS 2005+ projects/solutions.)  Tangentially related, if we used 
the
msbuild 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


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 msbuild task?  I'd like to see more built-in 
parameters instead of resulting to arg / 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 parallel and restrict 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 xmllist 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 rmbo...@gmail.com
To: Rob Richardson erobr...@yahoo.com
Cc: nant-developers@lists.sourceforge.net 
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 erobr...@yahoo.com 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 git
 task in NAnt, and consider moving cvs 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 nunit2
 either get to 2.5.10 or spun off as a separate project.  I had to resort to 
 exec 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, nunit2 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 msbuild moved from NAntContrib to NAnt.  The solution task 
 hasn't worked for
 me in 5 years, and thus msbuild has really become an essential part of
 NAnt.  (Towards the goals of NAnt 2.5, we could shim solution to use 
 msbuild for VS 2005+ projects/solutions.)  Tangentially related, if we used 
 the
 msbuild task to build NAnt, we could easily get Any CPU
 mode -- a result not currently available in the NAnt release package.
IIRC, the msbuild 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 msbuild 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 msbuild 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 growing even more rapidly.
 Take a complimentary Learning@Cisco Self-Assessment and learn
 about

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

2011-10-26 Thread Ryan Boggs
Hi,

On Wed, Oct 26, 2011 at 1:05 PM, Rob Richardson erobr...@yahoo.com wrote:
 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)

Ahhh, I see.  That has been discussed in the past.  I personally do
not have a problem with this setup (others might, IIRC) but we would
probably have to figure out a smart approach to this.  On top of
figuring out whether or not official installers should be built (using
something like msi or NSIS).

 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.

That would be the plan.  I would like to keep the current cvs around
as a readonly history repo while all of the upcoming changes go into
whatever system is decided upon.  So no cron-cloned, just straight in.


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

Unfortunately, I need to dive in and see.  I am basing my response on
past conversations I have had with other team members.


 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 parallel and restrict 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 xmllist 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.

Those sound like goodies that would be cool to have.

 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?

Well, that's the beauty of working on an open source project.  Work on
what you want to work on.  We have items that we wish to work on that
may not reflect what you consider high priorities.  Send in what you
have and we can see where they would fit in.

Like I have said before, we probably need to update our contribution
instructions pretty soon after the repo decision is made.

Thanks,
Ryan

 Rob



 - Original Message -
 From: Ryan Boggs rmbo...@gmail.com
 To: Rob Richardson erobr...@yahoo.com
 Cc: nant-developers@lists.sourceforge.net 
 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 erobr...@yahoo.com 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 git
 task in NAnt, and consider moving cvs 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 nunit2
 either get to 2.5.10 or spun off as a separate project.  I had to resort to 
 exec 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, nunit2 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 msbuild moved from NAntContrib to NAnt.  The solution task 
 hasn't worked for
 me in 5 years, and thus msbuild has really become an essential part of
 NAnt.  (Towards the goals of NAnt 2.5, we could shim solution to use 
 msbuild for VS 2005+ projects/solutions.)  Tangentially related, if we 
 used the
 msbuild task to build NAnt, we could easily get Any CPU
 mode -- a result not currently available in the NAnt release package.
 IIRC, the msbuild task needs some more effort before being ported
 over.  I know there was work

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

2011-10-26 Thread Ryan Boggs
Hi all,

Thanks for the feedback so far.  It's really great to hear all your
thoughts on these matters.  Please feel free to tell us your thoughts,
if you haven't already.

I went ahead and converted this list to a page on NAnt's wiki for
easier review and maintenance.  I have also made some updates based on
some of the feedback so far.  Please take a look...

https://sourceforge.net/apps/mediawiki/nant/index.php?title=TODO

Thanks,
Ryan

On Wed, Oct 26, 2011 at 8:28 AM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi guys,

 Now that 0.91 final is out the door, I would like to start discussing
 what items to work on in both NAnt/NAntContrib.  Attached is an html
 file of an outline I put together with thoughts about next steps I
 have had for months (I put it in an attachment just in case your email
 viewers don't handle html emails).  I tried to include items that have
 been discussed in past emails.  All of these items affect both
 NAnt/NAntContrib unless specified otherwise.

 One of the things that has been on my mind for months is moving NAnt
 off of cvs.  When I polled that decision some time ago, the general
 consensus was that any move away from cvs would be a step up.  My
 personal feeling is to move from cvs to git or hg to because it is
 more easy for me to work with than cvs.  The first item in my list
 compares the two more popular repo sites out there.  I am partial to
 github.com because I have been using it alot lately for other things
 (working on the Boo language project for example) but I would like to
 hear other thoughts.  I have been experimenting with converting cvs to
 git with a good degree of success (all history, tags, and branches
 come through) but I am sure further tweeking will be necessary.

 A side note, when 0.91 final was released, I wasn't sure what the next
 version of NAnt we would be targeting so I just set it to 0.92.  This
 can be discussed further if need be.

 Looking forward to hearing your feedback.

 Thanks,
 Ryan


--
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 Dominik Guder
Hi Ryan,

+1 for github.

And we should define/discus a contribution process to ensure that nant 
core will stay as stable as it is currently.


Other proposals:
- Color output. Red for errors, yellow for warning and green for 
sucessfull build. I added this to my own net_2.0 build and I'm addicted 
to this easily identifying Green successfull build message.

- solution task/msbuild polishing since there still issues with our 
projects.

SourceControl:
- move CVS to nantcontrib
- integrate git
- polish svn
- add tfs (see ci-factory)
 
http://ci-factory.googlecode.com/svn/Current/Product/Production/Nant/TF.Tasks/

lower priority:
- review nant.exe.config: maybe separate net-x and mono-x definitions
   or one for each target. It is very large and hardly to maintain.

- fix/polish commandline handling:
   - remove anoying : as separator, this prevents you from using tab
 completion in cmd window (even WiX did this with 3.5 release)
   - add double dash as parameter prefix (as used at gnu tools) at least
 for --help and --version

Check other ci-factory tasks to add them to nantcontrib.

Hint: I found macrodef at ci-factory:
http://ci-factory.googlecode.com/svn/Current/Product/Production/Nant/CIFactory.NAnt.Tasks/Tasks/

It was getting longer and longer.
So far Dominik

-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
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 Ryan Boggs
Hey Dominik,

On Wed, Oct 26, 2011 at 2:35 PM, Dominik Guder o...@guder.org wrote:
 Hi Ryan,

 +1 for github.
How many responses should we collect before we make an official
decision on this? :)

 And we should define/discus a contribution process to ensure that nant
 core will stay as stable as it is currently.
110% agree.  I would like to do this once the repo decision is made.


 Other proposals:
 - Color output. Red for errors, yellow for warning and green for
 sucessfull build. I added this to my own net_2.0 build and I'm addicted
 to this easily identifying Green successfull build message.
Hehehe, That's a good idea.  I actually like that.

This would be good for Windows but we should take care in *nix systems
as some terminal emulators do not support color.

 - solution task/msbuild polishing since there still issues with our
 projects.
Yeah, this is a popular option.  We should probably loop back this
task with the one in NAntContrib to see if we can get this stuff
straightened out.  I'm for this.

 SourceControl:
 - move CVS to nantcontrib
 - integrate git
 - polish svn
 - add tfs (see ci-factory)
Yes, yes, yes, and yes.  I also threw Mercurial in that list for good measure.

 http://ci-factory.googlecode.com/svn/Current/Product/Production/Nant/TF.Tasks/

 lower priority:
 - review nant.exe.config: maybe separate net-x and mono-x definitions
   or one for each target. It is very large and hardly to maintain.
Good one, I agree.  Just not sure of the best approach.  We can
discuss this further.

 - fix/polish commandline handling:
   - remove anoying : as separator, this prevents you from using tab
     completion in cmd window (even WiX did this with 3.5 release)
   - add double dash as parameter prefix (as used at gnu tools) at least
     for --help and --version
One thing I would like to investigate is implementing something like
Mono.Options instead of the home grown command args parser.  I've used
it in personal projects and it was pretty cool.  That may address your
concern here.

 Check other ci-factory tasks to add them to nantcontrib.

 Hint: I found macrodef at ci-factory:
 http://ci-factory.googlecode.com/svn/Current/Product/Production/Nant/CIFactory.NAnt.Tasks/Tasks/
Oh wow, pretty cool.

Thanks,
Ryan

 It was getting longer and longer.
 So far Dominik

 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)

 --
 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


--
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] [ nant-Bugs-3366107 ] xmlpeek behavior broken in 0.91 alpha 1

2011-10-17 Thread SourceForge . net
Bugs item #3366107, was opened at 2011-07-13 07:19
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3366107group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-rc1
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Dmitry Kostenko (bis0n)
Assigned to: Ryan Boggs (rmboggs)
Summary: xmlpeek behavior broken in 0.91 alpha 1

Initial Comment:
The fix for feature request 1560566 [1] has changed the way xmlpeek returns 
value when XPath refers to an XML node, not text() or attribute.

0.90 and before - XML of the node was returned
0.91 alpha 1 and after - Value of the node is returned, making it impossible 
to use XmlPeek + XmlPoke to copy-paste XML between documents.

[1] 
https://sourceforge.net/tracker/index.php?func=detailaid=1560566group_id=31650atid=402871


--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-17 18:48

Message:
10-17-2011 Nightly snapshot contains the fix.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-16 20:52

Message:
Fix was just committed to cvs and should be in the next nightly/release.

--

Comment By: Dmitry Kostenko (bis0n)
Date: 2011-07-14 00:26

Message:
Please move this into Bugs - it's not a feature request, I took the wrong
tracker.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3366107group_id=31650

--
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-d2d-oct
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3366107 ] xmlpeek behavior broken in 0.91 alpha 1

2011-10-16 Thread SourceForge . net
Bugs item #3366107, was opened at 2011-07-13 07:19
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3366107group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-rc1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dmitry Kostenko (bis0n)
Assigned to: Ryan Boggs (rmboggs)
Summary: xmlpeek behavior broken in 0.91 alpha 1

Initial Comment:
The fix for feature request 1560566 [1] has changed the way xmlpeek returns 
value when XPath refers to an XML node, not text() or attribute.

0.90 and before - XML of the node was returned
0.91 alpha 1 and after - Value of the node is returned, making it impossible 
to use XmlPeek + XmlPoke to copy-paste XML between documents.

[1] 
https://sourceforge.net/tracker/index.php?func=detailaid=1560566group_id=31650atid=402871


--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-16 20:52

Message:
Fix was just committed to cvs and should be in the next nightly/release.

--

Comment By: Dmitry Kostenko (bis0n)
Date: 2011-07-14 00:26

Message:
Please move this into Bugs - it's not a feature request, I took the wrong
tracker.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3366107group_id=31650

--
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-d2d-oct
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3390653 ] xmlpeek broken in 0.91alpha2

2011-10-16 Thread SourceForge . net
Bugs item #3390653, was opened at 2011-08-12 10:11
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jiho Han ()
Assigned to: Ryan Boggs (rmboggs)
Summary: xmlpeek broken in 0.91alpha2

Initial Comment:
xmlpeek would return the inner xml of the node found in the property specified. 
 This worked in 0.85 but returns an empty string in 0.91alpha2.
I'm not certain whether this has existed in previous versions or not.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-16 21:01

Message:
This report is actually a duplicate of 3366107.  I just realized this.

However, I just committed an update to XmlPeek to cvs that should address
this issue.  I was able to successfully test the sample provided by
gntleone.  The expected output is now the actual output when nant is built
from cvs.  If possible, please test by building from cvs.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-13 18:23

Message:
Hmm, I'll take a look.

--

Comment By: Lee (gntleone)
Date: 2011-10-13 08:51

Message:
The old behavior of retrieving the full collection of nodes has been
broken.  The only thing returned now is the text contents of child nodes,
not the full node.  This has been broken since nant-0.91-alpha1. Example
follows.

test.xml
?xml version=1.0 encoding=utf-8 standalone=yes?
builds
build name=TEST
date10/13/2011 10:13:07/date
buildNum126/buildNum
modules
module name=TESTModule
FileVersion11.0.2002.101/FileVersion
ProductVersion11.0.2002.101/ProductVersion
/module
/modules
/build
/builds

QUERY:
xmlpeek xpath=//builds file=${project.versions} property=xmlnodes/

Expected output:
build name=TEST
date10/13/2011 10:13:07/date
buildNum126/buildNum
modules
module name=TESTModule
FileVersion11.0.2002.101/FileVersion
ProductVersion11.0.2002.101/ProductVersion
/module
/modules
/build

ACTUAL output:
  [xmlpeek] Found '1' nodes with the XPath expression '//builds'.
 [echo] xmlnodes: 10/13/2011 10:13:0712611.0.2002.10111.0.2002.101


--

Comment By: Dominik Guder (dogu)
Date: 2011-09-25 13:22

Message:
Until you provide a sample for this issue, I would suggest that you try to
append /text() to your XPath so you should get the inner xml or value.
Please drop me a note if I'm completely wrong.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-08-14 13:06

Message:
Hi, can you please provide a sample that can better illustrate this issue? 
I believe that this task is working fine for me, as far as I can tell.

Thanks,
Ryan

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650

--
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-d2d-oct
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3390653 ] xmlpeek broken in 0.91alpha2

2011-10-13 Thread SourceForge . net
Bugs item #3390653, was opened at 2011-08-12 10:11
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jiho Han ()
Assigned to: Nobody/Anonymous (nobody)
Summary: xmlpeek broken in 0.91alpha2

Initial Comment:
xmlpeek would return the inner xml of the node found in the property specified. 
 This worked in 0.85 but returns an empty string in 0.91alpha2.
I'm not certain whether this has existed in previous versions or not.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-13 18:23

Message:
Hmm, I'll take a look.

--

Comment By: Lee (gntleone)
Date: 2011-10-13 08:51

Message:
The old behavior of retrieving the full collection of nodes has been
broken.  The only thing returned now is the text contents of child nodes,
not the full node.  This has been broken since nant-0.91-alpha1. Example
follows.

test.xml
?xml version=1.0 encoding=utf-8 standalone=yes?
builds
build name=TEST
date10/13/2011 10:13:07/date
buildNum126/buildNum
modules
module name=TESTModule
FileVersion11.0.2002.101/FileVersion
ProductVersion11.0.2002.101/ProductVersion
/module
/modules
/build
/builds

QUERY:
xmlpeek xpath=//builds file=${project.versions} property=xmlnodes/

Expected output:
build name=TEST
date10/13/2011 10:13:07/date
buildNum126/buildNum
modules
module name=TESTModule
FileVersion11.0.2002.101/FileVersion
ProductVersion11.0.2002.101/ProductVersion
/module
/modules
/build

ACTUAL output:
  [xmlpeek] Found '1' nodes with the XPath expression '//builds'.
 [echo] xmlnodes: 10/13/2011 10:13:0712611.0.2002.10111.0.2002.101


--

Comment By: Dominik Guder (dogu)
Date: 2011-09-25 13:22

Message:
Until you provide a sample for this issue, I would suggest that you try to
append /text() to your XPath so you should get the inner xml or value.
Please drop me a note if I'm completely wrong.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-08-14 13:06

Message:
Hi, can you please provide a sample that can better illustrate this issue? 
I believe that this task is working fine for me, as far as I can tell.

Thanks,
Ryan

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650

--
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-d2d-oct
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3416986 ] Cannot Compile NAnt CVS Head on Win XP

2011-10-01 Thread SourceForge . net
Bugs item #3416986, was opened at 2011-10-01 15:58
Message generated for change (Comment added) made by tylerk1993
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3416986group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: cvs
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Tyler (tylerk1993)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot Compile NAnt CVS Head on Win XP

Initial Comment:
Whenever I try to build NAnt (the CVS head revision) on Windows XP, VS 2010 
Ultimate, .NET Framework 4.0, I get an error when the bootstrapped NAnt is 
trying to build the documentation:

[exec] BUILD FAILED
[exec]
[exec] C:\NAnt\NAnt.build(361,14):
[exec] Error building documentation.
[exec] This method implicitly uses CAS policy, which has been 
obsoleted by the .NET Framework. In order to enable CAS policy for 
compatibility reasons, please use the NetFx40_LegacySecurityPolicy 
configuration switch. Please see http://go.microsoft.com/fwlink/?LinkID=155570 
for more information.
[exec]
[exec] Total time: 1.2 seconds.
[exec]
BUILD FAILED
C:\NAnt\NAnt.build(335,10):
External Program Failed: C:\NAnt/build/nant-0.91-dev/bin/NAnt.exe (return code 
was 1)
Total time: 10.9 seconds.
NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1'
Stop.
C:\NAnt 

--

Comment By: Tyler (tylerk1993)
Date: 2011-10-01 16:57

Message:
The file I just posted is a log file I generated with the output from the
nmake command.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 16:25

Message:
Ok try this then,
nmake -f Makefile.nmake TARGET=net-4.0 prefix=c:\program files

--

Comment By: Tyler (tylerk1993)
Date: 2011-10-01 16:19

Message:
I am using Microsoft NMake. I first ran vsvars32.bat (from
%VS100COMNTOOLS%).

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 16:13

Message:
If you are using make to build, try using the TARGET=net-4.0 argument.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3416986group_id=31650

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3416986 ] Cannot Compile NAnt CVS Head on Win XP

2011-10-01 Thread SourceForge . net
Bugs item #3416986, was opened at 2011-10-01 15:58
Message generated for change (Comment added) made by tylerk1993
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3416986group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: cvs
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Tyler (tylerk1993)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot Compile NAnt CVS Head on Win XP

Initial Comment:
Whenever I try to build NAnt (the CVS head revision) on Windows XP, VS 2010 
Ultimate, .NET Framework 4.0, I get an error when the bootstrapped NAnt is 
trying to build the documentation:

[exec] BUILD FAILED
[exec]
[exec] C:\NAnt\NAnt.build(361,14):
[exec] Error building documentation.
[exec] This method implicitly uses CAS policy, which has been 
obsoleted by the .NET Framework. In order to enable CAS policy for 
compatibility reasons, please use the NetFx40_LegacySecurityPolicy 
configuration switch. Please see http://go.microsoft.com/fwlink/?LinkID=155570 
for more information.
[exec]
[exec] Total time: 1.2 seconds.
[exec]
BUILD FAILED
C:\NAnt\NAnt.build(335,10):
External Program Failed: C:\NAnt/build/nant-0.91-dev/bin/NAnt.exe (return code 
was 1)
Total time: 10.9 seconds.
NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1'
Stop.
C:\NAnt 

--

Comment By: Tyler (tylerk1993)
Date: 2011-10-01 17:40

Message:
And the strange thing is that one can build *without* the install target
and it builds successfully (but might not be the complete NAnt distro
needed to build other apps).

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 17:27

Message:
Ah, I was able to replicate.  I believe that the issue may be with the NDoc
libs that are used to generate NAnt's docs.  I am working on this now.

--

Comment By: Tyler (tylerk1993)
Date: 2011-10-01 16:57

Message:
The file I just posted is a log file I generated with the output from the
nmake command.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 16:25

Message:
Ok try this then,
nmake -f Makefile.nmake TARGET=net-4.0 prefix=c:\program files

--

Comment By: Tyler (tylerk1993)
Date: 2011-10-01 16:19

Message:
I am using Microsoft NMake. I first ran vsvars32.bat (from
%VS100COMNTOOLS%).

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-10-01 16:13

Message:
If you are using make to build, try using the TARGET=net-4.0 argument.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3416986group_id=31650

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Announcing NAnt 0.91 Beta1

2011-09-25 Thread Ryan Boggs
We are proud to announce the first beta release of NAnt 0.91.

Many thanks to those who were involved with the development of NAnt
this past year.  Especially to Martin Aliger and Dominik Guder without
whom this release would not have been possible without.

The primary goal for this release is to continue to improve support
for .NET 4.0.  Please give this release a test and report any NAnt
core specific bugs back along with examples as soon as you can.

This release focuses on extending our already strong support for
multiple target frameworks, bringing improved flexibility and
performance.  Some show stopping issues have been resolved as well.

A roadmap has been created to help illustrate the current release
plan.  Please note that this roadmap is a work in progress and is
subject to change depending on feature priorities, issues, and
developer's comfort level with the release:
https://sourceforge.net/apps/mediawiki/nant/index.php?title=Roadmap

Binary and source distributions are available for immediate download from:
https://sourceforge.net/projects/nant/files/nant/0.91-beta1/

The CVS tag for NAnt 0.91Beta1 is:
rel-0-91-beta1

Instruction for checking out sources from CVS are available here:
https://sourceforge.net/scm/?type=cvsgroup_id=31650

Discussion of NAnt occurs on the mailing list at
nant-us...@lists.sourceforge.net.

Bugs can be reported using the Bug Tracker at
http://sourceforge.net/projects/nant.

For more detailed progress on the inner workings of NAnt, check out
the NAnt Blog at https://sourceforge.net/apps/wordpress/nant/

About NAnt:
NAnt is a free .NET build tool, allowing applications to be built
targeting both Microsoft .NET and Mono while supporting both Windows
and Linux platforms.

Check the NAnt homepage for additional info at http://nant.sourceforge.net.

Thanks,
Ryan

--
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


[nant-dev] Default excludes for hg and git

2011-09-20 Thread Dominik Guder
Hi foks,

I need your input:

As you might know nant fileset has a bunch of default excludes.
I want to name mainly cvs and svn administrative folders **/CVS/** and 
**/.svn/** as well as cvs ignore file **/.cvsignore.

I want to add some more to this list. Especially for Git and Mercurial.
These are:
**/.git and **/.git/** for git admin folder
**/.hg and **/.hg/** for hg admin folder

So what to do with git and hg ignore/config files
There the two ignore files .gitignore and .hgignore should they are 
excluded by default too?

Or the other ones which are starting with .hg* or .git* like 
.hgsvnexternals or .hgeol should they be excluded by default too?

If there are some other files/folders which should be excluded by default?

So far and many thanks in advance.

Dominik

-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
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


Re: [nant-dev] [NAnt-users] Default excludes for hg and git

2011-09-20 Thread Ryan Boggs
Hi,

On Tue, Sep 20, 2011 at 5:21 PM, Thierry Lach thierry.l...@gmail.com wrote:
 The  .*ignore files only have meaning with source control in effect. Since
 the /cvs/, /.svn/, etc dirs are not included, I'd say exclude the  .*ignore
 files and any others related to source control.
Your right, ignore 'em all...

Thanks,
Ryan

 On Sep 20, 2011 8:03 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi,

 On Tue, Sep 20, 2011 at 2:18 PM, Dominik Guder o...@guder.org wrote:
 Hi foks,

 I need your input:

 As you might know nant fileset has a bunch of default excludes.
 I want to name mainly cvs and svn administrative folders **/CVS/** and
 **/.svn/** as well as cvs ignore file **/.cvsignore.

 I want to add some more to this list. Especially for Git and Mercurial.
 These are:
 **/.git and **/.git/** for git admin folder
 **/.hg and **/.hg/** for hg admin folder
 I saw go for it. These should be ignored anyway.

 So what to do with git and hg ignore/config files
 There the two ignore files .gitignore and .hgignore should they are
 excluded by default too?
 I would think that these shouldn't be ignored. But it sounds like it
 is the norm?

 Or the other ones which are starting with .hg* or .git* like
 .hgsvnexternals or .hgeol should they be excluded by default too?
 I am not familiar with these files. I haven't seen them before.

 If there are some other files/folders which should be excluded by
 default?

 So far and many thanks in advance.

 Dominik

 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)


 --
 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

 Thanks,
 Ryan


 --
 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-users mailing list
 nant-us...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-users


--
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


[nant-dev] SDK docs in nant zipfile

2011-09-14 Thread Dominik Guder
Hi folks,


I started to setup a teamcity build task to automatically create nightlies.

Everything went ok, but I struggled over ndoc and HtmlHelp generation 
for NAnt-SDK.chm.
Ndoc's MSDN documentor has a readonly property for hhc.exe. It search in 
%PROGRAMFILES% but this is the wrong location on x64 machines where it 
will be %PROGRAMFILES(x86)%.

Now there are some possible solutions:
1) I found a working way to use reflection to set this internal 
property on MSDN documentor.

2) Remove the NAnt-SDK.chm from bin (or nightlies) zip. IMHO 
NAnt-SDK.chm not needed for bin zip. I think a better place could be in 
src zip.

So what do you think? Do someone out there need sdk-doc on a regular basis?

Any other ideas?

So far
Dominik

-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] SDK docs in nant zipfile

2011-09-14 Thread Ryan Boggs
Hi Dominik,

On Wed, Sep 14, 2011 at 2:35 PM, Dominik Guder o...@guder.org wrote:
 Hi folks,


 I started to setup a teamcity build task to automatically create nightlies.
That's wonderful.  I'll take a look at that this weekend.

 Everything went ok, but I struggled over ndoc and HtmlHelp generation
 for NAnt-SDK.chm.
 Ndoc's MSDN documentor has a readonly property for hhc.exe. It search in
 %PROGRAMFILES% but this is the wrong location on x64 machines where it
 will be %PROGRAMFILES(x86)%.

 Now there are some possible solutions:
 1) I found a working way to use reflection to set this internal
 property on MSDN documentor.

 2) Remove the NAnt-SDK.chm from bin (or nightlies) zip. IMHO
 NAnt-SDK.chm not needed for bin zip. I think a better place could be in
 src zip.

 So what do you think? Do someone out there need sdk-doc on a regular basis?
Well, I see a value of having the sdk-doc in the bin file for new
releases as projects that build custom nant tasks are probably not
going want to rebuild nant before building their project.  But this is
a question specific to nightly releases, correct?  If so, I can't
imagine the need for the sdk-doc for nightly releases, especially if
the frequency of nighly releases will be increasing.

Other thoughts?

Thanks,
Ryan

 Any other ideas?

 So far
 Dominik

 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)

 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 Learn about the latest advances in developing for the
 BlackBerryreg; mobile platform with sessions, labs  more.
 See new tools and technologies. Register for BlackBerryreg; DevCon today!
 http://p.sf.net/sfu/rim-devcon-copy1
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3383872 ] Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2

2011-09-02 Thread SourceForge . net
Bugs item #3383872, was opened at 2011-08-01 15:28
Message generated for change (Comment added) made by sainzg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 0.91-alpha2
Status: Closed
Resolution: Works For Me
Priority: 9
Private: No
Submitted By: Gus (sainzg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2 

Initial Comment:
Recently we updated our build server to .Net 4.0 and installed SDK for Windows 
7 and .NET 4.0 as required, then upgraded to Nant. 091.Alpha2 because with 
Alpha 1 could no longer compile .net 3.5 / .net 4.0. We are also using 
Nantcontrib 0.85

We are still having this same error being reported



BUILD FAILED

INTERNAL ERROR

System.Security.SecurityException: Request for the permission of type 'System.Se
curity.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neu
tral, PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa
rk stackMark, Boolean isPermSet)
   at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S
tackCrawlMark stackMark)
   at System.Security.CodeAccessPermission.Demand()
   at System.IO.Path.GetTempPath()
   at System.IO.Path.GetTempFileName()
   at NAnt.Contrib.Tasks.MsbuildTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.EnvironmentPermission
The first permission that failed was:
IPermission class=System.Security.Permissions.EnvironmentPermission, mscorlib,
 Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
version=1
Unrestricted=true/


--

Comment By: Gus (sainzg)
Date: 2011-09-02 07:00

Message:
Got it resolved, windows security issue.

--

Comment By: Gus (sainzg)
Date: 2011-09-02 06:59

Message:
Select all files in one the folders, in my case was the nant-contrib \ bin
files, I've copied them over from another server and windows blocks them
until you mark them safe again. So select all files, right click go to
properties and there will be a button at the very bottom to mark the safe
or the like, click on it, repeat this process for any other files on
another folders you might have copied over from different location.

--

Comment By: Joseph Remes (jremes)
Date: 2011-09-01 15:25

Message:
I am getting a very similar error. 

Request for the permission of type
'System.Security.Permissions.FileIOPermission...'

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3383872 ] Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2

2011-09-01 Thread SourceForge . net
Bugs item #3383872, was opened at 2011-08-01 14:28
Message generated for change (Comment added) made by jremes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Gus (sainzg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2 

Initial Comment:
Recently we updated our build server to .Net 4.0 and installed SDK for Windows 
7 and .NET 4.0 as required, then upgraded to Nant. 091.Alpha2 because with 
Alpha 1 could no longer compile .net 3.5 / .net 4.0. We are also using 
Nantcontrib 0.85

We are still having this same error being reported



BUILD FAILED

INTERNAL ERROR

System.Security.SecurityException: Request for the permission of type 'System.Se
curity.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neu
tral, PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa
rk stackMark, Boolean isPermSet)
   at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S
tackCrawlMark stackMark)
   at System.Security.CodeAccessPermission.Demand()
   at System.IO.Path.GetTempPath()
   at System.IO.Path.GetTempFileName()
   at NAnt.Contrib.Tasks.MsbuildTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.EnvironmentPermission
The first permission that failed was:
IPermission class=System.Security.Permissions.EnvironmentPermission, mscorlib,
 Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
version=1
Unrestricted=true/


--

Comment By: Joseph Remes (jremes)
Date: 2011-09-01 14:25

Message:
I am getting a very similar error. 

Request for the permission of type
'System.Security.Permissions.FileIOPermission...'

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3048200 ] NAnt 0.91 Aplha 2 crashes on startup

2011-08-29 Thread SourceForge . net
Bugs item #3048200, was opened at 2010-08-18 23:13
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3048200group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rainer Schuster ()
Assigned to: Nobody/Anonymous (nobody)
Summary: NAnt 0.91 Aplha 2 crashes on startup

Initial Comment:
I'm running nant on windows 7 x64 and getting the following exception (german). 
nant crashes in user mode and with elavated rights in admin mode.

Unbehandelte Ausnahme: System.TypeInitializationException: Der 
Typeninitialisierer für NAnt.Console.ConsoleStub hat ei
ne Ausnahme verursacht. --- System.Security.SecurityException: Fehler bei der 
Anforderung des Berechtigungstyps System
.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, 
Culture=neutral, PublicKeyToken=b77a5c561934e089.
   bei System.Security.CodeAccessSecurityEngine.Check(Object demand, 
StackCrawlMark stackMark, Boolean isPermSet)
   bei System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, 
StackCrawlMark stackMark)
   bei System.Security.CodeAccessPermission.Demand()
   bei System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
   bei System.AppDomain.get_BaseDirectory()
   bei log4net.Config.XmlConfiguratorAttribute.Configure(Assembly 
sourceAssembly, ILoggerRepository targetRepository)
   bei log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly 
assembly, ILoggerRepository repository)
   bei log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly 
repositoryAssembly, Type repositoryType, String
repositoryName, Boolean readAssemblyAttributes)
   bei log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly 
repositoryAssembly, Type repositoryType)
   bei log4net.Core.DefaultRepositorySelector.GetRepository(Assembly 
repositoryAssembly)
   bei log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String 
name)
   bei log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name)
   bei log4net.LogManager.GetLogger(Type type)
   bei NAnt.Console.ConsoleStub..cctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei NAnt.Console.ConsoleStub.Main(String[] args)

--

Comment By: Brian ()
Date: 2011-08-29 19:43

Message:
Brandonarp' suggestion worked for me.   Windows 7 x64.  

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-01-22 04:22

Message:
I would like to hear from others who are experiencing these kinds of issues
if brandonarp's suggestion works for them.  I can't replicate the issue on
any of my test boxes (xp  7 32bit) but I do see the Unblock button in
the properties for the zip file.  However, it works for me whether the zip
is blocked or not.

--

Comment By: Brandon Arp (brandonarp)
Date: 2011-01-21 23:54

Message:
I had this exact same problem.  It comes from the assembly not being
trusted.  Windows 7 will put a flag on downloaded files that the .Net
runtime uses to lower access.  The fix for this is to open the properties
dialog of the .zip file and next to the Security label, click Unblock. 
Then, when you extract the files, they wont be restricted.  Hopefully this
helps.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2010-09-14 00:21

Message:
Looks like some tests failed concerning the registry.  The user account you
were using may not have access to the registry.

--

Comment By: Tony Langford (tonst)
Date: 2010-09-13 10:50

Message:
Thanks, that did seem to do the job :)
The 0.91alpha2 build script failed at the end but it had produced the
needed binaries so not a big deal for me but in case its of use here's the
end of the log. Used nant 0.9 on 2008r2 to build it:

 [exec]  [nant]
C:\nant-0.91-alpha2\tests\NAnt.Win32\NAnt.Win32.build te
st
 [exec] Buildfile:
file:///C:/nant-0.91-alpha2/tests/NAnt.Win32/
NAnt.Win32.build
 [exec] Target framework: Microsoft .NET Framework 3.5
 [exec] Target(s) specified: test
 [exec]
 [exec]
 [exec] build:
 [exec]
 [exec]
 [exec] test:
 [exec]
 [exec][nunit2] Tests run: 2, Failures: 1, Not run: 0,
Time:
 1.685 seconds
 [exec][nunit2]
 [exec][nunit2] Failures:
 [exec][nunit2] 1)
Tests.NAnt.Win32.Tasks.ReadRegistryTest.T
est_Read_Defaults : Tests.NAnt.Core.TestBuildException : 

Re: [nant-dev] Repository maintenance folder deletion

2011-08-19 Thread Dominik Guder
Hi Leszek,

Am 19.08.2011 10:14, schrieb Leszek Ciesielski:
 I am curating https://github.com/skolima/NAnt git mirror and this is
 problematic. Git 'cvsimport' command does not handle file deletions
 (due to the broken way cvs itself records them), so nmake is still
 present in the (automatically updated) mirror. I will push a commit
 deleting the file, but I'm not willing to rewrite history to remove
 it, as this would break any existing clones. Is this an acceptable
 solution?


I see you point. But I'm no sure if removing the file is enough. I think 
that your mirror is out of sync and I have some doubts that updates are 
working.
Maybe you can try to wipe out the last commit (IMHO rebase might can do 
this) or do a fresh 'cvsimport'.

Im really sorry for this trouble and I'm wiling to assist you to get 
your mirror up and running again.

BTW: We are on the way to github too. But we want to get out next nant 
version first.

So far Dominik


-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Configuration to Target 3.5/4.0 Client Profiles?

2011-08-15 Thread Stefan Bodewig
Hi,

over in log4net land we are seriously ramping up for a new release (who
would have ever thought that 8-) and need to provide assemblies stripped
down to the client profiles.  Has anybody around here got a
configuration that can be used to target the client frameworks?

My first guess, but I haven't really looked into it, is that one mostly
needs to remove some assemblies from the reference-assemblies element of
the corresponding full framework target.

Stefan

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3390653 ] xmlpeek broken in 0.91alpha2

2011-08-12 Thread SourceForge . net
Bugs item #3390653, was opened at 2011-08-12 13:11
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jiho Han ()
Assigned to: Nobody/Anonymous (nobody)
Summary: xmlpeek broken in 0.91alpha2

Initial Comment:
xmlpeek would return the inner xml of the node found in the property specified. 
 This worked in 0.85 but returns an empty string in 0.91alpha2.
I'm not certain whether this has existed in previous versions or not.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3390653group_id=31650

--
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-08-07 Thread Dominik Guder
Hi Ryan,

these changes are good rom my point of view.
I have ony one minor thing what I can't test since I have difficulties 
to debug nant at the moment.

MSBuildProject.cs within DetermineProductVersion line 279
 if (_productVerNode != null) {
 Version _ver = new Version(_productVerNode.InnerText);

_productVerNode.InnerText might be empty especially in vb.net projects. 
Which results in an exception since  is not valid vor Version 
constuctor. You might use following:

if (_productVerNode != null  
!StringUtils.IsNullOrEmpty(_productVerNode.InnerText))

Well done

Dominik

Am 06.08.2011 21:12, schrieb Ryan Boggs:
 Hi,

 I'm thinking that at this point, since I believe I fixed the one or two
 things from the comments I received some months ago, I will commit these
 changes by end of day Monday unless I hear any objections before then.
  From there, I will perform some nightlys with these changes for public
 testing.  Sound good?

 Thanks,
 Ryan




-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-08-07 Thread Ryan Boggs
Ah, good catches.  I've made the changes in my tree and they are ready for
committing.

If I don't hear anything else, all of these changes that Dominik, Martin,
and myself have worked hard on will be committed tonight.

Thanks everyone :)
Ryan

On Sun, Aug 7, 2011 at 1:33 PM, Dominik Guder o...@guder.org wrote:

 Am 06.08.2011 21:12, schrieb Ryan Boggs:

 Hi,


 I'm thinking that at this point, since I believe I fixed the one or two
 things from the comments I received some months ago, I will commit these
 changes by end of day Monday unless I hear any objections before then.
  From there, I will perform some nightlys with these changes for public
 testing.  Sound good?

  Another minor fix:
 please add the missing /list entry to xmldoc

 Thanks

 Dominik

 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)


 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-08-06 Thread Ryan Boggs
Hi,

I'm thinking that at this point, since I believe I fixed the one or two
things from the comments I received some months ago, I will commit these
changes by end of day Monday unless I hear any objections before then.  From
there, I will perform some nightlys with these changes for public testing.
Sound good?

Thanks,
Ryan

On Fri, Jul 29, 2011 at 10:28 PM, Ryan Boggs rmbo...@gmail.com wrote:

 Anyone had a change to review this yet?  Does it look ok to commit?  Please
 let me know.

 Thanks,
 Ryan


 On Fri, Jul 22, 2011 at 5:17 PM, Ryan Boggs rmbo...@gmail.com wrote:

 Updated diff to include changes to the DetermineProductVersion method.

 I decided that rather than relying on one element or attribute tag,
 might as well check through them all.  This method will now check for
 the ProductVersion element first for the msbuild project version.  If
 that element doesn't exist, it will then check for the
 TargetFrameworkVersion element.  If neither of those elements exist,
 it'll then check the ToolsVersion attribute of the Project for a
 version number.  If none of these items exist in the msbuild file, the
 method will default to 2.0.  I figured that this approach would be the
 most detailed in getting the propert msbuild project file's version
 number.

 The diff is located in the patches section in sourceforge:

 https://sourceforge.net/tracker/index.php?func=detailaid=3311661group_id=31650atid=402870

 I also opened a new review as the old one was getting cluttered.  It is
 CR-63.
 https://fisheye1.atlassian.com/cru/CR-63

 Please let me know if this looks good to commit to the tree.

 Thanks,
 Ryan

 On Fri, Jul 22, 2011 at 11:43 AM, Ryan Boggs rmbo...@gmail.com wrote:
  Hi,
 
  Thought I put in such a patch but it looks like I didn't yet.  I will
  see about creating it today.
 
  Thanks,
  Ryan
 
  On Fri, Jul 22, 2011 at 2:54 AM, Martin Aliger martin_ali...@gordic.cz
 wrote:
  Yes, your solution is better. Depending on ProjectVersion was throwing
 odd
  exceptions when it was not included (which happens even in VS for
 whatever
  reason):
 
 
 internalerror
   typeSystem.ArgumentException/type
   message![CDATA[Version string portion was too short or too
  long.]]/message
   stacktrace![CDATA[   at
  System.Version.VersionResult.SetFailure(ParseFailureKind failure,
 String
  argument)
at System.Version.TryParseVersion(String version, VersionResult
 result)
at System.Version.Parse(String input)
at System.Version..ctor(String version)
at NAnt.MSBuild.MSBuildProject.DetermineProductVersion(XmlElement
  docElement)
at NAnt.VSNet.ProjectBase..ctor(XmlElement xmlDefinition,
 SolutionTask
  solutionTask, TempFileCollection temporaryFiles, GacCache gacCache,
  ReferencesResolver referencesResolver, DirectoryInfo outputDir)
at NAnt.MSBuild.MSBuildProject..ctor(SolutionBase solution, String
  projectPath, XmlElement xmlDefinition, SolutionTask solutionTask,
  TempFileCollection tfc, GacCache gacCache, ReferencesResolver
 refResolver,
  DirectoryInfo outputDir)
  ...
 
  ToolsVersion should be more accurate as well. I'd need to test it yet,
  though.
 
  Martin Aliger
 
  -Original Message-
  From: Ryan Boggs [mailto:rmbo...@gmail.com]
  Sent: Wednesday, June 22, 2011 2:36 AM
  Subject: Re: [nant-dev] Updates to MSBuild  VSNet Tasks
 
  Hey Dominik,
 
  I saw your notes in the atlassian review and I see your point.  It
 would
  probably make more sense to use the ToolsVersion property rather than
  relying on the PropertyGroup/ProductVersion xml node.  I just took a
 look at
  some project files created by Sharpdevelop and none of the project
 files had
  that xml node but they did have the ToolsVersion property.  I can give
 this
  another run through later this week.
 
  Thanks,
  Ryan
 
 
 



--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3383872 ] Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2

2011-08-01 Thread SourceForge.net
Bugs item #3383872, was opened at 2011-08-01 15:28
Message generated for change (Settings changed) made by sainzg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Gus (sainzg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2 

Initial Comment:
Recently we updated our build server to .Net 4.0 and installed SDK for Windows 
7 and .NET 4.0 as required, then upgraded to Nant. 091.Alpha2 because with 
Alpha 1 could no longer compile .net 3.5 / .net 4.0. We are also using 
Nantcontrib 0.85

We are still having this same error being reported



BUILD FAILED

INTERNAL ERROR

System.Security.SecurityException: Request for the permission of type 'System.Se
curity.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neu
tral, PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa
rk stackMark, Boolean isPermSet)
   at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S
tackCrawlMark stackMark)
   at System.Security.CodeAccessPermission.Demand()
   at System.IO.Path.GetTempPath()
   at System.IO.Path.GetTempFileName()
   at NAnt.Contrib.Tasks.MsbuildTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.EnvironmentPermission
The first permission that failed was:
IPermission class=System.Security.Permissions.EnvironmentPermission, mscorlib,
 Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
version=1
Unrestricted=true/


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-07-29 Thread Ryan Boggs
Anyone had a change to review this yet?  Does it look ok to commit?  Please
let me know.

Thanks,
Ryan

On Fri, Jul 22, 2011 at 5:17 PM, Ryan Boggs rmbo...@gmail.com wrote:

 Updated diff to include changes to the DetermineProductVersion method.

 I decided that rather than relying on one element or attribute tag,
 might as well check through them all.  This method will now check for
 the ProductVersion element first for the msbuild project version.  If
 that element doesn't exist, it will then check for the
 TargetFrameworkVersion element.  If neither of those elements exist,
 it'll then check the ToolsVersion attribute of the Project for a
 version number.  If none of these items exist in the msbuild file, the
 method will default to 2.0.  I figured that this approach would be the
 most detailed in getting the propert msbuild project file's version
 number.

 The diff is located in the patches section in sourceforge:

 https://sourceforge.net/tracker/index.php?func=detailaid=3311661group_id=31650atid=402870

 I also opened a new review as the old one was getting cluttered.  It is
 CR-63.
 https://fisheye1.atlassian.com/cru/CR-63

 Please let me know if this looks good to commit to the tree.

 Thanks,
 Ryan

 On Fri, Jul 22, 2011 at 11:43 AM, Ryan Boggs rmbo...@gmail.com wrote:
  Hi,
 
  Thought I put in such a patch but it looks like I didn't yet.  I will
  see about creating it today.
 
  Thanks,
  Ryan
 
  On Fri, Jul 22, 2011 at 2:54 AM, Martin Aliger martin_ali...@gordic.cz
 wrote:
  Yes, your solution is better. Depending on ProjectVersion was throwing
 odd
  exceptions when it was not included (which happens even in VS for
 whatever
  reason):
 
 
 internalerror
   typeSystem.ArgumentException/type
   message![CDATA[Version string portion was too short or too
  long.]]/message
   stacktrace![CDATA[   at
  System.Version.VersionResult.SetFailure(ParseFailureKind failure, String
  argument)
at System.Version.TryParseVersion(String version, VersionResult
 result)
at System.Version.Parse(String input)
at System.Version..ctor(String version)
at NAnt.MSBuild.MSBuildProject.DetermineProductVersion(XmlElement
  docElement)
at NAnt.VSNet.ProjectBase..ctor(XmlElement xmlDefinition, SolutionTask
  solutionTask, TempFileCollection temporaryFiles, GacCache gacCache,
  ReferencesResolver referencesResolver, DirectoryInfo outputDir)
at NAnt.MSBuild.MSBuildProject..ctor(SolutionBase solution, String
  projectPath, XmlElement xmlDefinition, SolutionTask solutionTask,
  TempFileCollection tfc, GacCache gacCache, ReferencesResolver
 refResolver,
  DirectoryInfo outputDir)
  ...
 
  ToolsVersion should be more accurate as well. I'd need to test it yet,
  though.
 
  Martin Aliger
 
  -Original Message-
  From: Ryan Boggs [mailto:rmbo...@gmail.com]
  Sent: Wednesday, June 22, 2011 2:36 AM
  Subject: Re: [nant-dev] Updates to MSBuild  VSNet Tasks
 
  Hey Dominik,
 
  I saw your notes in the atlassian review and I see your point.  It would
  probably make more sense to use the ToolsVersion property rather than
  relying on the PropertyGroup/ProductVersion xml node.  I just took a
 look at
  some project files created by Sharpdevelop and none of the project files
 had
  that xml node but they did have the ToolsVersion property.  I can give
 this
  another run through later this week.
 
  Thanks,
  Ryan
 
 
 

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-07-22 Thread Martin Aliger
Yes, your solution is better. Depending on ProjectVersion was throwing odd
exceptions when it was not included (which happens even in VS for whatever
reason):


internalerror
  typeSystem.ArgumentException/type
  message![CDATA[Version string portion was too short or too
long.]]/message
  stacktrace![CDATA[   at
System.Version.VersionResult.SetFailure(ParseFailureKind failure, String
argument)
   at System.Version.TryParseVersion(String version, VersionResult result)
   at System.Version.Parse(String input)
   at System.Version..ctor(String version)
   at NAnt.MSBuild.MSBuildProject.DetermineProductVersion(XmlElement
docElement)
   at NAnt.VSNet.ProjectBase..ctor(XmlElement xmlDefinition, SolutionTask
solutionTask, TempFileCollection temporaryFiles, GacCache gacCache,
ReferencesResolver referencesResolver, DirectoryInfo outputDir)
   at NAnt.MSBuild.MSBuildProject..ctor(SolutionBase solution, String
projectPath, XmlElement xmlDefinition, SolutionTask solutionTask,
TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver,
DirectoryInfo outputDir)
...

ToolsVersion should be more accurate as well. I'd need to test it yet,
though.

Martin Aliger

-Original Message-
From: Ryan Boggs [mailto:rmbo...@gmail.com] 
Sent: Wednesday, June 22, 2011 2:36 AM
Subject: Re: [nant-dev] Updates to MSBuild  VSNet Tasks

Hey Dominik,

I saw your notes in the atlassian review and I see your point.  It would
probably make more sense to use the ToolsVersion property rather than
relying on the PropertyGroup/ProductVersion xml node.  I just took a look at
some project files created by Sharpdevelop and none of the project files had
that xml node but they did have the ToolsVersion property.  I can give this
another run through later this week.

Thanks,
Ryan


--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-07-22 Thread Ryan Boggs
Hi,

Thought I put in such a patch but it looks like I didn't yet.  I will
see about creating it today.

Thanks,
Ryan

On Fri, Jul 22, 2011 at 2:54 AM, Martin Aliger martin_ali...@gordic.cz wrote:
 Yes, your solution is better. Depending on ProjectVersion was throwing odd
 exceptions when it was not included (which happens even in VS for whatever
 reason):


    internalerror
      typeSystem.ArgumentException/type
      message![CDATA[Version string portion was too short or too
 long.]]/message
      stacktrace![CDATA[   at
 System.Version.VersionResult.SetFailure(ParseFailureKind failure, String
 argument)
   at System.Version.TryParseVersion(String version, VersionResult result)
   at System.Version.Parse(String input)
   at System.Version..ctor(String version)
   at NAnt.MSBuild.MSBuildProject.DetermineProductVersion(XmlElement
 docElement)
   at NAnt.VSNet.ProjectBase..ctor(XmlElement xmlDefinition, SolutionTask
 solutionTask, TempFileCollection temporaryFiles, GacCache gacCache,
 ReferencesResolver referencesResolver, DirectoryInfo outputDir)
   at NAnt.MSBuild.MSBuildProject..ctor(SolutionBase solution, String
 projectPath, XmlElement xmlDefinition, SolutionTask solutionTask,
 TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver,
 DirectoryInfo outputDir)
 ...

 ToolsVersion should be more accurate as well. I'd need to test it yet,
 though.

 Martin Aliger

 -Original Message-
 From: Ryan Boggs [mailto:rmbo...@gmail.com]
 Sent: Wednesday, June 22, 2011 2:36 AM
 Subject: Re: [nant-dev] Updates to MSBuild  VSNet Tasks

 Hey Dominik,

 I saw your notes in the atlassian review and I see your point.  It would
 probably make more sense to use the ToolsVersion property rather than
 relying on the PropertyGroup/ProductVersion xml node.  I just took a look at
 some project files created by Sharpdevelop and none of the project files had
 that xml node but they did have the ToolsVersion property.  I can give this
 another run through later this week.

 Thanks,
 Ryan



--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-07-22 Thread Ryan Boggs
Updated diff to include changes to the DetermineProductVersion method.

I decided that rather than relying on one element or attribute tag,
might as well check through them all.  This method will now check for
the ProductVersion element first for the msbuild project version.  If
that element doesn't exist, it will then check for the
TargetFrameworkVersion element.  If neither of those elements exist,
it'll then check the ToolsVersion attribute of the Project for a
version number.  If none of these items exist in the msbuild file, the
method will default to 2.0.  I figured that this approach would be the
most detailed in getting the propert msbuild project file's version
number.

The diff is located in the patches section in sourceforge:
https://sourceforge.net/tracker/index.php?func=detailaid=3311661group_id=31650atid=402870

I also opened a new review as the old one was getting cluttered.  It is CR-63.
https://fisheye1.atlassian.com/cru/CR-63

Please let me know if this looks good to commit to the tree.

Thanks,
Ryan

On Fri, Jul 22, 2011 at 11:43 AM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi,

 Thought I put in such a patch but it looks like I didn't yet.  I will
 see about creating it today.

 Thanks,
 Ryan

 On Fri, Jul 22, 2011 at 2:54 AM, Martin Aliger martin_ali...@gordic.cz 
 wrote:
 Yes, your solution is better. Depending on ProjectVersion was throwing odd
 exceptions when it was not included (which happens even in VS for whatever
 reason):


    internalerror
      typeSystem.ArgumentException/type
      message![CDATA[Version string portion was too short or too
 long.]]/message
      stacktrace![CDATA[   at
 System.Version.VersionResult.SetFailure(ParseFailureKind failure, String
 argument)
   at System.Version.TryParseVersion(String version, VersionResult result)
   at System.Version.Parse(String input)
   at System.Version..ctor(String version)
   at NAnt.MSBuild.MSBuildProject.DetermineProductVersion(XmlElement
 docElement)
   at NAnt.VSNet.ProjectBase..ctor(XmlElement xmlDefinition, SolutionTask
 solutionTask, TempFileCollection temporaryFiles, GacCache gacCache,
 ReferencesResolver referencesResolver, DirectoryInfo outputDir)
   at NAnt.MSBuild.MSBuildProject..ctor(SolutionBase solution, String
 projectPath, XmlElement xmlDefinition, SolutionTask solutionTask,
 TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver,
 DirectoryInfo outputDir)
 ...

 ToolsVersion should be more accurate as well. I'd need to test it yet,
 though.

 Martin Aliger

 -Original Message-
 From: Ryan Boggs [mailto:rmbo...@gmail.com]
 Sent: Wednesday, June 22, 2011 2:36 AM
 Subject: Re: [nant-dev] Updates to MSBuild  VSNet Tasks

 Hey Dominik,

 I saw your notes in the atlassian review and I see your point.  It would
 probably make more sense to use the ToolsVersion property rather than
 relying on the PropertyGroup/ProductVersion xml node.  I just took a look at
 some project files created by Sharpdevelop and none of the project files had
 that xml node but they did have the ToolsVersion property.  I can give this
 another run through later this week.

 Thanks,
 Ryan




--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3058913 ] xml schema for description is invalid

2011-07-07 Thread SourceForge.net

Bugs item #3058913, was opened at 2010-09-03 16:51
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: owl128 (owl128)
Assigned to: Nobody/Anonymous (nobody)
Summary: xml schema for description is invalid

Initial Comment:
example for a build file:
  project xmlns=http://nant.sf.net/release/0.91-alpha2/nant.xsd; name=a
descriptionmy description/description
  /project
This will note the text between the description tags as invalid. 

I suggest to fix the content of nant.xsd file by one of the followings:

Replace: xs:complexType name=NAnt.Core.Tasks.DescriptionTask
by  xs:complexType name=NAnt.Core.Tasks.DescriptionTask mixed=true

or

replace the occurrences of xs:element name=description 
type=nant:NAnt.Core.Tasks.DescriptionTask /
by  xs:element name=description type=xs:string /


--

Comment By: Sojourner ()
Date: 2011-07-07 21:27

Message:
rmboggs:

That would indeed shut it up - mixed=true is what you want to get a
complextype to accept text content. However as pointed out by dogu, the
schema is autogenerated. What is really needed is a change to the schema
task to get it to apply a mixed content model when it generates xsd types
for tasks, based on some criterion. Having only just viewed Nant source for
the first time today, I don't have a clear idea how that might be
accomplished.

The Description task doesn't appear to do anything; maybe it would be as
simple as adding a 'text' property to the description task, which should
appear as a 'text' attribute in the build file? NAnt by convention seems
not to use element content to express very much at all.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2010-09-13 04:39

Message:
I'm trying to get familiar with xsd in general.  From what I can see, the
closest I can get to the mixed is with this:

  xs:complexType name=Target mixed=true
xs:choice minOccurs=0 maxOccurs=unbounded
  xs:complexType name=NAnt.Core.Tasks.DescriptionTask

however, I don't know if that will resolve this issue.

Thanks,
Ryan

--

Comment By: Dominik Guder (dogu)
Date: 2010-09-05 20:58

Message:
Hi, 

I stubled about this long time ago. There are some more tasks like the
echo task if I remember correctly. 
Changing this in xsd file itself would be easy. But this xsd file is
created automatically by nantschema task. So we need to find a way to
resolve this there. But this was to much effort for me and I stopped in
validating my build files with other tools than nant itself.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3058913 ] xml schema for description is invalid

2011-07-07 Thread SourceForge.net

Bugs item #3058913, was opened at 2010-09-03 09:51
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: owl128 (owl128)
Assigned to: Nobody/Anonymous (nobody)
Summary: xml schema for description is invalid

Initial Comment:
example for a build file:
  project xmlns=http://nant.sf.net/release/0.91-alpha2/nant.xsd; name=a
descriptionmy description/description
  /project
This will note the text between the description tags as invalid. 

I suggest to fix the content of nant.xsd file by one of the followings:

Replace: xs:complexType name=NAnt.Core.Tasks.DescriptionTask
by  xs:complexType name=NAnt.Core.Tasks.DescriptionTask mixed=true

or

replace the occurrences of xs:element name=description 
type=nant:NAnt.Core.Tasks.DescriptionTask /
by  xs:element name=description type=xs:string /


--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-07-07 19:18

Message:
It's been awhile...

I took a look in the source and I think I got it.  It looks like an easy
fix.  One question, is there any other complex types that need this
modification?

--

Comment By: Sojourner ()
Date: 2011-07-07 14:27

Message:
rmboggs:

That would indeed shut it up - mixed=true is what you want to get a
complextype to accept text content. However as pointed out by dogu, the
schema is autogenerated. What is really needed is a change to the schema
task to get it to apply a mixed content model when it generates xsd types
for tasks, based on some criterion. Having only just viewed Nant source for
the first time today, I don't have a clear idea how that might be
accomplished.

The Description task doesn't appear to do anything; maybe it would be as
simple as adding a 'text' property to the description task, which should
appear as a 'text' attribute in the build file? NAnt by convention seems
not to use element content to express very much at all.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2010-09-12 21:39

Message:
I'm trying to get familiar with xsd in general.  From what I can see, the
closest I can get to the mixed is with this:

  xs:complexType name=Target mixed=true
xs:choice minOccurs=0 maxOccurs=unbounded
  xs:complexType name=NAnt.Core.Tasks.DescriptionTask

however, I don't know if that will resolve this issue.

Thanks,
Ryan

--

Comment By: Dominik Guder (dogu)
Date: 2010-09-05 13:58

Message:
Hi, 

I stubled about this long time ago. There are some more tasks like the
echo task if I remember correctly. 
Changing this in xsd file itself would be easy. But this xsd file is
created automatically by nantschema task. So we need to find a way to
resolve this there. But this was to much effort for me and I stopped in
validating my build files with other tools than nant itself.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3058913 ] xml schema for description is invalid

2011-07-07 Thread SourceForge.net

Bugs item #3058913, was opened at 2010-09-03 09:51
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: owl128 (owl128)
Assigned to: Nobody/Anonymous (nobody)
Summary: xml schema for description is invalid

Initial Comment:
example for a build file:
  project xmlns=http://nant.sf.net/release/0.91-alpha2/nant.xsd; name=a
descriptionmy description/description
  /project
This will note the text between the description tags as invalid. 

I suggest to fix the content of nant.xsd file by one of the followings:

Replace: xs:complexType name=NAnt.Core.Tasks.DescriptionTask
by  xs:complexType name=NAnt.Core.Tasks.DescriptionTask mixed=true

or

replace the occurrences of xs:element name=description 
type=nant:NAnt.Core.Tasks.DescriptionTask /
by  xs:element name=description type=xs:string /


--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-07-07 21:31

Message:
Nevermind, I set it up so setting more tasks with the mixed attribute is
very easy.  Will commit fix shortly.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-07-07 19:18

Message:
It's been awhile...

I took a look in the source and I think I got it.  It looks like an easy
fix.  One question, is there any other complex types that need this
modification?

--

Comment By: Sojourner ()
Date: 2011-07-07 14:27

Message:
rmboggs:

That would indeed shut it up - mixed=true is what you want to get a
complextype to accept text content. However as pointed out by dogu, the
schema is autogenerated. What is really needed is a change to the schema
task to get it to apply a mixed content model when it generates xsd types
for tasks, based on some criterion. Having only just viewed Nant source for
the first time today, I don't have a clear idea how that might be
accomplished.

The Description task doesn't appear to do anything; maybe it would be as
simple as adding a 'text' property to the description task, which should
appear as a 'text' attribute in the build file? NAnt by convention seems
not to use element content to express very much at all.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2010-09-12 21:39

Message:
I'm trying to get familiar with xsd in general.  From what I can see, the
closest I can get to the mixed is with this:

  xs:complexType name=Target mixed=true
xs:choice minOccurs=0 maxOccurs=unbounded
  xs:complexType name=NAnt.Core.Tasks.DescriptionTask

however, I don't know if that will resolve this issue.

Thanks,
Ryan

--

Comment By: Dominik Guder (dogu)
Date: 2010-09-05 13:58

Message:
Hi, 

I stubled about this long time ago. There are some more tasks like the
echo task if I remember correctly. 
Changing this in xsd file itself would be easy. But this xsd file is
created automatically by nantschema task. So we need to find a way to
resolve this there. But this was to much effort for me and I stopped in
validating my build files with other tools than nant itself.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3058913 ] xml schema for description is invalid

2011-07-07 Thread SourceForge.net

Bugs item #3058913, was opened at 2010-09-03 09:51
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.91-alpha2
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: owl128 (owl128)
Assigned to: Ryan Boggs (rmboggs)
Summary: xml schema for description is invalid

Initial Comment:
example for a build file:
  project xmlns=http://nant.sf.net/release/0.91-alpha2/nant.xsd; name=a
descriptionmy description/description
  /project
This will note the text between the description tags as invalid. 

I suggest to fix the content of nant.xsd file by one of the followings:

Replace: xs:complexType name=NAnt.Core.Tasks.DescriptionTask
by  xs:complexType name=NAnt.Core.Tasks.DescriptionTask mixed=true

or

replace the occurrences of xs:element name=description 
type=nant:NAnt.Core.Tasks.DescriptionTask /
by  xs:element name=description type=xs:string /


--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-07-07 21:59

Message:
Fix committed.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-07-07 21:31

Message:
Nevermind, I set it up so setting more tasks with the mixed attribute is
very easy.  Will commit fix shortly.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-07-07 19:18

Message:
It's been awhile...

I took a look in the source and I think I got it.  It looks like an easy
fix.  One question, is there any other complex types that need this
modification?

--

Comment By: Sojourner ()
Date: 2011-07-07 14:27

Message:
rmboggs:

That would indeed shut it up - mixed=true is what you want to get a
complextype to accept text content. However as pointed out by dogu, the
schema is autogenerated. What is really needed is a change to the schema
task to get it to apply a mixed content model when it generates xsd types
for tasks, based on some criterion. Having only just viewed Nant source for
the first time today, I don't have a clear idea how that might be
accomplished.

The Description task doesn't appear to do anything; maybe it would be as
simple as adding a 'text' property to the description task, which should
appear as a 'text' attribute in the build file? NAnt by convention seems
not to use element content to express very much at all.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2010-09-12 21:39

Message:
I'm trying to get familiar with xsd in general.  From what I can see, the
closest I can get to the mixed is with this:

  xs:complexType name=Target mixed=true
xs:choice minOccurs=0 maxOccurs=unbounded
  xs:complexType name=NAnt.Core.Tasks.DescriptionTask

however, I don't know if that will resolve this issue.

Thanks,
Ryan

--

Comment By: Dominik Guder (dogu)
Date: 2010-09-05 13:58

Message:
Hi, 

I stubled about this long time ago. There are some more tasks like the
echo task if I remember correctly. 
Changing this in xsd file itself would be easy. But this xsd file is
created automatically by nantschema task. So we need to find a way to
resolve this there. But this was to much effort for me and I stopped in
validating my build files with other tools than nant itself.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3058913group_id=31650

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-06-16 Thread Ryan Boggs
Hi,

Please see inline.

Thanks,
Ryan

On Jun 16, 2011, at 2:39 AM, Martin Aliger martin_ali...@gordic.cz wrote:

 Hi Ryan, sln file handling is some kind of broken since VS2005. They 
 only work with 2002/2003. I would not spend to much time for now in 
 sln file handling in VS2005 and up.
 Eww, makes sense.  Well, not to let my work go to waste, I think I know why
 it isn't working.  The plugins that contains the schema information for
 VS2005+ solution files (NAnt.MSBuild.dll) doesn't seem to be getting picked
 up during NAnt's plugin discovery phase.
 However, I have been having difficulty trying to locate where the plugin
 discovery phase occurs in NAnt to make sure that they are getting picked up.
 There is also the fact that the VS2005+ solution plugin classes are marked
 as internal but I am not sure how much of an impact that is making overall.
 
 Discovery mechanism was made by me and Gert some time ago. I could look into
 it...
Thanks Martin. I thought your names looked familiar. :)
 
 SolutionFactory.cs is main branching thingy. Providers itself are registred
 though Core's IPluginConsumer and ISolutionBuildProvider interfaces.
I see that and it seems to be working ok with the classes within the NAnt.VSNet 
assembly.  It just won't pickup the classes from the NAnt.MSBuild assembly.  If 
u can point me to where in the code that the solution task begins to search for 
plugins in external assemblies, I can research further as well.
 
 M.
 

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-06-16 Thread Martin Aliger
I just checked and it correctly resolves all the MSBuild providers on my
machine.
Maybe it is becouse I have NAnt.MSBuild.dll in same directory as NAnt.exe?
Maybe plugins do not resolve when in one of those Framework lib which is
default for MSBuild assembly atm (no idea why). Or perhaps the order in
which assemblies are loaded?

The registration is done in PluginScanner class from Core. All loaded types
should be send into that (via TypeFactory).

Btw: I noticed, the solution providers from MSBuild assembly got VSNet
namespace. Maybe it should be changed, for clarity.

Martin Aliger



-Original Message-
From: Ryan Boggs [mailto:rmbo...@gmail.com] 
Sent: Thursday, June 16, 2011 3:37 PM
To: Martin Aliger
Cc: Dominik Guder; nant-developers@lists.sourceforge.net
Subject: ***SPAM***BAR*** Re: [nant-dev] Updates to MSBuild  VSNet Tasks
Importance: Low

Hi,

Please see inline.

Thanks,
Ryan

On Jun 16, 2011, at 2:39 AM, Martin Aliger martin_ali...@gordic.cz
wrote:

 Hi Ryan, sln file handling is some kind of broken since VS2005. They 
 only work with 2002/2003. I would not spend to much time for now in 
 sln file handling in VS2005 and up.
 Eww, makes sense.  Well, not to let my work go to waste, I think I 
 know why
 it isn't working.  The plugins that contains the schema information 
 for
 VS2005+ solution files (NAnt.MSBuild.dll) doesn't seem to be getting 
 VS2005+ picked
 up during NAnt's plugin discovery phase.
 However, I have been having difficulty trying to locate where the 
 plugin
 discovery phase occurs in NAnt to make sure that they are getting picked
up.
 There is also the fact that the VS2005+ solution plugin classes are 
 marked as internal but I am not sure how much of an impact that is making
overall.
 
 Discovery mechanism was made by me and Gert some time ago. I could 
 look into it...
Thanks Martin. I thought your names looked familiar. :)
 
 SolutionFactory.cs is main branching thingy. Providers itself are 
 registred though Core's IPluginConsumer and ISolutionBuildProvider
interfaces.
I see that and it seems to be working ok with the classes within the
NAnt.VSNet assembly.  It just won't pickup the classes from the NAnt.MSBuild
assembly.  If u can point me to where in the code that the solution task
begins to search for plugins in external assemblies, I can research further
as well.
 
 M.
 


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] ***SPAM***BAR*** Re: Updates to MSBuild VSNet Tasks

2011-06-16 Thread Martin Aliger
Testing this bug, I found another one. Change OutputPath (MSBuildProject
class) implementation in recent patches to this one:

internal string OutputPath
{
get {
if (OutputDir != null) return OutputDir.FullName;
return _msproj.GetEvaluatedProperty(OutputPath);
}
}

Solutions without explicitlly set OutputPath failed. (all mine test cases
got OutputPath set).

Martin 


-Original Message-
From: Ryan Boggs [mailto:rmbo...@gmail.com] 
Sent: Thursday, June 16, 2011 3:37 PM
To: Martin Aliger
Cc: Dominik Guder; nant-developers@lists.sourceforge.net
Subject: ***SPAM***BAR*** Re: [nant-dev] Updates to MSBuild  VSNet Tasks
Importance: Low

Hi,

Please see inline.

Thanks,
Ryan

On Jun 16, 2011, at 2:39 AM, Martin Aliger martin_ali...@gordic.cz
wrote:

 Hi Ryan, sln file handling is some kind of broken since VS2005. They 
 only work with 2002/2003. I would not spend to much time for now in 
 sln file handling in VS2005 and up.
 Eww, makes sense.  Well, not to let my work go to waste, I think I 
 know why
 it isn't working.  The plugins that contains the schema information 
 for
 VS2005+ solution files (NAnt.MSBuild.dll) doesn't seem to be getting 
 VS2005+ picked
 up during NAnt's plugin discovery phase.
 However, I have been having difficulty trying to locate where the 
 plugin
 discovery phase occurs in NAnt to make sure that they are getting picked
up.
 There is also the fact that the VS2005+ solution plugin classes are 
 marked as internal but I am not sure how much of an impact that is making
overall.
 
 Discovery mechanism was made by me and Gert some time ago. I could 
 look into it...
Thanks Martin. I thought your names looked familiar. :)
 
 SolutionFactory.cs is main branching thingy. Providers itself are 
 registred though Core's IPluginConsumer and ISolutionBuildProvider
interfaces.
I see that and it seems to be working ok with the classes within the
NAnt.VSNet assembly.  It just won't pickup the classes from the NAnt.MSBuild
assembly.  If u can point me to where in the code that the solution task
begins to search for plugins in external assemblies, I can research further
as well.
 
 M.
 


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] ***SPAM***BAR*** Re: Updates to MSBuild VSNet Tasks

2011-06-16 Thread Ryan Boggs
Noted, I will update the patch after work today.  I need to make a couple of 
tweaks to the patch file anyway so this is good timing.

Thanks,
Ryan

On Jun 16, 2011, at 7:31 AM, Martin Aliger martin_ali...@gordic.cz wrote:

 Testing this bug, I found another one. Change OutputPath (MSBuildProject
 class) implementation in recent patches to this one:
 
internal string OutputPath
{
get {
if (OutputDir != null) return OutputDir.FullName;
return _msproj.GetEvaluatedProperty(OutputPath);
}
}
 
 Solutions without explicitlly set OutputPath failed. (all mine test cases
 got OutputPath set).
 
 Martin 
 
 
 -Original Message-
 From: Ryan Boggs [mailto:rmbo...@gmail.com] 
 Sent: Thursday, June 16, 2011 3:37 PM
 To: Martin Aliger
 Cc: Dominik Guder; nant-developers@lists.sourceforge.net
 Subject: ***SPAM***BAR*** Re: [nant-dev] Updates to MSBuild  VSNet Tasks
 Importance: Low
 
 Hi,
 
 Please see inline.
 
 Thanks,
 Ryan
 
 On Jun 16, 2011, at 2:39 AM, Martin Aliger martin_ali...@gordic.cz
 wrote:
 
 Hi Ryan, sln file handling is some kind of broken since VS2005. They 
 only work with 2002/2003. I would not spend to much time for now in 
 sln file handling in VS2005 and up.
 Eww, makes sense.  Well, not to let my work go to waste, I think I 
 know why
 it isn't working.  The plugins that contains the schema information 
 for
 VS2005+ solution files (NAnt.MSBuild.dll) doesn't seem to be getting 
 VS2005+ picked
 up during NAnt's plugin discovery phase.
 However, I have been having difficulty trying to locate where the 
 plugin
 discovery phase occurs in NAnt to make sure that they are getting picked
 up.
 There is also the fact that the VS2005+ solution plugin classes are 
 marked as internal but I am not sure how much of an impact that is making
 overall.
 
 Discovery mechanism was made by me and Gert some time ago. I could 
 look into it...
 Thanks Martin. I thought your names looked familiar. :)
 
 SolutionFactory.cs is main branching thingy. Providers itself are 
 registred though Core's IPluginConsumer and ISolutionBuildProvider
 interfaces.
 I see that and it seems to be working ok with the classes within the
 NAnt.VSNet assembly.  It just won't pickup the classes from the NAnt.MSBuild
 assembly.  If u can point me to where in the code that the solution task
 begins to search for plugins in external assemblies, I can research further
 as well.
 
 M.
 
 

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3317505 ] nunit2 task does not run interal test fixtures

2011-06-16 Thread SourceForge.net
Bugs item #3317505, was opened at 2011-06-16 22:02
Message generated for change (Tracker Item Submitted) made by indr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Indr (indr)
Assigned to: Nobody/Anonymous (nobody)
Summary: nunit2 task does not run interal test fixtures

Initial Comment:
I switched from TeamCitys NUnit Launcher back to the nunit2 task and noticed 
after several hours of searching why lesser tests are run that the test 
fixtures must not be internal, they have to be public. Quite annoying because 
NUnit states on their home page: a test fixture class may be public, protected, 
private or internal.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3317505 ] nunit2 task does not run internal test fixtures

2011-06-16 Thread SourceForge.net
Bugs item #3317505, was opened at 2011-06-16 22:02
Message generated for change (Comment added) made by indr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Indr (indr)
Assigned to: Nobody/Anonymous (nobody)
Summary: nunit2 task does not run internal test fixtures

Initial Comment:
I switched from TeamCitys NUnit Launcher back to the nunit2 task and noticed 
after several hours of searching why lesser tests are run that the test 
fixtures must not be internal, they have to be public. Quite annoying because 
NUnit states on their home page: a test fixture class may be public, protected, 
private or internal.

--

Comment By: Indr (indr)
Date: 2011-06-16 22:03

Message:
Fixed typo in summary.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3317505 ] nunit2 task does not run internal test fixtures

2011-06-16 Thread SourceForge.net
Bugs item #3317505, was opened at 2011-06-16 22:02
Message generated for change (Comment added) made by dogu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: indr (indr)
Assigned to: Nobody/Anonymous (nobody)
Summary: nunit2 task does not run internal test fixtures

Initial Comment:
I switched from TeamCitys NUnit Launcher back to the nunit2 task and noticed 
after several hours of searching why lesser tests are run that the test 
fixtures must not be internal, they have to be public. Quite annoying because 
NUnit states on their home page: a test fixture class may be public, protected, 
private or internal.

--

Comment By: Dominik Guder (dogu)
Date: 2011-06-16 22:27

Message:
Nant's nunit2 task uses nunit 2.2.8 and class visibility was opened in
2.5.3 first.
It's on our tasklist to either update nunit or provide some kind of
dynamic loading. But for now my only idea is to use exec task and run
nunit-console. This is also true if you need to test .net 4.0 asseblies.
IMHO this is not possible with 2.2.8.

--

Comment By: indr (indr)
Date: 2011-06-16 22:03

Message:
Fixed typo in summary.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3317505 ] nunit2 task does not run internal test fixtures

2011-06-16 Thread SourceForge.net
Bugs item #3317505, was opened at 2011-06-16 13:02
Message generated for change (Comment added) made by rmboggs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: indr (indr)
Assigned to: Nobody/Anonymous (nobody)
Summary: nunit2 task does not run internal test fixtures

Initial Comment:
I switched from TeamCitys NUnit Launcher back to the nunit2 task and noticed 
after several hours of searching why lesser tests are run that the test 
fixtures must not be internal, they have to be public. Quite annoying because 
NUnit states on their home page: a test fixture class may be public, protected, 
private or internal.

--

Comment By: Ryan Boggs (rmboggs)
Date: 2011-06-16 13:39

Message:
Just to add on to Dominik's comment below...
I did look into upgrading NUnit on NAnt to something more current (2.5.9+)
recently but after looking into this, I realized that such an upgrade would
require a significant rewrite of the nunit NAnt task since much of the
underlying NUnit API has changed drastically since 2.2.  Like Dominik said,
plans are in the works but they are on hold for the time being.

--

Comment By: Dominik Guder (dogu)
Date: 2011-06-16 13:27

Message:
Nant's nunit2 task uses nunit 2.2.8 and class visibility was opened in
2.5.3 first.
It's on our tasklist to either update nunit or provide some kind of
dynamic loading. But for now my only idea is to use exec task and run
nunit-console. This is also true if you need to test .net 4.0 asseblies.
IMHO this is not possible with 2.2.8.

--

Comment By: indr (indr)
Date: 2011-06-16 13:03

Message:
Fixed typo in summary.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3317505group_id=31650

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-06-15 Thread Ryan Boggs
Hi,

Thanks for your reply.  Inline comments below.

On Wed, Jun 15, 2011 at 2:05 AM, Dominik Guder o...@guder.org wrote:
 Am 14.06.2011 05:14, schrieb Ryan Boggs:
 Hi,

 Just an update.  I'm having issues with trying to process solution
 files from .NET 2.0 and above with the solution task.  I'm still
 taking a look at it but it seems that the VS20** plugins in the
 NAnt.MSBuild assembly are not being picked up by the solution task.
 I'll keep checking...


 Hi Ryan, sln file handling is some kind of broken since VS2005. They
 only work with 2002/2003. I would not spend to much time for now in sln
 file handling in VS2005 and up.
Eww, makes sense.  Well, not to let my work go to waste, I think I
know why it isn't working.  The plugins that contains the schema
information for VS2005+ solution files (NAnt.MSBuild.dll) doesn't seem
to be getting picked up during NAnt's plugin discovery phase.
However, I have been having difficulty trying to locate where the
plugin discovery phase occurs in NAnt to make sure that they are
getting picked up.  There is also the fact that the VS2005+ solution
plugin classes are marked as internal but I am not sure how much of an
impact that is making overall.

 The common approach I see is to use solution task with included
 projects, or use msbuild task from nantcontrib (eg. for WiX projects).
I see.  I went straight for the solution files first.  That may have
been my problem.

 Basically I think we should provide a basic way to build projects up to
 net-4.0 and add extended features like target version compiling and sln
 file handling when 1.x runtime support was dropped.
Ok, I'm assuming that the statement above fills in the basics, is that correct?

 I got my sample compiled against the correct framework recently. I think
 this makes a step further to release 0.91
Are you saying that you are ok with Martin's patch now?  Or did you
have to make some mods?

Thanks,
Ryan

 So far
 Dominik



 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)

 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-06-13 Thread Ryan Boggs
Hi,

Just an update.  I'm having issues with trying to process solution
files from .NET 2.0 and above with the solution task.  I'm still
taking a look at it but it seems that the VS20** plugins in the
NAnt.MSBuild assembly are not being picked up by the solution task.
I'll keep checking...

Thanks,
Ryan

On Tue, Jun 7, 2011 at 5:21 AM, Martin Aliger martin_ali...@gordic.cz wrote:
 Hi,


In addition I had issues to get solution task with included projects and
 without soultionfile property set running. Maybe I did something wrong.
(I used only vb projects)
 That should definitelly work. In fact, I would be less suprised if some
 problems arise in sln handling, since we are using/testing bunch of csproj's
 without solution itself.
 Maybe that vbprojs need some tweaks.

On question: Should it be possible to compile for another targetframework?
 I think this should be handled.
 It should be possible, but I found some problems with it. And since I do not
 use it myself, I didnt test extensivelly. As Ryan wrote, BuildEngine
 wrappers was introduced becouse of it as well as some dynamic loads, dynamic
 listener etc.
 Some testcases for crosscompiling would be great. I think, that hosting
 Framework should be higher that the target, but perhaps opposite could work
 as well. Msbuild4 would need clr4 though.
 But generally, crosscompiling should be possible.

 Martin



 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3314793 ] WPF 4 Support

2011-06-10 Thread SourceForge.net
Bugs item #3314793, was opened at 2011-06-10 19:36
Message generated for change (Tracker Item Submitted) made by gaulive
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3314793group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.91-alpha2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Olivier Gaudefroy (gaulive)
Assigned to: Nobody/Anonymous (nobody)
Summary: WPF 4 Support

Initial Comment:
The current alpa-release (0.91 R2) doesn't support correctly WPF references.
I solved this issue by adding those items in my nant.exe.config file.

include name=WPF/NaturalLanguage6.dll /
include name=WPF/NlsData0009.dll /
include name=WPF/NlsLexicons0009.dll /
include name=WPF/PenIMC.dll /
include name=WPF/PresentationCore.dll /
include name=WPF/PresentationFramework.Aero.dll /
include name=WPF/PresentationFramework.Classic.dll /
include name=WPF/PresentationFramework.dll /
include name=WPF/PresentationFramework.Luna.dll /
include name=WPF/PresentationFramework.Royale.dll /
include name=WPF/PresentationHost_v0400.dll /
include name=WPF/PresentationNative_v0400.dll /
include name=WPF/PresentationUI.dll /
include name=WPF/ReachFramework.dll /
include name=WPF/System.Printing.dll /
include name=WPF/System.Speech.dll /
include name=WPF/System.Windows.Input.Manipulations.dll /
include name=WPF/System.Windows.Presentation.dll /
include name=WPF/UIAutomationClient.dll /
include name=WPF/UIAutomationClientsideProviders.dll /
include name=WPF/UIAutomationProvider.dll /
include name=WPF/UIAutomationTypes.dll /
include name=WPF/WindowsBase.dll /
include name=WPF/WindowsFormsIntegration.dll /
include name=WPF/wpfgfx_v0400.dll /

Hope this helps !
Best regards,
Olivier GAUDEFROY

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3314793group_id=31650

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to MSBuild VSNet Tasks

2011-06-06 Thread Ryan Boggs
Hmm,

On Mon, Jun 6, 2011 at 10:28 PM, Dominik Guder o...@guder.org wrote:
 Am 07.06.2011 01:53, schrieb Ryan Boggs:
 Hi,

 Martin seems good with the diff I posted.  Has anyone else reviewed it
 since I posted it last saturday?  The link to the patch is below.


 Yes, I did.

 One point it is not working with vb solutions, since
 PropertyGroup/ProductVersion exists but is empty in vb projects.
 But this could be fixed easyly.
Is this MSBuild or VSNet tasks?

 In addition I had issues to get solution task with included projects and
 without soultionfile property set running. Maybe I did something wrong.
 (I used only vb projects)
I'll check into this.  However, I only test with C# really.

 On question: Should it be possible to compile for another
 targetframework? I think this should be handled.
Yes it should.  I believe that is the reason why that new
NAnt.MSBuild.BuildEngine tasks were included.  To handle the cross
compile.

Thanks,
Ryan

 So far Dominik

 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)

 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Back to atlassian code review?

2011-06-03 Thread Ryan Boggs
Hi,

On Jun 2, 2011, at 2:28 PM, Dominik Guder o...@guder.org wrote:

 Am 02.06.2011 18:28, schrieb Ryan Boggs:
 Hi,
 
 Has anyone taken a look at the msbuild/vsnet changes that was posted here 
 last week?  Please advise.
 
 Thanks,
 Ryan
 
 
 Hi,
 
 I'm trying to compile this but I have still some issues getting it done 
 in net 2.0++
Ok, thanks.  I'll take a look at it tonight.

Thanks,
Ryan
 
 So far Dominik
 -- 
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)
 
 --
 Simplify data backup and recovery for your virtual environment with vRanger.
 Installation's a snap, and flexible recovery options mean your data is safe,
 secure and there when you need it. Discover what all the cheering's about.
 Get your free trial download today. 
 http://p.sf.net/sfu/quest-dev2dev2 
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Back to atlassian code review?

2011-06-02 Thread Dominik Guder
Am 02.06.2011 18:28, schrieb Ryan Boggs:
 Hi,

 Has anyone taken a look at the msbuild/vsnet changes that was posted here 
 last week?  Please advise.

 Thanks,
 Ryan


Hi,

I'm trying to compile this but I have still some issues getting it done 
in net 2.0++

So far Dominik
-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Back to atlassian code review?

2011-05-25 Thread Dominik Guder
Hi Ryan,

yes of course go ahead. I might try to put my CreateInstance proposal 
to fisheye too.

So far Dominik

Am 25.05.2011 02:52, schrieb Ryan Boggs:
 Hi,

 Any thoughts on this?  I have a handful of diffs from Martin Aliger
 that I would like you guys to review soon.

 Thanks,
 Ryan

 On Sun, May 22, 2011 at 1:38 PM, Ryan Boggsrmbo...@gmail.com  wrote:
 Hi,

 Since we are a group of more than 2, should we consider going back to
 using the atlassian code review that Charles setup awhile ago?  I know
 Gert had issues with it in the past but I do still see value to having
 something like this.  Thoughts?

 https://fisheye1.atlassian.com/

-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Back to atlassian code review?

2011-05-24 Thread Ryan Boggs
Hi,

Any thoughts on this?  I have a handful of diffs from Martin Aliger
that I would like you guys to review soon.

Thanks,
Ryan

On Sun, May 22, 2011 at 1:38 PM, Ryan Boggs rmbo...@gmail.com wrote:
 Hi,

 Since we are a group of more than 2, should we consider going back to
 using the atlassian code review that Charles setup awhile ago?  I know
 Gert had issues with it in the past but I do still see value to having
 something like this.  Thoughts?

 https://fisheye1.atlassian.com/

 Thanks,
 Ryan


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] cvs task change thoughts

2011-05-22 Thread Ryan Boggs
Hi all,

This is regarding the cvs task in NAnt today.  I want to run this by
everyone to get everyone's take before anything is done.

I am thinking about altering the cvs task to use the command line
programs rather than using it's current setup with sharpcvslib for a
couple of reasons:
 * sharpcvslib has not been updated/maintained in quite some time.
(Last official release was over 6 years ago and there hasn't been any
commit in at least a year if I am reading it right)
 * The latest sharpcvslib bin seems to be built with log4net 1.2.9.
This causes problems when trying to update NAnt to use log4net 1.2.10
on Mono. (This is the main reason why NAnt is still using log4net
1.2.9)

This sort of update would require the user to have cvs installed on
their machine.  This isn't much of an issue for those running Mono on
a *nix machine but Windows users would need to install it via cygwin
(unless there is a native Windows program that can be run at the
command line).

So I am interested in thoughts/feedback from users, especially those
who use the cvs task.

Thanks,
Ryan

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-3306119 ] FileIOPermission exception

2011-05-22 Thread SourceForge.net
Bugs item #3306119, was opened at 2011-05-23 07:30
Message generated for change (Tracker Item Submitted) made by q42jaap
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3306119group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jaap Taal (q42jaap)
Assigned to: Nobody/Anonymous (nobody)
Summary: FileIOPermission exception

Initial Comment:
On startup of nant.exe from 0.92 alpha I get the following error:
Unhandled Exception: System.TypeInitializationException: The type initializer 
for 'NAnt.Console.ConsoleStub' threw an ex
ception. --- System.Security.SecurityException: Request for the permission of 
type 'System.Security.Permissions.FileIOP
ermission, mscorlib, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, 
StackCrawlMark stackMark, Boolean isPermSet)
   at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, 
StackCrawlMark stackMark)
   at System.Security.CodeAccessPermission.Demand()
   at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
   at System.AppDomain.get_BaseDirectory()
   at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly 
sourceAssembly, ILoggerRepository targetRepository)
   at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly 
assembly, ILoggerRepository repository)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly 
repositoryAssembly, Type repositoryType, String r
epositoryName, Boolean readAssemblyAttributes)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly 
repositoryAssembly, Type repositoryType)
   at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly 
repositoryAssembly)
   at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String 
name)
   at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name)
   at log4net.LogManager.GetLogger(Type type)
   at NAnt.Console.ConsoleStub..cctor()
   --- End of inner exception stack trace ---
   at NAnt.Console.ConsoleStub.Main(String[] args)
Press any key to continue . . .


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=3306119group_id=31650

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] reference assemblies and net-4.0

2011-05-19 Thread Richard Birkby
NHibernate solved that by building a logging proxy into NHibernate.dll
and then dynamically binding to log4net.

Are the licenses compatible? You could borrow their implementation.

Richard

On 18 May 2011, at 23:26, Ryan Boggs rmbo...@gmail.com wrote:

 The problem isn't NAnt targeting net-4.0-client.  The problem is that
 one or more of NAnt's dependencies doesn't run well on the client
 profile.  For example, log4net depends on System.Web which isn't
 included in the client profile.  It's already been reported in NAnt's
 bug report while back if I remember right.

 Thanks,
 Ryan

 2011/5/18 Martin Aliger martin_ali...@gordic.cz:
 I do not see problem _targeting_ net-4.0-client Framework. No real need to
 be hosted in that, imho.

 Martin

 -Original Message-
 From: Ryan Boggs [mailto:rmbo...@gmail.com]
 Sent: Wednesday, May 18, 2011 9:52 PM
 To: Martin Aliger
 Cc: nant-developers@lists.sourceforge.net
 Subject: Re: [nant-dev] reference assemblies and net-4.0

 Hi,

 See inline.

 On Wed, May 18, 2011 at 9:19 AM, Martin Aliger martin_ali...@gordic.cz
 wrote:
 I miss some assemblies in this list (latest nightly) for net-4.0.
 Mostly WindowsBase and PresentationFramework. Looks like the list is not
 complete.
 Perhaps those should be added with wildcard?
 I need to ask about the wildcards in app.config but in the meantime, I went
 ahead and committed the two files in question to the app.config file.  I'll
 perform another nightly build either tonight or tomorrow for further
 testing.



 Also there is something called NET 4.0 Client Profile. If we want to
 introduce this as separate Framework (targettable), there is
 different path for those Reference Assemblies
 (%ProgramFiles%\Reference
 Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client)
 This was brought up in the past.  I think the big issue with this right now
 (if I remember right) is that log4net isn't currently setup for the client
 profiles.  I recently posted a log4net update I received on this issue to
 the nant-dev list but I am not sure if anything was done on their side yet.
 In the meantime, anyone have any thoughts on the matter?




 reference-assemblies
 basedir=${environment::get-folder-path('ProgramFiles')}/Reference
 Assemblies/Microsoft/Framework/.NETFramework/v4.0


 include name=Microsoft.Build.Conversion.v4.0.dll/


 include name=Microsoft.Build.dll/


 include name=Microsoft.Build.Engine.dll/


 include name=Microsoft.Build.Framework.dll/


 include name=Microsoft.Build.Tasks.v4.0.dll/


 include name=Microsoft.Build.Utilities.v4.0.dll/


 include name=Microsoft.CSharp.dll/


 include name=Microsoft.JScript.dll/


 include name=Microsoft.VisualBasic.Compatibility.Data.dll/


 include name=Microsoft.VisualBasic.Comptatibility.dll/


 include name=Microsoft.VisualBasic.dll/


 include name=Microsoft.VisualC.dll/


 include name=Microsoft.VisualC.STLCLR.dll/


 include name=mscorlib.dll/


 include name=PresentationBuildTasks.dll/


 include name=PresentationCore.dll/

 include name=WindowsBase.dll/

 include name=PresentationFramework.dll/
 These two entries were just committed.

 include name=PresentationFramework.Aero.dll/


 include name=PresentationFramework.Classic.dll/


 include name=PresentationFramework.Luna.dll/


 include name=PresentationFramework.Royale.dll/





 Martin

 Thanks,
 Ryan

 
 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers



 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
nant-developers mailing list
nant-developers@lists.sourceforge.net

Re: [nant-dev] reference assemblies and net-4.0

2011-05-19 Thread Ryan Boggs
Hi,

See inline...

On Wed, May 18, 2011 at 3:31 PM, Dominik Guder o...@guder.org wrote:
 Am 18.05.2011 22:27, schrieb Martin Aliger:
 I do not see problem _targeting_ net-4.0-client Framework. No real need to
 be hosted in that, imho.

 Martin


 Hi,

 +1. IMHO we could require full .net 4.0 install for runtime since we
 need SDK anyways.
I think this could be a short term solution for the time being.  If I
am not mistaken, I believe there was interest in supporting the client
profiles in NAnt (from Gert I believe) so it could be explored.
However, I don't think it will be possible until .net 1.* runtime
support is dropped from NAnt.

On a side note, it doesn't look like Microsoft includes MSBuild in the
client profiles..
http://msdn.microsoft.com/en-us/library/cc656912.aspx

 Besides of this it is easy to build your own log4net and remove web
 related Appenders. I did this as a proof of concept. And I'm wondering
 why nobody is going to fix this.
I'm not sure why either.  It doesn't seem like any of the log4net
contributors are doing much with that project anymore.  Gert, please
correct me if I am wrong since I see you listed as one of the active
committers on their site.

 So far
 Dominik


 --
 The answer to the great question of life,
 the universe and everything is 42 (Douglas Adams)

 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 nant-developers mailing list
 nant-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nant-developers


Thanks,
Ryan

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


  1   2   3   4   5   6   7   8   9   10   >