[nant-dev] Problem Report

2006-02-01 Thread Mayo, Calvin
Title: Message



Hi,

Would you have any 
idea why I'm getting this when running the clover-check 
task?

INTERNAL 
ERRORSystem.FormatException: Input string was not in a correct 
format. at System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo info) at System.Double.Parse(String s, 
NumberStyles style, IFormatProvider provider) at 
System.Double.Parse(String s) at 
Clover.NAnt.Util.Percentage..ctor(String percentageStr) at Clover.NAnt.Tasks.CloverCheckTask.ReadCoverage(String data) at 
Clover.NAnt.Tasks.CloverCheckTask.ParseCoverage(String data) at 
Clover.NAnt.Tasks.CloverCheckTask.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()


Regards



  
  
Calvin Mayo
  
London Stock Exchange -   Corporate Website
  

  
  


  Extension:
  31002

  Office:
  +44 (0) 20 7797 1002

  Mobile:
  +44 (0) 78 3476 
9254



 
Please read these warnings and restrictions:

This e-mail transmission is strictly confidential and intended solely for the ordinary user of the e-mail address to which it was addressed. It may contain legally privileged and/or CONFIDENTIAL information. 

The unauthorised use, disclosure, distribution and/or copying of this e-mail or any information it contains is prohibited and could, in certain circumstances, constitute a criminal offence.

If you have received this e-mail in error or are not an intended recipient please inform the London Stock Exchange immediately by return e-mail or telephone 020 7797 1000.

We advise that in keeping with good computing practice the recipient of this e-mail should ensure that it is virus free. We do not accept responsibility for any virus that may be transferred by way of this e-mail. 

E-mail may be susceptible to data corruption, interception and unauthorised amendment, and we do not accept liability for any such corruption, interception or amendment or any consequences thereof. 

Calls to the London Stock Exchange may be recorded to enable the Exchange to carry out its regulatory responsibilities.

London Stock Exchange plc
10 Paternoster Square
London 
EC4M 7LS
Registered in England and Wales No 2075721 
 





[nant-dev] nant not working for web application

2006-02-01 Thread Gnanadesikan Jayakumar
Title: nant not working for web application






Hi,


I have compiled the web project using nant.exe. it is giving forbidden error. when i gave script source access option checked in IIS, it is throwing the error shown below:

Please kindly look thru it and give me the solution as soon as possible


regards,

Jayakumar G.


Error thrown:


Buildfile: file:///C:/Projects/datauseradmin/datauseradmin.build

Target(s) specified: build


build:


clean:


 [delete] Deleting 0 files.

[solution] Starting solution build.


BUILD FAILED


INTERNAL ERROR


System.ArgumentException: URI formats are not supported.

 at System.IO.Path.GetFullPathInternal(String path)

 at System.IO.FileInfo..ctor(String fileName)

 at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in C:\DOCUME~1\A

DMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\Project.cs:line 150

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

TempFileCollection tfc, GacCache gacCache, DirectoryInfo outputDir, String path)

in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\ProjectFactory.c

s:line 72

 at NAnt.VSNet.Solution.LoadProjects(GacCache gacCache) in C:\DOCUME~1\ADMINI~

1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\Solution.cs:line 535

 at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList additionalProje

cts, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutionT

ask, WebMapCollection webMaps, FileSet excludesProjects, DirectoryInfo outputDir

, GacCache gacCache) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VS

Net\Solution.cs:line 130

 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in C:\DOCUME~1\ADMINI~1\LOCALS

~1\Temp\tmp26.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 365

 at NAnt.Core.Task.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\s

rc\NAnt.Core\Task.cs:line 151

 at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp

\src\NAnt.Core\Target.cs:line 249

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

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line 892

 at NAnt.Core.Project.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tm

p\src\NAnt.Core\Project.cs:line 849

 at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\sr

c\NAnt.Core\Project.cs:line 917




The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized.
If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(16b)



[nant-dev] need some help for vaultgetbylabel

2006-02-01 Thread Marco Ensing
Hi,

Does anybody tried to use the Vault Nant task to retrieve a particular labeled source?

I was trying the below task, but I get an exception. I should ask this to the vault people who provided this package, but I don't have their contact information.




!--
- Load custom vault tasks. See for the latest documentation on the tasks:
 
http://vaultpub.sourcegear.com/build/latest/doc/ --

loadtasks
 
fileset
 
include 
name=NAnt.VaultTasks.dll
 /
 /
fileset
/
loadtasks


if test
=${property::exists('source.label')}
 
echo 
message=
Using Vault label ${source.label} /
 
vaultgetbylabel 
url=${source.server
} 
 
username=
${source.username} 
 
password=
${source.password} 
 
repository=
${source.repository} 
 
path=
${solution.sourcepath} 
 
destination=
${source.dir}
 
labelstring=
${source.label}/
/
if


refresh-source:

 [echo] Using Vault label 1.0.1.2
