[nant-dev] [ nant-Bugs-1143845 ] Solution Task does not properly excludeprojects.

2005-02-18 Thread SourceForge.net
Bugs item #1143845, was opened at 2005-02-18 10:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1143845group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: J. De Lorme (delormej)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution Task does not properly excludeprojects.

Initial Comment:
This is a duplicate of a bug (#901232) that was opened 
in Feb 2004 which doesn't seem to be resolved in 0.85-
rc1:  

Originally Submitted By: Randall Klingelheber 
(rklingelheber)

Initial Comment:
When the solution task attempts to load projects, it 
does not correctly match the projects read in from the 
solution file with the ExcludeProjects fileset. The result, 
of course, is that projects are not excluded.

**It does not take into account the fact that paths 
read in from the solution file are relative paths and the 
FileSet FileNames are full paths.

For example, if your Solution.sln has a relative path such 
as this:

Project({FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}) 
= Util, ..\Common\Util\Util.csproj

and your solution task has this:
excludeprojects
 include name=..\Common\Util\Util.csproj /
/excludeprojects

When run, NAnt tries to do an exact string compare 
against:

c:\[project-root]\Common\Util\Util.csproj to:
c:\[project-root]\Solution\..\Common\Util\Util.csproj

and does not exclude it.


--

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] nunit2 task

2005-02-18 Thread Giuseppe Greco
I all,

I've just installed the very last version of mono and
I've some troubles with the nuint2 task...

Here below is the error message I get:


** (/usr/local/share/NAnt/bin/NAnt.exe:15021): WARNING **: Could not
find assembly nunit.framework, references
from /home/genius/projects/gekkota/build/
  gekkota-0.4-debug/lib/Gekkota.Tests.dll (assemblyref_index=2)
 Major/Minor: 2,2
 Build:   0,0
 Token:   96d09a1eb7f44a77
System error: No such file or directory


BUILD FAILED

/home/genius/projects/gekkota/src/Gekkota/Gekkota.build(207,6):
Failure executing test(s). If you assembly is not built using NUnit
version 2.2.0.0, then ensure you have redirected assembly bindings.
Consult the documentation of the nunit2 task for more information.
Assembly 2 referenced from
assembly /home/genius/projects/gekkota/build/
  gekkota-0.4-debug/lib/Gekkota.Tests.dll not found

Total time: 5.7 seconds.


Note that I've copied all the nunit*.dll assemblies from
/usr/local/share/NAnt/bin/lib/mono/2.0 to /usr/lib/mono/2.0, and
as you can see here below, my build file should be correct:

...
property
  name=target.framework
  value=${framework::get-target-framework()} /
property
  name=assembly.dir
  value=${framework::get-assembly-directory(target.framework)} /
...
target
  name=test
  depends=build
  description=Tests the current configuration
  csc
target=library
output=${build.dir}/lib/${assembly}.Tests.dll
sources
  basedir=${assembly}.Tests
  failonempty=true
  include name=*.cs /
/sources
references
  include name=${build.dir}/lib/${assembly}.dll /
  include name=${assembly.dir}/nunit.framework.dll /
/references
  /csc
  nunit2
formatter type=Plain /
formatter
  type=Xml
  usefile=true
  extension=.xml
  outputdir=${build.dir}/test-results /
  test
assemblyname=${build.dir}/lib/${assembly}.Tests.dll /
  /nunit2
/target


Any idea?
j3d.
-- 

Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)79 602 99 27
email:  [EMAIL PROTECTED]
web:www.agamura.com




---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers