[nant-dev] Solution task problems

2004-01-25 Thread Jia Bin

hi,
I'm trying to build a solution and met the following problem. 

BUILD FAILED

INTERNAL ERROR

System.IO.FileLoadException: Assembly gemgeocurtainm.dll already loaded
without additional security evidenc
.
 File
name: gemgeocurtainm.dll
 Server
stack trace:

at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Eviden
e assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint,
StackCrawlMark stackMark)

at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean stringized, Evidence assemb
ySecurity, StackCrawlMark stackMark)

at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence
securityEvidence, Byte[] hashValue,
AssemblyHashAlgorithm hashAlgorithm)

at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence
securityEvidence)

at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTask, String licenseFile) in D
\Work\NAnt\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 251

at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase
mb, Object[] args
Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[] outArgs)

at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr,
oolean fExecuteInContext)

Exception rethrown at [0]:

at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)

at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData
msgData, Int32 type)

at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTask, String licenseFile) in D
\Work\NAnt\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 210

at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() in
D:\Work\NAnt\src\NAnt.DotNet\Tasks\LicenseTask.cs:line
191

at NAnt.Core.Task.Execute() in D:\Work\NAnt\src\NAnt.Core\Task.cs:line
151

at NAnt.VSNet.Resource.CompileLicx() in
D:\Work\NAnt\src\NAnt.VSNet\Resource.cs:line 165

at NAnt.VSNet.Resource.Compile(ConfigurationSettings
configurationSettings, Boolean showCommands) in D:\
ork\NAnt\src\NAnt.VSNet\Resource.cs:line 73

at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments, String strLogFile, Boolean
bVerbose, Boolean bShowCommands) in
D:\Work\NAnt\src\NAnt.VSNet\Project.cs:line 355

at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArguments, String logFile, Boolea
verbose, Boolean showCommands) in
D:\Work\NAnt\src\NAnt.VSNet\Solution.cs:line 279

at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
D:\Work\NAnt\src\NAnt.VSNet\Tasks\SolutionTask.cs:line
335

at NAnt.Core.Task.Execute() in D:\Work\NAnt\src\NAnt.Core\Task.cs:line
151

at NAnt.Core.Target.Execute() in
D:\Work\NAnt\src\NAnt.Core\Target.cs:line 217

at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in D:\Work\NAnt\src\NAnt.Core
Project.cs:line 772

at NAnt.Core.Project.Execute() in
D:\Work\NAnt\src\NAnt.Core\Project.cs:line 734

at NAnt.Core.Project.Run() in D:\Work\NAnt\src\NAnt.Core\Project.cs:line
797

Regards
Jia Bin
-
BGC-PET:
http://bgc-pet.fea.slb.com/Gallery/
Tel: +86 10 6279 9009 (ext.6239)
Fax: +86 10 6279 3733



[nant-dev] 0.8.4 build error

2004-01-25 Thread Dmitry Ponomarenko
Hello.

At this morning I download newely version of Nant (0.8.4). When I try
to build it I get error. I copy build log bottom:

NAnt 0.84 (Build 0.84.1435.0; net-1.0.win32; rc 1; 12/6/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/tools/AutoTest.Net/Nant/NAnt.build
Target(s) specified: test 
 [echo] Using 'net-1.0' framework on 'win32' platform.

init:


debug:


set-runtime-configuration:


set-net-1.0-runtime-configuration:


set-runtime-configuration-flags:


set-net-1.0-runtime-configuration:


set-runtime-configuration-flags:


build:

 [echo] Build Directory is 
C:\tools\AutoTest.Net\Nant/build/net-1.0.win32/nant-0.84-debug
 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.Core\NAnt.Core.build build

Buildfile: file:///C:/tools/AutoTest.Net/Nant/src/NAnt.Core/NAnt.Core.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0.1 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.Console\NAnt.Console.build build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/src/NAnt.Console/NAnt.Console.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.DotNet\NAnt.DotNet.build build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/src/NAnt.DotNet/NAnt.DotNet.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.Zip\NAnt.Zip.build build

Buildfile: file:///C:/tools/AutoTest.Net/Nant/src/NAnt.Zip/NAnt.Zip.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.NUnit\NAnt.NUnit.build build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/src/NAnt.NUnit/NAnt.NUnit.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0.1 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.SourceControl\NAnt.SourceControl.build 
build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/src/NAnt.SourceControl/NAnt.SourceControl.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.Win32\NAnt.Win32.build build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/src/NAnt.Win32/NAnt.Win32.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0.1 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.VisualCpp\NAnt.VisualCpp.build build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/src/NAnt.VisualCpp/NAnt.VisualCpp.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\src\NAnt.VSNet\NAnt.VSNet.build build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/src/NAnt.VSNet/NAnt.VSNet.build
Target(s) specified: build 

build:


BUILD SUCCEEDED

Total time: 0 seconds.

 [nant] C:\tools\AutoTest.Net\Nant\tests\NAnt.Core\NAnt.Core.build build

Buildfile: 
file:///C:/tools/AutoTest.Net/Nant/tests/NAnt.Core/NAnt.Core.build
Target(s) specified: build 

build:

  [csc] Compiling 42 files to 
C:\tools\AutoTest.Net\Nant/build/net-1.0.win32/nant-0.84-debug/bin/NAnt.Core.Tests.dll.

BUILD FAILED

INTERNAL ERROR

System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean 
needFullPath)
   at System.Security.Util.StringExpressionSet.AddExpressions(String[] str, Boolean 
checkForDuplicates, Boolean needFullPath)
   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess 
access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, 
Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess 
access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at 

[nant-dev] (no subject)

2004-01-25 Thread Somya Jain








Hi I am getting the following
exception when attempting to use the solution task




System.Runtime.Serialization.SerializationException:
The type System

.ComponentModel.LicenseException
in Assembly System, Version=1.0.5000.0, Culture

=neutral, PublicKeyToken=b77a5c561934e089
is not marked as serializable.



Server stack trace:

 at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSeriali

ze(Object obj, ISurrogateSelector
surrogateSelector, StreamingContext
context, S

erObjectInfoInit serObjectInfoInit, IFormatterConverter
converter)

 at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(O

bject obj, ISurrogateSelector surrogateSelector, StreamingContext
context, SerOb

jectInfoInit serObjectInfoInit, IFormatterConverter
converter)

 at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObj

ectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)

 at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Obje

ct graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)

 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(S

tream serializationStream, Object graph, Header[] headers,
Boolean fCheck)

 at
System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessage

Parts(ArrayList argsToSerialize)

 at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage..ctor(IMetho

dReturnMessage mrm)

 at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.SmuggleIfPos

sible(IMessage msg)

 at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[]
reqS

tmBuff, SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMessage smug

gledMrm)

 at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch(B

yte[] reqStmBuff,
SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMes

sage smuggledMrm)



Exception rethrown
at [0]:

 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req

Msg, IMessage retMsg)

 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData msgDa

ta, Int32
type)

 at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTas

k, String licenseFile)

 at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask()

 at NAnt.Core.Task.Execute()

 at NAnt.VSNet.Resource.CompileLicx()

 at NAnt.VSNet.Resource.Compile(ConfigurationSettings
configurationSettings, B

oolean showCommands)

 at NAnt.VSNet.Project.Compile(String configuration, ArrayList alCSCArguments,

String strLogFile,
Boolean bVerbose, Boolean bShowCommands)

 at NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArgume

nts, String logFile, Boolean verbose, Boolean showCommands)

 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()

 at NAnt.Core.Task.Execute()

 at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)

 at NAnt.Core.Project.Execute()

 at NAnt.Core.Project.Run()




Please send bug report to [EMAIL PROTECTED].



It seems that the license task is
failing.. I can manually remove the reference to the licx in the project and build work fine. (
I cant use the licenced control of
course :-) )



Any help would be deeply appreciated.



Somya








[nant-dev] Nant .84 Fails to Build Solution that .83 built

2004-01-25 Thread Kinsman,Chris








I have a build for a project that I upgraded to the released
.84 today. It build this morning with 9/23/2003 nightly build just fine. With
the released .84 I get:





compile:



[solution] Starting solution build.



onfailure:



 [echo] Build failed!

 [mail] Sending mail to [EMAIL PROTECTED]



BUILD FAILED



INTERNAL ERROR



System.NullReferenceException: Object reference not set to
an instance of an obj

ect.

 at NAnt.VSNet.Reference..ctor(Solution solution,
ProjectSettings ps, XmlEleme

nt elemReference, SolutionTask solutionTask, String
outputDir)

 at NAnt.VSNet.Project.Load(Solution sln, String
projectPath)

 at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln,
SolutionTask slnTask,

TempFileCollection tfc, String outputDir, String path)

 at NAnt.VSNet.Solution.LoadProjects()

 at NAnt.VSNet.Solution..ctor(ArrayList projects,
ArrayList referenceProjects,

TempFileCollection tfc, SolutionTask solutionTask,
WebMapCollection webMaps, Fi

leSet excludesProjects, String outputDir)

 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()

 at NAnt.Core.Task.Execute()

 at NAnt.Core.Target.Execute()

 at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)

 at NAnt.Core.Tasks.CallTask.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()



Please send bug report to
[EMAIL PROTECTED]



Total time: 52.4 seconds. 





Any thoughts or ideas?



Thanks,



Chris








[nant-dev] internal error

2004-01-25 Thread Alex Odintsov
Hi guys, 

First of all - THANK YOU for the great tool!

 

I'm using 20040118 build version (I believe it is 0.85)

 

We got tons of projects and I want to create properties with all project
names.

Unfortunately there is no list element, so I want to load projects from
xml file.

The result should look like this:

property name=project.A.file value=A/

property name=project.A.pvcs.dir value=PVCS:\archive\A

property name=project.A.type value=web /

property name=project.B.file value=B /

 

There are going to be 20 of these lines :-(

 

Anyway, I decided to learn how I can write tasks using your examples and
I came up with this code:

4TaskName(LoadProjects) _

5  Public Class LoadProjects

6  Inherits Task

7

8  Protected Overrides Sub ExecuteTask()

9For Each Item As System.Collections.DictionaryEntry In
Project.Properties

10  Log(Level.Info, LogPrefix + Item.Key.ToString + = +
Item.Value.ToString)

11Next

12  End Sub

13End Class

 

This task supposes to display all properties.

Here is the result:

 

NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 12/18/2003)

Copyright (C) 2001-2004 Gerry Shaw

http://nant.sourceforge.net http://nant.sourceforge.net/ 

Buildfile: file:///C:/DEV03/dotNET/Build.Tools/Source/setup.xml

Target(s) specified: setup

[loadtasks] Loading tasks from assembly
'C:\DEV03\dotNET\Build.Tools\bin\CustomTasks.dll'.

 

setup:

 

  [EchoCap] OPS

[LoadProjects] nant.tasks.servicecontroller=True

[LoadProjects] nant.tasks.xmlpoke=True

[LoadProjects] nant.version=0.85.1447.0

[LoadProjects] startup.project=unknown

[LoadProjects] nant.tasks.unzip.location=c:\program
files\nant\bin\nant.ziptasks.dll

[LoadProjects] nant.tasks.al=True

[LoadProjects]
nant.project.buildfile=file:///C:/DEV03/dotNET/Build.Tools/Source/setup

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Bug report: INTERNAL ERROR

2004-01-25 Thread Fangping Chen
I encountered the following error while building C# web project using
Nant (release 0.8.4 or the nightly build).  It looks like that it tries
to load the same assembly twice.

Thank you.

 The build file -
?xml version=1.0 ?
project name=test default=test
target name=test
   solution configuration=release
   projects
   includes
name=C:\TEMP\NantTest\MyCSharpWebProj\MyCSharpWebProj.csproj /
   /projects
   /solution
/target
/project


 The error emitted by NAnt -
NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 18/12/2003)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

  ...

 [solution] Starting solution build.

  ...

 [solution]  - C:\TEMP\NantTest\MyCSharpWebProj\licenses.licx
  [license] Compiling license file
'C:\TEMP\NantTest\MyCSharpWebProj\licenses.licx' to
'C:\DOCUME~1\\LOCALS~1\Temp\vhi_vype\MyCSharpWebProj.dll.licenses'
using target 'MyCSharpWebProj.dll'.
  [license] Loading assemblies ...
  [license] C:\.NETDll\MyCompany.Controls.dll (loaded)
  [license] C:\.NETDll\MyCompany.DataAccess.dll (loaded)
  [license] C:\.NETDll\MyCompany.DataAccess.Interfaces.dll
(loaded)
  [license] C:\.NETDll\MyCompany.EE.dll (loaded)
  [license] C:\.NETDll\MyCompany.EE.Interfaces.dll (loaded)
  [license] C:\.NETDll\MyCompany.Framework.dll (loaded)
  [license] C:\.NETDll\MyCompany.Security.Interfaces.dll
(loaded)
  [license] C:\.NETDll\MyCompany.Selection.dll (loaded)

BUILD FAILED

INTERNAL ERROR

System.IO.FileLoadException: Assembly MyCompany.controls.dll
already loaded without additional security evidence.
File name: MyCompany.controls.dll

Server stack trace: 
   at System.Reflection.Assembly.nLoad(AssemblyName
fileName, String codeBase, Boolean isStringized, Evidence
assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint,
StackCrawlMark stackMark)
   at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Boolean stringized, Evidence assemblySecurity,
StackCrawlMark stackMark)
   at System.Reflection.Assembly.LoadFrom(String
assemblyFile, Evidence securityEvidence, Byte[] hashValue,
AssemblyHashAlgorithm hashAlgorithm)
   at System.Reflection.Assembly.LoadFrom(String
assemblyFile, Evidence securityEvidence)
   at
NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTask, String licenseFile) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.DotNet\Tasks\Lice
nseTask.cs:line 251
   at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage
(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[] outArgs)
   at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IM
essage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]: 
   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
   at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData
msgData, Int32 type)
   at
NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTask, String licenseFile) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.DotNet\Tasks\Lice
nseTask.cs:line 210
   at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.DotNet\Tasks\Lice
nseTask.cs:line 191
   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.Core\Task.cs:line
151
   at NAnt.VSNet.Resource.CompileLicx() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Resource.cs
:line 165
   at NAnt.VSNet.Resource.Compile(ConfigurationSettings
configurationSettings, Boolean showCommands) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Resource.cs
:line 73
   at NAnt.VSNet.Project.Compile(String configuration,
ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean
bShowCommands) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Project.cs:
line 355
   at NAnt.VSNet.Solution.Compile(String configuration,
ArrayList compilerArguments, String logFile, Boolean verbose, Boolean
showCommands) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Solution.cs
:line 279
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp16C.tmp\src\NAnt.VSNet\Tasks\Solut
ionTask.cs:line 335
   at NAnt.Core.Task.Execute() in

[nant-dev] Nant issue - Error 409 when building a web project

2004-01-25 Thread Mulla, Asif
Hi,

I'm using the latest nightly build of nant (21-Januray-2004) and am getting
the error below.  My solution setup is quite simple: a hello world web
project and a hello world win project.  The Web project initially failed to
compile giving a forbidden 403 error.  After giving full permissions to the
Virtual Folder of the Web project some progress was made but then nant fell
over with another saying asking me to enable webdav for the solution.  After
doing this I got yet another error (409) which I've pasted below:

I'd be grateful if you could assist in this as I'm meant to be presenting a
case for whether or not we should be using nant tomorrow.

Many thanks in advance for your help.

Asif Mulla



D:\Projects\NantTestnant
NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 18/12/2003)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net http://nant.sourceforge.net 

Buildfile: file:///D:/Projects/NantTest/nant.BUILD
file:///D:/Projects/NantTest/nant.BUILD 
Target(s) specified: build

build:

 [echo] Compiling HelloWorldWeb
 [solution] Starting solution build.
 [solution] Building HelloWorldWeb [release]...
Read in 0 resources from
'D:\DOCUME~1\cz7gf4\LOCALS~1\Te
mp\pxcmktiv\http___localhost_HelloWorldWeb2_HelloWorldWeb.csproj\Global.asax
.res
x'
Writing resource file...  Done.
Read in 0 resources from
'D:\DOCUME~1\cz7gf4\LOCALS~1\Te
mp\pxcmktiv\http___localhost_HelloWorldWeb2_HelloWorldWeb.csproj\WebForm1.as
px.r
esx'
Writing resource file...  Done.

BUILD FAILED

INTERNAL ERROR

System.Net.WebException: The remote server returned an error: (409)
Conflict.
   at System.Net.HttpWebRequest.CheckFinalStatus()
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.HttpWebRequest.GetResponse()
   at NAnt.VSNet.WebDavClient.UploadFile(String localFileName, String
remoteFile
Name) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\WebDavClie
nt.cs:line 66
   at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments,
 String strLogFile, Boolean bVerbose, Boolean bShowCommands) in
C:\DOCUME~1\ADMI
NI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\Project.cs:line 425
   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArgume
nts, String logFile, Boolean verbose, Boolean showCommands) in
C:\DOCUME~1\ADMIN
I~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.VSNet\Solution.cs:line 279
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS
~1\Temp\tmp127.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 335
   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\
src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tm
p\src\NAnt.Core\Target.cs:line 217
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\src\NAnt.Core\Project.cs:line
772

   at NAnt.Core.Project.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.t
mp\src\NAnt.Core\Project.cs:line 734
   at NAnt.Core.Project.Run() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp127.tmp\s
rc\NAnt.Core\Project.cs:line 797

Please send bug report to [EMAIL PROTECTED]

Total time: 3.2 seconds.


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] NAnt Error building VS.NET solution

2004-01-25 Thread Steele, Tom


INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance of an
obj
ect.
   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps,
XmlEleme
nt elemReference, SolutionTask solutionTask, String outputDir)
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath)
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask,
TempFileCollection tfc, String outputDir, String path)
   at NAnt.VSNet.Solution.LoadProjects()
   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList
additionalPro
jects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask
solutio
nTask, WebMapCollection webMappings, FileSet excludesProjects, String
outputDir)

   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)
   at NAnt.Core.Tasks.CallTask.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()

Please send bug report to [EMAIL PROTECTED]


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] (no subject)

2004-01-25 Thread Gert Driesen
Somya,

Can you package up a zip file containing the minimum set of files necessary
to reproduce this issue ?

Thanks,

Gert

- Original Message - 
From: Somya Jain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 12:03 AM
Subject: [nant-dev] (no subject)


Hi I am getting the following exception when attempting to use the
solution task

System.Runtime.Serialization.SerializationException: The
type System
.ComponentModel.LicenseException in Assembly System, Version=1.0.5000.0,
Culture
=neutral, PublicKeyToken=b77a5c561934e089 is not marked as serializable.

Server stack trace:
   at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSeria
li
ze(Object obj, ISurrogateSelector surrogateSelector, StreamingContext
context, S
erObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
   at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize
(O
bject obj, ISurrogateSelector surrogateSelector, StreamingContext
context, SerOb
jectInfoInit serObjectInfoInit, IFormatterConverter converter)
   at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteO
bj
ectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
   at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Ob
je
ct graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(S
tream serializationStream, Object graph, Header[] headers, Boolean
fCheck)
   at
System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessa
ge
Parts(ArrayList argsToSerialize)
   at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage..ctor(IMet
ho
dReturnMessage mrm)
   at
System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.SmuggleIfP
os
sible(IMessage msg)
   at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[]
reqS
tmBuff, SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMessage smug
gledMrm)
   at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch
(B
yte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMes
sage smuggledMrm)

Exception rethrown at [0]:
   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
req
Msg, IMessage retMsg)
   at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData
msgDa
ta, Int32 type)
   at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTas
k, String licenseFile)
   at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.VSNet.Resource.CompileLicx()
   at NAnt.VSNet.Resource.Compile(ConfigurationSettings
configurationSettings, B
oolean showCommands)
   at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments,
 String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArgume
nts, String logFile, Boolean verbose, Boolean showCommands)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Please send bug report to
[EMAIL PROTECTED]

It seems that the license task is failing.. I can manually remove the
reference to the licx in the project and build work fine. ( I can't use
the licenced control of course :-) )

Any help would be deeply appreciated.

Somya



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Solution task problems

2004-01-25 Thread Gert Driesen
Jia,

Can you package up a zip file containing the minimum set of files to
reproduce this issue as I'd be really interested to get this fixed ?

Thanks,

Gert
- Original Message - 
From: Jia Bin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 05, 2004 3:41 AM
Subject: [nant-dev] Solution task problems


 hi,

 I'm trying to build a solution and met the following problem.

  BUILD FAILED

  INTERNAL ERROR

  System.IO.FileLoadException: Assembly gemgeocurtainm.dll
 already loaded without additional security evidenc
 .
  File name: gemgeocurtainm.dll

  Server stack trace:
 at System.Reflection.Assembly.nLoad(AssemblyName fileName,
 String codeBase, Boolean isStringized, Eviden
 e assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint,
 StackCrawlMark stackMark)
 at System.Reflection.Assembly.InternalLoad(AssemblyName
 assemblyRef, Boolean stringized, Evidence assemb
 ySecurity, StackCrawlMark stackMark)
 at System.Reflection.Assembly.LoadFrom(String
assemblyFile,
 Evidence securityEvidence, Byte[] hashValue,
 AssemblyHashAlgorithm hashAlgorithm)
 at System.Reflection.Assembly.LoadFrom(String
assemblyFile,
 Evidence securityEvidence)
 at
 NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
 licenseTask, String licenseFile) in D
 \Work\NAnt\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 251
 at

System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Met
hodBase
 mb, Object[] args
   Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]
outArgs)
 at

System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa
ge
 msg, Int32 methodPtr,
 oolean fExecuteInContext)

  Exception rethrown at [0]:
 at
 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
 reqMsg, IMessage retMsg)
 at
 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData
 msgData, Int32 type)
 at
 NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
 licenseTask, String licenseFile) in D
 \Work\NAnt\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 210
 at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() in
 D:\Work\NAnt\src\NAnt.DotNet\Tasks\LicenseTask.cs:line
 191
 at NAnt.Core.Task.Execute() in
 D:\Work\NAnt\src\NAnt.Core\Task.cs:line 151
 at NAnt.VSNet.Resource.CompileLicx() in
 D:\Work\NAnt\src\NAnt.VSNet\Resource.cs:line 165
 at NAnt.VSNet.Resource.Compile(ConfigurationSettings
 configurationSettings, Boolean showCommands) in D:\
 ork\NAnt\src\NAnt.VSNet\Resource.cs:line 73
 at NAnt.VSNet.Project.Compile(String configuration,
 ArrayList alCSCArguments, String strLogFile, Boolean
 bVerbose, Boolean bShowCommands) in
 D:\Work\NAnt\src\NAnt.VSNet\Project.cs:line 355
 at NAnt.VSNet.Solution.Compile(String configuration,
 ArrayList compilerArguments, String logFile, Boolea
   verbose, Boolean showCommands) in
 D:\Work\NAnt\src\NAnt.VSNet\Solution.cs:line 279
 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
 D:\Work\NAnt\src\NAnt.VSNet\Tasks\SolutionTask.cs:line
 335
 at NAnt.Core.Task.Execute() in
 D:\Work\NAnt\src\NAnt.Core\Task.cs:line 151
 at NAnt.Core.Target.Execute() in
 D:\Work\NAnt\src\NAnt.Core\Target.cs:line 217
 at NAnt.Core.Project.Execute(String targetName, Boolean
 forceDependencies) in D:\Work\NAnt\src\NAnt.Core
 Project.cs:line 772
 at NAnt.Core.Project.Execute() in
 D:\Work\NAnt\src\NAnt.Core\Project.cs:line 734
 at NAnt.Core.Project.Run() in
 D:\Work\NAnt\src\NAnt.Core\Project.cs:line 797

 Regards
 Jia Bin
 -
 BGC-PET: http://bgc-pet.fea.slb.com/Gallery/
 Tel: +86 10 6279 9009 (ext.6239)
 Fax: +86 10 6279 3733




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] internal error report

2004-01-25 Thread Gert Driesen
Kevin,

It would be great if you could indeed supply us with a zip file containing
the minimum set of files necessary to reproduce this issue ...

Thanks,

Gert

- Original Message - 
From: Kevin McIntire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 7:47 PM
Subject: [nant-dev] internal error report


 I've got the following internal error when executing a
 solution task in my build file.

 It's the 12/26 build, XP pro, VisualStudio 7.1.3088,
 .NET 1.1.4322.  I'm trying to build a solution and am
 getting the null pointer exception.  I
 will be happy to provide solution or project files.  I
 browsed the stack trace, and ended up in
 VcProject.cs.Load() where I didn't see the correlation
 between the XML parsing and the project file mentioned
 in the log below.

 snip ---
 C:\dev\projects\cinea\strak\buildnant
 -D:release=1.0.0.0 -buildfile:strak.build build
 NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release;
 12/26/2003)
 Copyright (C) 2001-2003 Gerry Shaw
 http://nant.sourceforge.net

 Buildfile:
 file:///C:/dev/projects/cinea/strak/build/strak.build
 Target(s) specified: build

 build:

  [solution] Starting solution build.
  [solution] Loading projects...
  [solution] Loading project

'C:\dev\projects\cinea\strak\solution\..\ws\dup\cinea.strak.ws.dup_classes\c
inea.strak.ws.dup_classes.csproj'.

 BUILD FAILED

 INTERNAL ERROR

 System.NullReferenceException: Object reference not
 set to an instance of an object.
at NAnt.VSNet.Reference..ctor(Solution solution,
 ProjectSettings ps,XmlElement elemReference,
 SolutionTask solutionTask, String outputDir)
at NAnt.VSNet.VcProject.Load(Solution sln, String
 projectPath)
at NAnt.VSNet.ProjectFactory.LoadProject(Solution
 sln, SolutionTask slnTask, TempFileCollection tfc,
 String outputDir, String path)
at NAnt.VSNet.Reference..ctor(Solution solution,
 ProjectSettings ps, XmlElement elemReference,
 SolutionTask solutionTask, String outputDir)
at NAnt.VSNet.Project.Load(Solution sln, String
 projectPath)
at NAnt.VSNet.ProjectFactory.LoadProject(Solution
 sln, SolutionTask slnTask, TempFileCollection tfc,
 String outputDir, String path)
at NAnt.VSNet.Solution.LoadProjects()
at NAnt.VSNet.Solution..ctor(String
 solutionFileName, ArrayList additionalProjects,
 ArrayList referenceProjects, TempFileCollection tfc,
 SolutionTask solutionTask, WebMapCollection
 webMappings, FileSet excludesProjects, String
 outputDir)

at NAnt.VSNet.Tasks.SolutionTask.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()

 Please send bug report to
 [EMAIL PROTECTED]

 Total time: 0.6 seconds.

 --- 
 /snip ---


 __
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 http://hotjobs.sweepstakes.yahoo.com/signingbonus


 ---
 The SF.Net email is sponsored by EclipseCon 2004
 Premiere Conference on Open Tools Development and Integration
 See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
 http://www.eclipsecon.org/osdn
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers





---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] internal error

2004-01-25 Thread Gert Driesen
Alex,

I'm afraid I'm missing the point right here, could it be that the body of
your message is incomplete ?

Thanks,

Gert

- Original Message - 
From: Alex Odintsov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 4:17 AM
Subject: [nant-dev] internal error


Hi guys,

First of all - THANK YOU for the great tool!



I'm using 20040118 build version (I believe it is 0.85)



We got tons of projects and I want to create properties with all project
names.

Unfortunately there is no list element, so I want to load projects from
xml file.

The result should look like this:

property name=project.A.file value=A/

property name=project.A.pvcs.dir value=PVCS:\archive\A

property name=project.A.type value=web /

property name=project.B.file value=B /



There are going to be 20 of these lines :-(



Anyway, I decided to learn how I can write tasks using your examples and
I came up with this code:

4TaskName(LoadProjects) _

5  Public Class LoadProjects

6  Inherits Task

7

8  Protected Overrides Sub ExecuteTask()

9For Each Item As System.Collections.DictionaryEntry In
Project.Properties

10  Log(Level.Info, LogPrefix + Item.Key.ToString + = +
Item.Value.ToString)

11Next

12  End Sub

13End Class



This task supposes to display all properties.

Here is the result:



NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 12/18/2003)

Copyright (C) 2001-2004 Gerry Shaw

http://nant.sourceforge.net http://nant.sourceforge.net/

Buildfile: file:///C:/DEV03/dotNET/Build.Tools/Source/setup.xml

Target(s) specified: setup

[loadtasks] Loading tasks from assembly
'C:\DEV03\dotNET\Build.Tools\bin\CustomTasks.dll'.



setup:



  [EchoCap] OPS

[LoadProjects] nant.tasks.servicecontroller=True

[LoadProjects] nant.tasks.xmlpoke=True

[LoadProjects] nant.version=0.85.1447.0

[LoadProjects] startup.project=unknown

[LoadProjects] nant.tasks.unzip.location=c:\program
files\nant\bin\nant.ziptasks.dll

[LoadProjects] nant.tasks.al=True

[LoadProjects]
nant.project.buildfile=file:///C:/DEV03/dotNET/Build.Tools/Source/setup

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-880236 ] Using Wrong Framework

2004-01-25 Thread SourceForge.net
Bugs item #880236, was opened at 2004-01-19 23:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=880236group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nigel Thorne (nigelthorne)
Assigned to: Nobody/Anonymous (nobody)
Summary: Using Wrong Framework

Initial Comment:
I have .Net 1.1 and .Net 1.0 on my machine. 1.0 is 
corrupted though.

NAnt tried to use 1.0 and failed to find 1.1

Sorry about the lack of details. I don't even remember it 
I was trying to compile NAnt at the time ( using nant ) 
or just run it. Either way I had to change a config file so 
it ignored the 1.0 version and ran correctly. 

PS. You guys are doing a great job! keep it up.


--

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


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-880616 ] Build succeeds with failing task in nant.onsuccess

2004-01-25 Thread SourceForge.net
Bugs item #880616, was opened at 2004-01-20 10:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=880616group_id=31650

Category: Core
Group: 0.8.4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Eberhard Beilharz (eberhard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build succeeds with failing task in nant.onsuccess

Initial Comment:
If a task in nant.onsuccess target fails, NAnt 
nevertheless outputs BUILD SUCCEEDED at the end and 
returns 0. 

This makes it impossible to make build files that ignore 
some errors but set an error variable instead, and in the 
nant.onsuccess target fail the build if the error variable 
is set - e.g. for reporting failing tests but continuing the 
build.

A failing task in nant.onsuccess should result in BUILD 
FAILED and return 1 from nant.exe

--

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


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-880233 ] Nant unit test fails

2004-01-25 Thread SourceForge.net
Bugs item #880233, was opened at 2004-01-20 00:25
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=880233group_id=31650

Category: Tests
Group: 0.8.4.0
Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: Nigel Thorne (nigelthorne)
Assigned to: Nobody/Anonymous (nobody)
Summary: Nant unit test fails

Initial Comment:
ShowHelp fails as it is year specific. 


--

Comment By: Gert Driesen (drieseng)
Date: 2004-01-25 23:03

Message:
Logged In: YES 
user_id=707851

This is a known issue in the 0.84 release (and all previous 
releases actually) as we have a unit test to ensure that we 
increment the copyright year.

We still have to discuss how to proceed with this issue.

Thanks for the report !

--

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


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] [ nant-Bugs-880233 ] Nant unit test fails

2004-01-25 Thread Gert Driesen
Jarek,

We eventually will need to generate the (Common)AssemblyInfo.cs from our
build file (using the asminfo task), that would also resolve this issue
...

In order to accomplish this, we'll need a version task (similar to the one
in NAntContrib) that can match the incrementing behaviour of the
AssemblyVersionAttribute.  So, we'll either need to create a new task (or
function ofcourse) or extend the NAntContrib one ...

Gert

- Original Message - 
From: Jaroslaw Kowalski [EMAIL PROTECTED]
To: ! nant [EMAIL PROTECTED]; Gert Driesen
[EMAIL PROTECTED]
Sent: Sunday, January 25, 2004 11:20 PM
Subject: Re: [nant-dev] [ nant-Bugs-880233 ] Nant unit test fails


 Gert!

 Regarding this ShowHelp issue: why don't we just disable the test and
let's
 (somehow) embed the build date into the NAnt.exe so that it displays in
the
 copyright banner. How about a #define that would be passed to csc ?

 Jarek

 - Original Message - 
 From: SourceForge.net [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, January 25, 2004 11:03 PM
 Subject: [nant-dev] [ nant-Bugs-880233 ] Nant unit test fails


  Bugs item #880233, was opened at 2004-01-20 00:25
  Message generated for change (Comment added) made by drieseng
  You can respond by visiting:
 

https://sourceforge.net/tracker/?func=detailatid=402868aid=880233group_id=31650
 
  Category: Tests
  Group: 0.8.4.0
  Status: Closed
  Resolution: Wont Fix
  Priority: 5
  Submitted By: Nigel Thorne (nigelthorne)
  Assigned to: Nobody/Anonymous (nobody)
  Summary: Nant unit test fails
 
  Initial Comment:
  ShowHelp fails as it is year specific.
 
 
  --
 
  Comment By: Gert Driesen (drieseng)
  Date: 2004-01-25 23:03
 
  Message:
  Logged In: YES
  user_id=707851
 
  This is a known issue in the 0.84 release (and all previous
  releases actually) as we have a unit test to ensure that we
  increment the copyright year.
 
  We still have to discuss how to proceed with this issue.
 
  Thanks for the report !
 
  --
 
  You can respond by visiting:
 

https://sourceforge.net/tracker/?func=detailatid=402868aid=880233group_id=31650
 
 
  ---
  The SF.Net email is sponsored by EclipseCon 2004
  Premiere Conference on Open Tools Development and Integration
  See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
  http://www.eclipsecon.org/osdn
  ___
  nant-developers mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/nant-developers
 



 ---
 The SF.Net email is sponsored by EclipseCon 2004
 Premiere Conference on Open Tools Development and Integration
 See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
 http://www.eclipsecon.org/osdn
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers





---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers