[nant-dev] (no subject)

2006-05-10 Thread LievenQ

Hi,

I am working on a generic cpp task, that's independent of the compiler. It  
simply checks which compiler is available, and then uses that one. I  
already have compiling and lib-ing for gcc working.
Now I want to implement linking, and I need a good way to specify library  
packages. Of course I could just expect that the user specifies the full  
library file names for each library, but that would be very tedious, and  
also won't work across multiple compilers. The best thing would probably  
be something like pkg-config, but then one that would also work with  
visual studio.
I could add some sort of package management to nant, with it's own config  
files, but I'm not really sure if that would be a good idea. Do you think  
if that's a good idea? Or does anybody have a better suggestion?


Greets,

Lieven van der Heide

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] (no subject)

2005-06-30 Thread Lachman Dhalliwal








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:/latch/BizDeploy/BT2004DeployWithNAntSample2.52/src/BizTalkSample.sln.deploy.build

Target framework: Microsoft
.NET Framework 1.1

Target(s) specified:
debugDeploy 



 [sysinfo] Setting system
information properties under sys.*



winVer:





setWinVer.5.2:





debugDeploy:





frameworkInitialize:





setPropertiesFromEnvironmentSettings:



 [echo] Setting
properties from environment settings file
(C:\latch\BizDeploy\BT2004DeployWithNAntSample2.52\src\EnvironmentSettings\devl_settings.xml):
ssoAppUserGroup,ssoAppAdminGroup

 [xmlpeek] Peeking at
'C:\latch\BizDeploy\BT2004DeployWithNAntSample2.52\src\EnvironmentSettings\devl_settings.xml'
with XPath _expression_ '/settings/[EMAIL PROTECTED]ssoAppUserGroup]'.

 [xmlpeek] Found '1' nodes
with the XPath _expression_
'/settings/[EMAIL PROTECTED]ssoAppUserGroup]'.

 [echo]
setPropertiesFromEnvironmentSettings Setting ssoAppUserGroup to value: BizTalk
Application Users

 [xmlpeek] Peeking at
'C:\latch\BizDeploy\BT2004DeployWithNAntSample2.52\src\EnvironmentSettings\devl_settings.xml'
with XPath _expression_ '/settings/[EMAIL PROTECTED]ssoAppAdminGroup]'.

 [xmlpeek] Found '1' nodes
with the XPath _expression_
'/settings/[EMAIL PROTECTED]ssoAppAdminGroup]'.

 [echo]
setPropertiesFromEnvironmentSettings Setting ssoAppAdminGroup to value: BizTalk
Server Administrators



_customDeployTarget:





customDeployTarget:





patchPortBinding:



 [attrib] Setting file
attributes for 1 files to Normal.

 [xmlpoke] Found '1' nodes
matching XPath _expression_
'/BindingInfo/ReceivePortCollection/ReceivePort/ReceiveLocations/[EMAIL PROTECTED]BizTalkSample_Sample1_File]/Address'.



unenlistOrchestrations:





reverseCSVString:





BUILD FAILED



INTERNAL ERROR



System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. ---
System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.

 at
Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer.set_ConnectionString(String
value)

 at
BizTalk.NAnt.Tasks.ControlOrchestrations..ctor()

 --- End of inner exception
stack trace ---

 at
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)

 at
System.Activator.CreateInstance(Type type, Boolean nonPublic)

 at
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder,
Object[] args, CultureInfo culture, Object[] activationAttributes)

 at
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder
binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

 at
System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase,
BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture,
Object[] activationAttributes)

 at NAnt.Core.TaskBuilder.CreateTask()

 at
NAnt.Core.TypeFactory.CreateTask(XmlNode taskNode, Project proj)

 at
NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target)

 at
NAnt.Core.TaskContainer.CreateChildTask(XmlNode node)

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





The contents of this email and any attachments are sent for the personal attention
of the addressee(s) only and may be confidential.  If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message.  Any
representations or commitments expressed in this email are subject to contract. 
 
ntl Group Limited






[nant-dev] (no subject)

2005-05-17 Thread stef.spikker






I have the following error come up when trying to get code out of starteam with the use of nant:


getsource:



BUILD FAILED


INTERNAL ERROR


System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID

{3A593178-644A-11D7-B316-0800209CC2CE} is either not valid or not registered.

 at NAnt.Contrib.Tasks.StarTeam.StarTeamTask.openView()

 at NAnt.Contrib.Tasks.StarTeam.TreeBasedTask.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]


Any help much appreciated.





[nant-dev] (no subject)

2005-05-17 Thread stef.spikker










[nant-dev] (no subject)

2005-05-03 Thread stef.spikker






BUILD FAILED


INTERNAL ERROR


System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID

{3A593178-644A-11D7-B316-0800209CC2CE} is either not valid or not registered.

 at NAnt.Contrib.Tasks.StarTeam.StarTeamTask.openView()

 at NAnt.Contrib.Tasks.StarTeam.TreeBasedTask.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] (no subject)

2005-03-05 Thread Chris Hoffman








HELP!



Im new to nAnt and am using a quick tutorial found on the
following page;

http://joefield.mysite4now.com/blog/articles/146.aspx



Im using:

CruiseControl.NET 0.7

NAnt v0.84

NAntContrib v0.84

NUnit 2.2





All goes well until I actually try to compile a simple
project, receiving the following error



-



C:\BuildProcessstartnant.bat



C:\BuildProcessNAnt 0.84\bin\nant.exe
-buildfile:cruise.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:/BuildProcess/cruise.build

Target(s) specified: run



clean:



 [delete] Deleting directory C:\BuildProcess\CITest.

 [mkdir] Creating directory C:\BuildProcess\CITest.



get:



 [vssget] Put $/CITest to CITest



build:



[solution] Starting solution build.



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

sk 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.2 seconds.



-





Please respond as soon as you can

Thanx

Chris Hoffman










RE: [nant-dev] (no subject)

2005-03-05 Thread Gert Driesen



Chris,

I'd highly recommend upgrading to a more recent version of 
NAnt(Contrib). Lots of issues with the solution task have been 
fixed since.

Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Chris 
  HoffmanSent: donderdag 3 maart 2005 18:56To: 
  nant-developers@lists.sourceforge.netSubject: [nant-dev] (no 
  subject)
  
  
  HELP!
  
  Im new to nAnt and am using a 
  quick tutorial found on the following page;
  http://joefield.mysite4now.com/blog/articles/146.aspx
  
  Im 
  using:
  CruiseControl.NET 
  0.7
  NAnt 
  v0.84
  NAntContrib 
  v0.84
  NUnit 
  2.2
  
  
  All goes well until I actually try 
  to compile a simple project, receiving the following 
  error
  
  -
  
  C:\BuildProcessstartnant.bat
  
  C:\BuildProcess"NAnt 
  0.84\bin\nant.exe" -buildfile:cruise.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:/BuildProcess/cruise.build
  Target(s) specified: 
  run
  
  clean:
  
   [delete] Deleting 
  directory C:\BuildProcess\CITest.
   [mkdir] 
  Creating directory C:\BuildProcess\CITest.
  
  get:
  
   [vssget] Put $/CITest 
  to CITest
  
  build:
  
  [solution] Starting solution 
  build.
  
  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.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, 
  SolutionTa
  sk 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.2 
  seconds.
  
  -
  
  
  Please respond as soon as you 
  can
  Thanx
  Chris 
  Hoffman
  


[nant-dev] (no subject)

2004-12-28 Thread suresh garre
Hi, 
I am getting the following error with NDoc.please check it.
An error occured while trying to build the documentation.
Exception: NDoc.Core.DocumenterExceptionThere is an invalid character in the given encoding. Line 39612, position 76.
Exception: System.Xml.XmlExceptionThere is an invalid character in the given encoding. Line 39612, position 76.
Thanks in advance,
suresh garre.

Yahoo! India Matrimony: Find your life partner
online.

[nant-dev] (no subject)

2004-12-22 Thread Halloul, Rachid






Any idea why I'm getting this error ?


Thanks.




INTERNAL ERROR


System.ArgumentNullException: Value cannot be null.

Parameter name: path1

 at System.IO.Path.Combine(String path1, String path2)

 at NAnt.VisualCpp.Tasks.McTask.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()






RE: [nant-dev] (no subject)

2004-12-22 Thread Gert Driesen



Rachid,

Please provide more information : what version of NAnt, 
provide a fragment of your build file or even better : send us a small repro 
(test app).

Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Halloul, RachidSent: dinsdag 21 december 2004 
  16:54To: [EMAIL PROTECTED]Subject: 
  [nant-dev] (no subject)
  
  Any idea why I'm getting this error ? 
  Thanks. 
  INTERNAL ERROR 
  System.ArgumentNullException: Value cannot be 
  null. Parameter name: path1 
   at System.IO.Path.Combine(String 
  path1, String path2)  at 
  NAnt.VisualCpp.Tasks.McTask.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() 


[nant-dev] (no subject)

2004-10-14 Thread John_E_Wilson




To whom it may concern:

I am trying to use NANT to build some Visual Studio .NET solutions using
NANt, but have received the following error. I am using NANT to drive
additional builds, I am only getting this error when attempting to build
the .NET C# code.

BUILD FAILED

INTERNAL ERROR

System.IO.DirectoryNotFoundException: Could not find a part of the path
C:\DOCUME~1\jwilson4\LOCALS~1\Temp\zzztpkda.
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath,
Boolean recursive)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean
recursive)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED]

Thanks



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] (no subject)

2004-10-14 Thread Gert Driesen
John,
That issue was fixed since. Can you try using a recent nightly build of NAnt 
(http://nant.sourceforge.net/nightly/builds) ?

Thanks !
Gert
- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 11, 2004 4:02 PM
Subject: [nant-dev] (no subject)




To whom it may concern:
I am trying to use NANT to build some Visual Studio .NET solutions using
NANt, but have received the following error. I am using NANT to drive
additional builds, I am only getting this error when attempting to build
the .NET C# code.
BUILD FAILED
INTERNAL ERROR
System.IO.DirectoryNotFoundException: Could not find a part of the path
C:\DOCUME~1\jwilson4\LOCALS~1\Temp\zzztpkda.
  at System.IO.__Error.WinIOError(Int32 errorCode, String str)
  at System.IO.Directory.DeleteHelper(String fullPath, String userPath,
Boolean recursive)
  at System.IO.Directory.Delete(String fullPath, String userPath, Boolean
recursive)
  at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
  at NAnt.Core.Task.Execute()
  at NAnt.Core.Target.Execute()
  at NAnt.Core.Project.Execute(String targetName)
  at NAnt.Core.Project.Execute()
  at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]
Thanks

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out 
more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] (no subject)

2004-07-15 Thread Michael Dunn
build:
 [solution] Starting solution build.
BUILD FAILED
INTERNAL ERROR
System.ArgumentNullException: Value cannot be null.
Parameter name: path2
   at System.IO.Path.Combine(String path1, String path2)
   at NAnt.VSNet.VcConfiguration.get_OutputPath() in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.VSNet\VcConfiguration.cs:line 
161
   at NAnt.VSNet.ProjectBase.GetOutputPath(String configuration) in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.VSNet\ProjectBase.cs:line 
183
   at NAnt.VSNet.Solution.GetDependenciesFromProjects() in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.VSNet\Solution.cs:line 
603
   at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList 
additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, 
SolutionTask solutionTask, WebMapCollection webMaps, FileSet e
xcludesProjects, DirectoryInfo outputDir, GacCache gacCache, 
ReferencesResolver refResolver) in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.VSNet\Solution.cs:line 
131
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 
375
   at NAnt.Core.Task.Execute() in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.Core\Task.cs:line 176
   at NAnt.Core.Target.Execute() in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.Core\Target.cs:line 249
   at NAnt.Core.Project.Execute(String targetName, Boolean 
forceDependencies) in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.Core\Project.cs:line 873
   at NAnt.Core.Project.Execute() in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.Core\Project.cs:line 830
   at NAnt.Core.Project.Run() in 
C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp76E.tmp\src\NAnt.Core\Project.cs:line 898

Please send bug report to [EMAIL PROTECTED]

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] (no subject)

2004-06-10 Thread srini5474
provide me solution for: 
 
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.Project.Execute()
   at NAnt.Core.Project.Run()Indiatimes Email now powered by APIC Advantage. Help! HelpClick on the image to chat with me


Re: [nant-dev] (no subject)

2004-06-10 Thread Gert Driesen



What version of NAnt are you using ?

Can you try using a recent nightly build (http://nant.sourceforge.net/nightly/builds) 
?

Gert

  - Original Message - 
  From: 
  srini5474 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, June 08, 2004 8:25 
AM
  Subject: [nant-dev] (no subject)
  provide me solution for: 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.Project.Execute() at 
  NAnt.Core.Project.Run()
  
  Indiatimes Email now powered by APIC Advantage. 
  Help! 
  Help
  Click on 
  the image to chat with me
  


[nant-dev] (no subject)

2004-01-26 Thread kkedro
The message contains Unicode characters and has been sent as a binary attachment.



body.zip
Description: Binary data


[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








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


[nant-dev] (no subject)

2003-09-18 Thread James C. Papp
Sorry if this message was sent twice.  I did not realize I needed to be a 
subscriber to post a message to the list.  So let’s see if this gets through 
now that I am.  

How do the NAnt developers feel about adding an “options” property to 
CompilerBase.cs?  It would work just like the options property in ClTask.cs.  
The reason for this is two fold:

1.) It allows access to command line options that are currently not 
support by NAnt, and gives future support to new ones without changes to NAnt.
2.) It allows scripts/code/tasks to auto-generate parameters in NAnt 
properties and pass them to the compiler. 

Also…, I did try to using “arg” properties that are part of any external task; 
but they have a few problems.

1.) They do not get included in the compiler response file that NAnt 
builds.  We have notice that csc.exe does weird things when you have some 
options in a response file with others that are not (particularly 
with /reference).
2.) They do not allow sophisticated auto-generation of parameters because 
each parameters needs to be a separate xml element.  Sometimes the number of 
parameters needs is dynamic or not known ahead of time.   Being able to pass a 
single property for custom options is so convenient.
3.) “arg” does not work with multi-part parameters in an easy way and by 
this I mean parameters like “–file somefile”.  It would need to use two 
separate “arg” elements because by default, arguments with spaces are quoted 
and treated as a single argument.

The code changes to CompilerBase.cs are simple and would look something like 
this:

public abstract class CompilerBase : ExternalProgramBase {
…
string _options = null;
…

/// summaryOptional parameters to pass to compiler./summary
[TaskAttribute(options)]
public string Options{ get { return _options; } set { _options 
= value; }}
…

   protected override void ExecuteTask() {
…
if (_options != null)  {
writer.WriteLine(“{0}”, _options);
}
…
}
}

The options parameters should be written right after “addmodule” parameters 
are written (this is a change that should also be done for the CLTask.cs as 
well) so that you can override NAnt parameters if you need to.  For example, 
currently in CLTask.cs parameters “/Fd” and “/Fo” are set to the sample output 
directory.  In are builds we need them to be different.  So naturally, we 
thought we could use the “options” property to override this behavior but 
since “options” are always written first, they can never override parameters 
that NAnt uses…

Anyway, this change would simplify our NAnt scripts significantly (we actually 
uses a special version of NAnt with this change that we created).   So what 
does everyone think?  

James C. Papp
[EMAIL PROTECTED]



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] (no subject)

2003-09-10 Thread Tharen Debold
Is there any work being done here?  I noticed a few todo’s regaring 
dependencies, etc.  Since I’m in need of this task, I might find some time 
to work on this…  however, have any thoughts been given to where/how to 
store dependency info?



 Tharen

_
Compare Cable, DSL or Satellite plans: As low as $29.95.  
https://broadband.msn.com



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] (no subject)

2003-07-22 Thread Farris, Keith






Got the following exception trying to build a solution including about 20 VB.NET projects. I'm using RC1 but I got the latest SolutionTask.cs from CVS.

Buildfile: file:///c:/tms.nant.build

Base Directory: c:\.


buildAllSolution:


[solution] Starting solution build.

[solution] Included projects:

[solution] Reference projects:

Total time: 5 seconds.


BUILD FAILED


INTERNAL ERROR


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

 at NAnt.VSNet.Tasks.Reference..ctor(Solution sln, ProjectSettings ps, XmlElement elemReference, Task nanttask) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Reference.cs:line 41

 at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Project.cs:line 129

 at NAnt.VSNet.Tasks.Solution.LoadProjects() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Solution.cs:line 171

 at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList alAdditionalProjects, ArrayList alReferenceProjects, Task nanttask) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Solution.cs:line 89

 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 108

 at NAnt.Core.Task.Execute() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Task.cs:line 142

 at NAnt.Core.Target.Execute() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Target.cs:line 137

 at NAnt.Core.Project.Execute(String targetName) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Project.cs:line 579

 at NAnt.Core.Project.Execute() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Project.cs:line 562

 at NAnt.Core.Project.Run() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Project.cs:line 603


This email message and any attachments are for the sole use of the intended recipient(s) and contain confidential and/or privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message and any attachments.