[vaultgetbylabel] Vault: Retrieving repository structure information from the s

erver...
[vaultgetbylabel] Vault: Saving repository information to disk...
[vaultgetbylabel] Vault: Working
[vaultgetbylabel] Vault: Requesting files...
[vaultgetbylabel] Vault: Downloading files...
[vaultgetbylabel] Vault: Updating local files...
[vaultgetbylabel] Vault: Saving repository information to disk...
[vaultgetbylabel] Vault: Working

BUILD FAILED

INTERNAL ERROR

VaultClientOperationsLib.GetLatestVersionFailedException: Exception of type Vaul
tClientOperationsLib.GetLatestVersionFailedException was thrown.
 at VaultClientOperationsLib.ClientInstance.ProcessGetFileRequests(GetFileInfo

[] infos, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType
merge, Boolean updateHiddenFilesOnly, String ancestorFullPath, Boolean flat, Str
ing ancestorDiskPath, OverwritePrompt PromptData, Boolean isLabelGet, String cur
rentPathToLabelItem, Int64 labelID, Boolean isRetry)
 at VaultClientOperationsLib.ClientInstance.GetByLabelToNonWorkingFolder_GetDa

ta(VaultClientFile[] files, Boolean overwrite, MakeWritableType makeWritable, Se
tFileTimeType setFileTime, String ancestorFullPath, String ancestorDiskPath, Ove
rwritePrompt PromptData, Int64 labelID, String currentPathToLabelItem, String la
belSubItemPath, Boolean isLabelGetForSingleFile)
 at VaultClientOperationsLib.ClientInstance.GetByLabelToNonWorkingFolder_GetDa

ta(VaultClientFolder folder, Boolean recursive, Boolean overwrite, MakeWritableT
ype makeWritable, SetFileTimeType setFileTime, String destinationDiskPath, Overw
ritePrompt PromptData, Int64 labelID, String currentPathToLabelItem, String labe
lSubItemPath)
 at VaultClientOperationsLib.ClientInstance.GetLabeledFolderToNonWorkingFolder

(VaultClientFolder vcRepFolder, String strLabelName, String strLabelPath, String
 strLocalDir, Boolean bRecursive)
 at NAnt.Contrib.Tasks.SourceGearVault.vaultgetbylabel.GetByLabel(String fileN

ame) in C:\temp\vaultnant2.0\latest\src\VaultGetByLabel.cs:line 141
 at NAnt.Contrib.Tasks.SourceGearVault.vaultgetbylabel.ExecuteTask() in C:\tem

p\vaultnant2.0\latest\src\VaultGetByLabel.cs:line 110
 at NAnt.Core.Task.Execute()
 at NAnt.Core.TaskContainer.ExecuteChildTasks()
 at NAnt.Core.Tasks.IfTask.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 nant-developers@lists.sourceforge.net
.

Total time: 3.3 seconds.



[nant-dev] Nant Internal Error

2006-02-01 Thread Farooq Mohammed








INTERNAL ERROR



System.ArgumentException:
Invalid File or Directory attributes value.

 at System.IO.File.SetAttributes(String
path, FileAttributes fileAttributes)

 at
NAnt.Core.Tasks.CopyTask.ExecuteTask()

 at
NAnt.Core.Task.Execute()

 at
NAnt.Core.TaskContainer.ExecuteChildTasks()

 at
NAnt.Core.Tasks.LoopTask.ExecuteChildTasks()

 at
NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals)

 at
NAnt.Core.Tasks.LoopTask.ExecuteTask()

 at
NAnt.Core.Task.Execute()

 at
NAnt.Core.TaskContainer.ExecuteChildTasks()

 at
NAnt.Core.Tasks.IfTask.ExecuteTask()

 at
NAnt.Core.Task.Execute()

 at
NAnt.Core.TaskContainer.ExecuteChildTasks()

 at
NAnt.Core.Tasks.IfTask.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.TaskContainer.ExecuteChildTasks()

 at
NAnt.Core.Tasks.IfTask.ExecuteTask()

 at
NAnt.Core.Task.Execute()

 at
NAnt.Core.TaskContainer.ExecuteChildTasks()

 at NAnt.Core.Tasks.IfTask.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: 1.5 seconds.






CONFIDENTIAL NOTICE:  This message is intended only for the use of the 

individual or entity to which it is addressed and may contain information

that is privileged, confidential and exempt from disclosure under applicable

law.  If the reader of this message is not the intended recipient, or the

employee or agent responsible for delivering the message to the intended

recipient, you are hereby notified that any dissemination, distribution or 

copying of this communication is prohibited.  Please notify us immediately 

by telephone if this message was transmitted in error.  Thank you. 




[nant-dev] Please give me the solution for the problem ASAP-Thanks

2006-02-01 Thread arun kumar
Hi,  When i execute the Nant build file,its showing the following error  Buildfile: file:///C:/Documents and Settings/Arun/My Documents/Visual Studio Projects/NAntBuildAndNunit/Nantbuild.build   Target framework: Microsoft .NET Framework 1.1   Target(s) specified: test [property] Read-only property "build.dir" cannot be overwritten. build:   test:   BUILD FAILED- 0 non-fatal error(s), 1 warning(s) INTERNAL ERROR System.IO.FileLoadException: The located assembly 'nunit.
 core' is
 not strongly named.   File name: "nunit.core"   at NAnt.NUnit2.Tasks.NUnit2Task.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: 1.5 seconds. 
	
		Yahoo! Photos 
Got holiday prints? See all the ways to get quality prints in your hands ASAP.

[nant-dev] Feil under solution compile

2006-02-01 Thread Oviedo Fernando Moreno








Hi, I have a solution with multiple projects on it, when I tried to
compile the solution using the solution tag I always get an error
(specified below), but If (after it fails) I compile the project wich fails in
VS (VS2003) and then I run Nant again so it compiles the one who fails before without
errors and then fails on the next one(or after two or three) with the same
error.

Everything seems to compile without problems on VS so I dont
understand whats wrong.



Compilesolution.build file looks like this:



?xml version=1.0?

project name=BuildTest default=

    !-- kompiler kode --

    solution
solutionfile=C:\vssEnhetsTest\Source\Enhetstester\Enhetstester.sln
configuration=debug /

 /project



And this is what I get when I run it from the command prompt:



 

C:\VSS\Work\Buildnant -buildfile:compilesolution.build



NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26.12.2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net



Buildfile: file:///C:/VSS/Work/Build/compilesolution.build

 [solution] Starting solution build.

 [solution] Building Medina
[debug]...

 [solution] Building Felles [debug]...



BUILD FAILED



INTERNAL ERROR



System.ComponentModel.Win32Exception: The system cannot find the file
specified

   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo
startIn

fo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   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]



Total time: 1.6 seconds.





Thanks

__
Fernando Moreno Oviedo
WM-data AS
Strømsveien 102
Postboks 6432, Etterstad
0605 OSLO
Tel: 225770 00
Mobil41454 854
Faks: 2257 70 70
e-post: feovi@wmdata.no
www.wmdata.no


Syncronos har fusjonert med WM-data fra 1. januar 2006. Merk ny
kontaktinformasjon som telefon- og telefaksnummer samt postadresse.








[nant-dev] Build against .NET FX 2.0 Release C# Projects

2006-02-01 Thread Rick Garibay
 Error.txt I am trying to build a .NET 2.0 project. I know that VS
2005 solutions aren't supported yet, but are projects supported?

This is what I am running at the command line: nant -t:net-2.0 build
where build is the name of my target.

Also, I changed all references in the framework element where the name
attribute is net-2.0 from the BETA 1 build to the release version of
v2.0.50727 as follows:

framework 
name=net-2.0 
family=net 
version=2.0 
description=Microsoft .NET Framework 2.0 
runtimeengine=
sdkdirectory=${path::combine(sdkInstallRoot,
'bin')} 
frameworkdirectory=${path::combine(installRoot,
'v2.0.50727')} 
 
frameworkassemblydirectory=${path::combine(installRoot, 'v2.0.50727')}
clrversion=2.0.50727



Any help greatly appreciated.

Rick G. Garibay
Corporate Systems
Development Lead, MCP
DriveTime Sales  Finance Co.






This email message and any attachments contain information which may be 
privileged and confidential. If you are not the intended recipient or have 
received this transmission in error, please notify the sender immediately and 
destroy all electronic and hard copies of the communication, including 
attachments. Any disclosure, copying, distribution or use of this information 
is strictly prohibited.  Thank you.



NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///S:/Int/EAIInt/DriveTime.BusinessEntities.Common/DriveTime.BusinessEntities.Common.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build 


build:

 [solution] Starting solution build.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance of an 
object.
   at NAnt.VSNet.ProjectFactory.IsUrl(String fileName)
   at NAnt.VSNet.ManagedProjectBase.get_ProjectPath()
   at NAnt.VSNet.CSharpProject.VerifyProjectXml(XmlElement docElement)
   at NAnt.VSNet.ProjectBase..ctor(XmlElement xmlDefinition, SolutionTask 
solutionTask, TempFileCollection temporaryFiles, GacCache gacCache, 
ReferencesResolver referencesResolver, DirectoryInfo outputDir)
   at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String 
projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, 
TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, 
DirectoryInfo outputDir)
   at NAnt.VSNet.CSharpProject..ctor(SolutionBase solution, String projectPath, 
XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, 
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir)
   at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, 
SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
ReferencesResolver referencesResolver, DirectoryInfo outputDir, String 
projectPath)
   at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask 
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
referencesResolver, DirectoryInfo outputDir, String path)
   at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, 
ReferencesResolver refResolver)
   at NAnt.VSNet.SolutionBase..ctor(SolutionTask solutionTask, 
TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver)
   at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask, 
TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver)
   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.1 seconds.



[nant-dev] NAnt install error

2006-02-01 Thread Jeremy Veeder
Title: NAnt install error






What could be the problem with the installation?

Thanks

Jeremy



Here is the log:-


Setting environment for using Microsoft Visual Studio .NET 2003 tools.

(If you have another version of Visual Studio or Visual C++ installed and wish

to use its tools from the command line, run vcvars32.bat for that version.)


H:\c:


C:\cd C:\Documents and Settings\jeremyve\Desktop\nant-0.85-rc3


C:\Documents and Settings\jeremyve\Desktop\nant-0.85-rc3nmake -f Makefile.nmake install prefix=C:\Program Files


Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation. All rights reserved.


 if not exist bootstrap md bootstrap

 if not exist bootstrap\lib md bootstrap\lib

 xcopy lib bootstrap\lib /S /Y /Q

36 File(s) copied

 copy lib\log4net.dll bootstrap

 1 file(s) copied.

 copy src\NAnt.Console\App.config bootstrap\NAnt.exe.config

 1 file(s) copied.

 bootstrap\NAnt.exe -f:NAnt.build install -D:install.prefix=C:\ProgramFiles

NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005)

Copyright (C) 2001-2005 Gerry Shaw

http://nant.sourceforge.net


Buildfile: file:///C:/Documents and Settings/jeremyve/Desktop/nant-0.85-rc3/NAnt.build

Target framework: Microsoft .NET Framework 1.1

Target(s) specified: install


 [tstamp] Monday 30 January 2006 12:38:55.


init:



debug:



set-framework-configuration:



set-net-1.1-framework-configuration:



build:


 [echo] Build Directory is C:\Documents and Settings\jeremyve\Desktop\nant-0.85-rc3/build/net-1.1.win32/nant-0.85-debug

 [nant] C:\Documents and Settings\jeremyve\Desktop\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build

 Buildfile: file:///C:/Documents and Settings/jeremyve/Desktop/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.build

 Target framework: Microsoft .NET Framework 1.1

 Target(s) specified: build



 build:



 BUILD FAILED


 INTERNAL ERROR


 System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure Strings.resources was correctly embedded or linked into assembly NAnt.DotNetTasks.

 baseName: Strings locationInfo: null resource file name: Strings.resources assembly: NAnt.DotNetTasks, Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null

 at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)

 at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)

 at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)

 at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)

 at NAnt.Core.Util.ResourceUtils.GetString(String name, CultureInfo culture, Assembly assembly)

 at NAnt.Core.Util.ResourceUtils.GetString(String name)

 at NAnt.DotNet.Tasks.CscTask.NeedsCompiling()

 at NAnt.DotNet.Tasks.CompilerBase.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.2 seconds.



BUILD FAILED


Nested build failed. Refer to build log for exact reason.


Total time: 0.8 seconds.


NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1'

Stop.



---
This e-mail message may contain confidential, commercial and privileged information or data that constitute proprietary information of Cellcom Israel Ltd. Any review or distribution by others is strictly prohibited. If you are not the intended recipient you are hereby notified that any use of this information or data by any other person is absolutely prohibited. If you are not the intended recipient, please delete all copies.

Thank You.
http://www.cellcom.co.il





Re: [nant-dev] New XML tasks and functions

2006-02-01 Thread John Ludlow
Sorry for the message spam, but I have one final update.I couldn't figure out how to allow multiple namespaces, since NAnt seem to doesn't have any concept of a params array parameter for functions. I thought about this and I'm not entirely sure why you'd want to specify multiple namespaces anyway (I was just trying to replicate the existing xmlpeek task), so I gave up and just allowed you to specify one namespace.
If you wanted to replicate the example given in the xmlpeek help, this is how you'd do it:echo message=${xml::get-value-using-ns('test.xml', '/x:configuration/x:appSettings/x:[EMAIL PROTECTED] = ''server'']/@value', xml::get-ns('x', '
http://www.gordic.cz/shared/project-config/v_1.0.0.0'))}/xml::get-ns(string prefix, string uri)Will create you a namespace object from the prefix and uri that you pass in
xml::get-value-using-ns(string xmlFile, string xPath, XmlNamespace xmlNamespace)Will get a value using the namespace you pass in.This is the code for it:  public static string GetXmlValueUsingNamespaces(string xmlFile, string xPath, XmlNamespace xmlNamespace)
 { XmlDocument xd = new XmlDocument(); xd.Load(xmlFile); XmlNamespaceManager nsMgr = new XmlNamespaceManager(xd.NameTable); XmlNamespace xns = new XmlNamespace();
 if (xmlNamespace.IfDefined  !xmlNamespace.UnlessDefined)  { nsMgr.AddNamespace(xmlNamespace.Prefix, xmlNamespace.Uri); } try
 { string s = xd.SelectSingleNode(xPath, nsMgr).Value; } catch(NullReferenceException err) { throw new BuildException(The specified node could not be found, err);
 } return s; } [Function(get-ns)] public static XmlNamespace GetNamespace(string prefix, string uri) { XmlNamespace xn = new XmlNamespace();
 xn.Prefix = prefix; xn.Uri = uri; return xn; }Let me know if this does the job. If so, I'll adapt the other functions to use namespaces to have similar alternatives when I have more time.
CheersJohnOn 30/01/06, John Ludlow [EMAIL PROTECTED] wrote:
Actually, scratch that. It seems that it needs to implement IConvertible if it needs to pass to that function. I'll carry on looking at it, and let you know how I get on.
On 30/01/06, 
John Ludlow [EMAIL PROTECTED] wrote:

Hi, Martin,I've knocked together the following two functions. I haven't tested them yet, but they don't exactly work ideally anyway. I want to be able to have a params array of XmlNamespace[] as the last parameter, but it won't let me do that because, apparently, XmlNamespace needs to implement IConvertible. I've taken a quick gander at this and it looks like implementing this might be a big job.
If I can get that working, the syntax would be something like  ${xml::get-value-using-ns('test.xml', '/data/something', xml::get-ns('x', '

http://x-uri'), xml::get-ns('y', '
http://y-uri'))}OTOH, there might be a good reason that XmlNamespace doesn't support this interface.What do you think? [Function(get-value-using-ns)] public static string GetXmlValue(string xmlFile, string xPath, XmlNamespace xmlNamespace)
 { XmlDocument xd = new XmlDocument(); xd.Load(xmlFile); XmlNamespaceManager nsMgr = new XmlNamespaceManager(xd.NameTable); XmlNamespace xns = new XmlNamespace();
 if (xmlNamespace.IfDefined  !xmlNamespace.UnlessDefined)  { nsMgr.AddNamespace(xmlNamespace.Prefix, xmlNamespace.Uri); } string s = 
xd.SelectSingleNode(xPath, nsMgr).Value; return s; } [Function(get-ns)] public static XmlNamespace GetNamespace(string prefix, string uri) {


 XmlNamespace xn = new XmlNamespace(); xn.Prefix = prefix; xn.Uri = uri; return xn; }BTW, I couldn't get your example of a namespace working. It kept complaining about the version number in the preprocessor. I copied the one from the NAnt help which worked ok.
On 30/01/06, Martin Aliger 

[EMAIL PROTECTED] wrote:
Hello,I like it very much. Expecially functions. Bad luck I personally neednamespace support, since mine xmls have some namespace in it. And evendefault namespace needs specification in xpaths :-(

Maybe there could be some elegant way how to pass namespace mapping into
functions. New type come to my mind. It could be elegant perhaps.btw: does nant functions support overloading and/or default parameter value?bool xml::value-exists (string xmlFile, string xPath,
NamespaceMap nsMap = null)===Here is typical use of namespace map (taken from my real script):xmlpeekfile=${prjconfig}
xpath=x:Project/x:ExeNameproperty=newexefailonerror=true
failonnonode=falsenamespacesnamespace
prefix=x uri=http://www.gordic.cz/shared/project-config/v_1.0.0.0
//namespaces
/xmlpeekAnd sample xml file is here (changed to protect innocent):?xml version=1.0 encoding=utf-8?Project xmlns=


http://www.gordic.cz/shared/project-config/v_1.0.0.0Namefoo/NameDescriptionfoobar/DescriptionExeNamefootest/ExeName/Project


===I missed xml-foreach once too, but nowadays I do not need it. Still it couldbe worth addition to NAnt(Contrib) tasks!Martin Aliger -Original Message- From: 


[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On Behalf Of John Ludlow Sent: Tuesday, January 24, 2006 7:19 

[nant-dev] Nant + Oracle Issue.

2006-02-01 Thread Ponvannan P





I am using Nant script to execute Oracle Script.

my Syntax is like this.
sql
 connstring="Provider=MSDAORA; Data Source=15.31.12.30:1250,db3;User
Id=pons;Password=pons;" 
 transaction="true"
 delimiter=";"
 delimstyle="Normal"
 print="true"
 source="oracle.txt"
 output="oracleoutput.txt"
/

my databse server is in linux.
server IP: 15.31.12.30
server Port : 1250

i m getting runtime error and log file is generated.

log file description

***
Fatal NI connect error 12514, connecting to:
(DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=10.31.180.30)(CID=(PROGRAM=E:\msbuild\nant-0.85-rc3\bin\NAnt.exe)(HOST=VSDT0989)(USER=ponvannanp)))(ADDRESS=(PROTOCOL=TCP)(HOST=20.31.1258.30)(PORT=1521)))

 VERSION INFORMATION:
 TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
 Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version
9.2.0.1.0 - Production
 Time: 04-JAN-2006 15:55:49
 Tracing not turned on.
 Tns error struct:
 nr err code: 0
 ns main err code: 12564
 TNS-12564: TNS:connection refused
 ns secondary err code: 0
 nt main err code: 0
 nt secondary err code: 0
 nt OS err code: 0


Error Output.

BUILD FAILED

INTERNAL ERROR

System.Data.OleDb.OleDbException: Oracle error occurred, but error
message could not be retrieved from Oracle.
 at
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection)
 at
System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, Object poolGroupProviderInf
o, DbConnectionPool pool, DbConnection owningObject)
 at
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection
owningConnection, DbConnection
PoolGroup poolGroup)
 at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
 at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory conne
ctionFactory)
 at System.Data.OleDb.OleDbConnection.Open()
 at NAnt.Contrib.Util.SqlHelper..ctor(String connectionString,
Boolean useTransaction) in e:\cvs\NAntContrib\src\Util\
SqlHelper.cs:line 46
 at NAnt.Contrib.Tasks.SqlTask.ExecuteTask() in
e:\cvs\NAntContrib\src\Tasks\SqlTask.cs:line 330
 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 nant-developers@lists.sourceforge.net.

Total time: 1.7 seconds.

Please help me on this issue.

Thanks and Regards
P.Ponvannan.





***
Fatal NI connect error 12514, connecting to:
 
(DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=10.31.180.30)(CID=(PROGRAM=E:\msbuild\nant-0.85-rc3\bin\NAnt.exe)(HOST=VSDT0989)(USER=ponvannanp)))(ADDRESS=(PROTOCOL=TCP)(HOST=10.31.180.30)(PORT=1521)))

  VERSION INFORMATION:
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 
9.2.0.1.0 - Production
  Time: 04-JAN-2006 15:55:49
  Tracing not turned on.
  Tns error struct:
nr err code: 0
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0


RE: [nant-dev] Please give me the solution for the problem ASAP-Thanks

2006-02-01 Thread Gert Driesen
Arun,

Are you sure you've installed NAnt correctly ?

Gert 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of arun kumar
 Sent: zaterdag 14 januari 2006 10:58
 To: nant-developers@lists.sourceforge.net
 Subject: [nant-dev] Please give me the solution for the 
 problem ASAP-Thanks
 
 Hi,
 When i execute the Nant build file,its showing the following error
  
 Buildfile: file:///C:/Documents and Settings/Arun/My 
 Documents/Visual Studio Projects/NAntBuildAndNunit/Nantbuild.build 
 Target framework: Microsoft .NET Framework 1.1 
 Target(s) specified: test 
 [property] Read-only property build.dir cannot be overwritten. 
 build: 
 test: 
 BUILD FAILED- 0 non-fatal error(s), 1 warning(s) 
 INTERNAL ERROR 
 System.IO.FileLoadException: The located assembly 'nunit. 
 core' is not strongly named. 
 File name: nunit.core 
 at NAnt.NUnit2.Tasks.NUnit2Task.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: 1.5 seconds. 
 
 
 
 Yahoo! Photos
 Got holiday prints? See all the ways 
 http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http:/
/pa.yahoo.com/
*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*htt
p://pg.photos.yahoo.com/ph//print_splash  to get quality prints  in your
hands ASAP.
 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] Build against .NET FX 2.0 Release C# Projects

2006-02-01 Thread Gert Driesen
Rick,

The solution task currently does not support .NET 2.0 solutions or
projects.

Gert

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Rick Garibay
 Sent: dinsdag 24 januari 2006 22:31
 To: nant-developers@lists.sourceforge.net
 Subject: [nant-dev] Build against .NET FX 2.0 Release C# Projects
 
  Error.txt I am trying to build a .NET 2.0 project. I know that VS
 2005 solutions aren't supported yet, but are projects supported?
 
 This is what I am running at the command line: nant -t:net-2.0 build
 where build is the name of my target.
 
 Also, I changed all references in the framework element where the name
 attribute is net-2.0 from the BETA 1 build to the release version of
 v2.0.50727 as follows:
 
 framework 
 name=net-2.0 
 family=net 
 version=2.0 
 description=Microsoft .NET Framework 2.0 
 runtimeengine=
 sdkdirectory=${path::combine(sdkInstallRoot,
 'bin')} 
 frameworkdirectory=${path::combine(installRoot,
 'v2.0.50727')} 
  
 frameworkassemblydirectory=${path::combine(installRoot, 
 'v2.0.50727')}
 clrversion=2.0.50727
 
 
 
 Any help greatly appreciated.
 
 Rick G. Garibay
 Corporate Systems
 Development Lead, MCP
 DriveTime Sales  Finance Co.
 
 
 
 
 
 
 This email message and any attachments contain information 
 which may be privileged and confidential. If you are not the 
 intended recipient or have received this transmission in 
 error, please notify the sender immediately and destroy all 
 electronic and hard copies of the communication, including 
 attachments. Any disclosure, copying, distribution or use of 
 this information is strictly prohibited.  Thank you.
 
 
 
 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] Nant Internal Error

2006-02-01 Thread Gert Driesen
Mohammed,

I ran into this issue myself once, but I could not reproduce it later on.

Can you consistently reproduce this issue ?

Gert

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Farooq Mohammed
 Sent: donderdag 5 januari 2006 18:39
 To: nant-developers@lists.sourceforge.net
 Subject: [nant-dev] Nant Internal Error
 
 INTERNAL ERROR
 
  
 
 System.ArgumentException: Invalid File or Directory attributes value.
 
at System.IO.File.SetAttributes(String path, 
 FileAttributes fileAttributes)
 
at NAnt.Core.Tasks.CopyTask.ExecuteTask()
 
at NAnt.Core.Task.Execute()
 
at NAnt.Core.TaskContainer.ExecuteChildTasks()
 
at NAnt.Core.Tasks.LoopTask.ExecuteChildTasks()
 
at NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals)
 
at NAnt.Core.Tasks.LoopTask.ExecuteTask()
 
at NAnt.Core.Task.Execute()
 
at NAnt.Core.TaskContainer.ExecuteChildTasks()
 
at NAnt.Core.Tasks.IfTask.ExecuteTask()
 
at NAnt.Core.Task.Execute()
 
at NAnt.Core.TaskContainer.ExecuteChildTasks()
 
at NAnt.Core.Tasks.IfTask.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.TaskContainer.ExecuteChildTasks()
 
at NAnt.Core.Tasks.IfTask.ExecuteTask()
 
at NAnt.Core.Task.Execute()
 
at NAnt.Core.TaskContainer.ExecuteChildTasks()
 
at NAnt.Core.Tasks.IfTask.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: 1.5 seconds.
 
  
 
 CONFIDENTIAL NOTICE: This message is intended only for the use of the 
 
 individual or entity to which it is addressed and may contain 
 information 
 
 that is privileged, confidential and exempt from disclosure 
 under applicable 
 
 law. If the reader of this message is not the intended 
 recipient, or the 
 
 employee or agent responsible for delivering the message to 
 the intended 
 
 recipient, you are hereby notified that any dissemination, 
 distribution or 
 
 copying of this communication is prohibited. Please notify us 
 immediately 
 
 by telephone if this message was transmitted in error. Thank you. 
 
 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Nant Internal Error

2006-02-01 Thread Dave Paul
I've run into this myself occasionally. It seems to only happen when 
copying to a mapped network drive. The drive being mapped is actually 
a samba share from a FreeBSD machine. Hope that helps,


Dave

Gert Driesen wrote:

Mohammed,

I ran into this issue myself once, but I could not reproduce it later on.

Can you consistently reproduce this issue ?

Gert



-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On 
Behalf Of Farooq Mohammed

Sent: donderdag 5 januari 2006 18:39
To: nant-developers@lists.sourceforge.net
Subject: [nant-dev] Nant Internal Error

INTERNAL ERROR



System.ArgumentException: Invalid File or Directory attributes value.

  at System.IO.File.SetAttributes(String path, 
FileAttributes fileAttributes)


  at NAnt.Core.Tasks.CopyTask.ExecuteTask()

  at NAnt.Core.Task.Execute()

  at NAnt.Core.TaskContainer.ExecuteChildTasks()

  at NAnt.Core.Tasks.LoopTask.ExecuteChildTasks()

  at NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals)

  at NAnt.Core.Tasks.LoopTask.ExecuteTask()

  at NAnt.Core.Task.Execute()

  at NAnt.Core.TaskContainer.ExecuteChildTasks()

  at NAnt.Core.Tasks.IfTask.ExecuteTask()

  at NAnt.Core.Task.Execute()

  at NAnt.Core.TaskContainer.ExecuteChildTasks()

  at NAnt.Core.Tasks.IfTask.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.TaskContainer.ExecuteChildTasks()

  at NAnt.Core.Tasks.IfTask.ExecuteTask()

  at NAnt.Core.Task.Execute()

  at NAnt.Core.TaskContainer.ExecuteChildTasks()

  at NAnt.Core.Tasks.IfTask.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: 1.5 seconds.



CONFIDENTIAL NOTICE: This message is intended only for the use of the 

individual or entity to which it is addressed and may contain 
information 

that is privileged, confidential and exempt from disclosure 
under applicable 

law. If the reader of this message is not the intended 
recipient, or the 

employee or agent responsible for delivering the message to 
the intended 

recipient, you are hereby notified that any dissemination, 
distribution or 

copying of this communication is prohibited. Please notify us 
immediately 

by telephone if this message was transmitted in error. Thank you. 








---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] nant not working for web application

2006-02-01 Thread Gert Driesen
Jayakumar,

Usage of WebDAV for deployment is actually deprecated, but you could try
using a more recent version of NAnt
(http://nant.sourceforge.net/nightly/latest).

Gert

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Gnanadesikan Jayakumar
 Sent: dinsdag 3 januari 2006 8:31
 To: nant-developers@lists.sourceforge.net
 Subject: [nant-dev] nant not working for web application
 
 Hi, 
 
 I have compiled the web project using nant.exe. it is giving 
 forbidden error. when i gave script source access option 
 checked in IIS, it is throwing the error shown below:
 
 Please kindly look thru it and give me the solution as soon 
 as possible 
 
 regards, 
 Jayakumar G. 
 
 Error thrown: 
 
 Buildfile: file:///C:/Projects/datauseradmin/datauseradmin.build 
 Target(s) specified: build 
 
 build: 
 
 clean: 
 
[delete] Deleting 0 files. 
  [solution] Starting solution build. 
 
 BUILD FAILED 
 
 INTERNAL ERROR 
 
 System.ArgumentException: URI formats are not supported. 
at System.IO.Path.GetFullPathInternal(String path) 
at System.IO.FileInfo..ctor(String fileName) 
at NAnt.VSNet.Project.Load(Solution sln, String 
 projectPath) in C:\DOCUME~1\A 
 DMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\Project.cs:line 150 
at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, 
 SolutionTask slnTask, 
 TempFileCollection tfc, GacCache gacCache, DirectoryInfo 
 outputDir, String path) 
  in 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\Pr
 ojectFactory.c 
 s:line 72 
at NAnt.VSNet.Solution.LoadProjects(GacCache gacCache) in 
 C:\DOCUME~1\ADMINI~ 
 1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\Solution.cs:line 535 
at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, 
 ArrayList additionalProje 
 cts, ArrayList referenceProjects, TempFileCollection tfc, 
 SolutionTask solutionT 
 ask, WebMapCollection webMaps, FileSet excludesProjects, 
 DirectoryInfo outputDir 
 , GacCache gacCache) in 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VS 
 Net\Solution.cs:line 130 
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in 
 C:\DOCUME~1\ADMINI~1\LOCALS 
 ~1\Temp\tmp26.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 365 
at NAnt.Core.Task.Execute() in 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\s 
 rc\NAnt.Core\Task.cs:line 151 
at NAnt.Core.Target.Execute() in 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp 
 \src\NAnt.Core\Target.cs:line 249 
at NAnt.Core.Project.Execute(String targetName, Boolean 
 forceDependencies) in 
  
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Pro
 ject.cs:line 892 
at NAnt.Core.Project.Execute() in 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tm 
 p\src\NAnt.Core\Project.cs:line 849 
at NAnt.Core.Project.Run() in 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\sr 
 c\NAnt.Core\Project.cs:line 917 
 
  
 The information contained in this e-mail may be confidential 
 and is intended solely for the use of the named addressee.
 Access, copying or re-use of the e-mail or any information 
 contained therein by any other person is not authorized.
 If you are not the intended recipient please notify us 
 immediately by returning the e-mail to the originator.(16b)
  
 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Build against .NET FX 2.0 Release C# Projects

2006-02-01 Thread Mike Edenfield

Rick Garibay wrote:

I am trying to build a .NET 2.0 project. I know that VS
2005 solutions aren't supported yet, but are projects supported?


Not natively.  VS2005 project files are MSBuild scripts, which are 
significantly different from old-style project files.  For one, they 
don't tell you what language your project is written in (not directly -- 
you can figure it out by which MSBuild targets are included).


To build them, you have several options.  There's a few patches floating 
around that will create new tasks for MSBuild projects; or you can cook 
up your own custom tasks.  Or, the quick-and-dirty way is to use exec 
to launch MSBuild and point it at your solution/project files.


--Mike





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Please give me the solution for the problem ASAP-Thanks

2006-02-01 Thread Mike Edenfield

arun kumar wrote:

Hi,
When i execute the Nant build file,its showing the following error



*BUILD FAILED*- 0 non-fatal *error*(s), 1 warning(s)
INTERNAL *ERROR*
System.IO.FileLoadException: The located assembly 'nunit. core' is not 
strongly named.

File name: nunit.core


When you say The Nant Build File, do you mean you are trying to 
compile NAnt from source, or you're trying to use NAnt to build 
something else?  (I only ask because the build file being executed is 
called NantBuild.Build, which looks incorrect.)


At any rate, the error here just means that .NET located a copy of NUnit 
 to load that was not signed.  This is probably because the NAnt 
executable or one of it's assemblies was strongly named, and you can't 
load the unnamed assembly from a named assembly.


Since it looks like you're compiling NUnit from source as well, you just 
need to make sure the NUnit assemblies aren't anywhere .NET will find 
them while building NAnt.  NAnt ships with signed copies of NUnit's 
assemblies, which will load without running into this problem.


If you rebuild all of NAnt and NUnit from source, you should then be 
able to use them together, since nothing will be strongly named and the 
Framework will not complain.


--Mike



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers