[Fwd: Re: [nant-dev] style task]

2003-09-26 Thread Ian MacLean

--- Begin Message ---
+1 for me. This would be useful. Should it go in core or NAntcontrib 
though ?

Ian

Hi,



I wrote a style task that basically wraps a style program called astyle
(Artystic style http://astyle.sf.net  ).  The
astyle program is a code formatting tools that cleans/ standardizes your
source code.  The task is not really ground breaking but I have not been
able to find a port of jalopy (or similar tool) yet and this seems to do
the trick.  The task does not do a lot more than wrap the exe and
provide some fileset support.


I submitted a zip file earlier with the source code and binaries for
astyle but unfortunately they must have been a little too large (my bad,
sorry).  If there is an interest in this type of task I can clean up the
code I have, write some unit tests for it and commit what I have, just
let me know.


Thanks,



Clayton



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



--- End Message ---


[nant-dev] error using Solution task

2003-09-26 Thread Jonathan David
Help.  I'm new to Nant (have used ANT in the Past) and I get the following error  when 
using the solution task:

INTERNAL ERROR

System.IO.DirectoryNotFoundException: Could not find a part of the path 
"C:\DOCUME~1\JONATH~1\LOCALS~1\Temp\ntjvg2hj".
   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 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jonathan David  
Configuration Management
tel: 416.601.9833 x323   fax: 416.601.9491

x.eye incorporated  
2425 Matheson Blvd, East, 4th Floor
Mississauga, ON
L4W 5K4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .



---
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] Error using task (addendum)

2003-09-26 Thread Jonathan David
I get the following error when using the solution task in nAnt rev. 0.8.3:


Buildfile: file:///C:/X.eye Workfiles/CORE/.netclient/app/xeye/framework/nant.build

str_framework:

 [solution] Starting solution build.
Total time: 0 seconds.

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 System.IO.DirectoryInfo..ctor(String path)
   at NAnt.VSNet.Tasks.ConfigurationSettings..ctor(ProjectSettings ps, XmlElement 
elemConfig)
   at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename)
   at NAnt.VSNet.Tasks.Solution.LoadProjects()
   at NAnt.VSNet.Tasks.Solution..ctor(ArrayList alProjects, ArrayList 
alReferenceProjects, TempFileCollection tfc, Task nanttask)
   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

Here is what my build file looks like:












Please let me know what's causing this error to be thrown


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jonathan David  
Configuration Management
tel: 416.601.9833 x323   fax: 416.601.9491

x.eye incorporated  
2425 Matheson Blvd, East, 4th Floor
Mississauga, ON
L4W 5K4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .



---
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] LicenseTask - Failed to access existing DesignTime license

2003-09-26 Thread Dr. Rainer Hessmer
I hope it is ok for me to post this email to this group. I am not an
active NAnt developer but I am familiar with the code. Here is a problem
that I encountered:

I use the NAnt.VSNet task to compile a solution consisting of a number
of projects that use various (licensed) Infragistics controls. While the
same solution builds fine in VisualStudio.Net 2003, the license task
fails when the solution is compiled with NAnt. It turns out that the
issue is the following line in the file LicenseTask.cs that is linked
into the NAnt.Win32 project:

// Now try to create the licensed component - this
gives us a license
try {
LicenseManager.CreateWithContext(tp, dlc);
}

Please note that the controls ARE licensed. The involved license file
licenses.licx holds the following content:
Infragistics.Win.UltraWinToolbars.UltraToolbarsManager,
Infragistics.Win.UltraWinToolbars.v2, Version=2.0.5000.22,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb


I isolated the problem down to this: You can execute the license task
against the license file successfully as long as only the assembly that
holds the type Infragistics.Win.UltraWinToolbars.UltraToolbarsManager is
loaded into the AppDomain. As soon as the assembly
Infragistics.Shared.v2.dll is also loaded into the AppDomain, the
license task fails with this error:

Failed to create license for type
Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
License attribute not found

I helped myself by deleting the following code from the file
LicenseTask:

// Now try to create the licensed component - this gives us a
license
try {
LicenseManager.CreateWithContext(tp, dlc);
}
catch (Exception e) {
throw new
BuildException(String.Format(CultureInfo.InvariantCulture,  "Failed to
create license for type {0}", tp), Location, e);
} 

I wonder whether this code should not officially be deleted from the
class. A design-time license is checked when a component is instantiated
at design time. During a pure build that is not the case. If this is not
acceptable then more work would be required in order to find out how an
additionally loaded assembly can affect how a given type reacts to the
LicenseManager.CreateWithContext(...) call.

Regards,
Rainer Hessmer



---
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] Bug Report for NAnt

2003-09-26 Thread Martin Bennedik
I had the following bug when trying to use NAnt, please help:

C:\Data\BuildIt\Code>"C:\Program Files\NAnt\bin\Nant"
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Data/BuildIt/Code/qca.build

interfaces:

 [solution] Starting solution build.
 [solution] Included projects:
 [solution] Reference projects:
 [solution] Building TDS.Interfaces [Release]...
 [solution] Copying references:
 [solution]  - System
Total time: 0 seconds.

BUILD FAILED

INTERNAL ERROR

System.Exception: Couldn't find referenced assembly:
c:\data\WINDOWS\Microsoft.N
ET\Framework\v1.1.4322\System.dll
   at NAnt.VSNet.Tasks.Reference.GetReferenceFiles(ConfigurationSettings
cs)
   at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration,
ArrayList alCSCA
rguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration,
ArrayList alCSC
Arguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Target.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]

Martin Bennedik
Applications Developer
3T Productions Ltd
Tel: (0161) 492-1400
Fax: (0161) 492-1401
www.3t.co.uk
 
Standard Disclaimer

This message is confidential. You should not copy it or disclose its
contents to anyone. You may use and apply the information only for the
intended purpose. Internet communications are not secure and therefore
3T does not accept legal responsibility for the content of this message.
Any views or opinions presented are only those of the author and not
those of 3T. If the e-mail has come to you in error please delete it and
any attachments. Please note that 3T may intercept incoming and outgoing
e-mail communications.






---
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] "options" for CompilerBase.cs

2003-09-26 Thread James C. Papp

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

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

   protected override void ExecuteTask() {
…
if (_options != null)
{
  WriteOption(writer, _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] style task

2003-09-26 Thread Clayton Harbour
Hi,

 

I wrote a style task that basically wraps a style program called astyle
(Artystic style http://astyle.sf.net  ).  The
astyle program is a code formatting tools that cleans/ standardizes your
source code.  The task is not really ground breaking but I have not been
able to find a port of jalopy (or similar tool) yet and this seems to do
the trick.  The task does not do a lot more than wrap the exe and
provide some fileset support.

 

I submitted a zip file earlier with the source code and binaries for
astyle but unfortunately they must have been a little too large (my bad,
sorry).  If there is an interest in this type of task I can clean up the
code I have, write some unit tests for it and commit what I have, just
let me know.

 

Thanks,

 

Clayton



---
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] SqlTask Too Verbose

2003-09-26 Thread Turpin, Jay
Title: SqlTask Too Verbose 






Hi! How do I turn down the verbosity of the SqlTask? I set verbose=false in my Nant build file, but it still spits out all the SQL statements being run to the console and my Draco.NET log file. I noticed it was updated a couple months ago to properly build with the latest version of Nant and the Log.WriteLineIf(this.Verbose, statement); being replaced with Log(Level.Info, statement); 

I only want to see these messages when I'm encountering problems. Can we change the Level.Info to Level.Error instead?


Thanks!


Regards,

Jay Turpin

"A loyal friend laughs at your jokes when they're not so good, and sympathizes with your problems when they're not so bad." - Arnold H. Glasow




Re: [nant-dev] Sattelite Assemblies

2003-09-26 Thread Eric Fetzer
Sorry for the misdirection.  My workaround did work. 
My screwup was in permissions (go figure).

It was nice talking to myself...


--- Eric Fetzer <[EMAIL PROTECTED]> wrote:
> Actually, I need to dig a bit further for a
> workaround
> in the mean time because mine isn't cutting the
> mustard.  I've got a web project that has one set of
> sattelite assmblies in it (5 I believe).  The output
> should end up creating a different dll for each
> language in subfolders of the bin dir.  When I build
> it with the solution task, it brings all of the
> different language resx files into the main dll
> rather
> than separating them.  As a workaround I tried to
> build with the solution file, then add:
> 
>  output="${build.dir}\de\lang.de.resources" />
> 
>  target="lib" culture="de">
>   
>  name="${build.dir}\de\lang.de.resources"/>
>   
> 
> 
> It ends up building the appropriate language dll's,
> but they don't work, because they aren't referenced
> (solution already pulled them into the main dll
> inappropriately).  Any suggestions?
> 
> Thanks,
> Eric
> 
> --- Eric Fetzer <[EMAIL PROTECTED]> wrote:
> > Are Satellite Assemblies on the horizon for the
> > solution task?  Thanks - Eric
> > 
> > __
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product
> > search
> > http://shopping.yahoo.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
> 
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.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


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.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


Re: [nant-dev] Sattelite Assemblies

2003-09-26 Thread Eric Fetzer
Actually, I need to dig a bit further for a workaround
in the mean time because mine isn't cutting the
mustard.  I've got a web project that has one set of
sattelite assmblies in it (5 I believe).  The output
should end up creating a different dll for each
language in subfolders of the bin dir.  When I build
it with the solution task, it brings all of the
different language resx files into the main dll rather
than separating them.  As a workaround I tried to
build with the solution file, then add:




  

  


It ends up building the appropriate language dll's,
but they don't work, because they aren't referenced
(solution already pulled them into the main dll
inappropriately).  Any suggestions?

Thanks,
Eric

--- Eric Fetzer <[EMAIL PROTECTED]> wrote:
> Are Satellite Assemblies on the horizon for the
> solution task?  Thanks - Eric
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.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


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.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] Sattelite Assemblies

2003-09-26 Thread Eric Fetzer
Are Satellite Assemblies on the horizon for the
solution task?  Thanks - Eric

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.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


Re: [nant-dev] Re: Solution Task - Unable to find appropriate configuration for proj ect reference

2003-09-26 Thread Ian MacLean
Martin Aliger wrote:

GAC do not help becouse nunit.frawork depend on two other assemblies without
strong name (coudn't be placed into GAC)
 

GAC is irrelevent. If you have an assembly in the gac that doesn't exist 
elsewhere on disk then its impossible to reference it. The gac is for 
runtime resolution not compile-time metadata referencing. Thats why 
there are all those system assemblies in 
%windir%\Microsoft.NET\Framework\\ .
Ian

As an aside, since installing the latest CVS build the record task seems to
   

have disappeared. Anyone any idea why?

Solution task is under heavy development since 0.8.3 so maybe your problem
was corrected somewhere.
Martin

- Original Message - 
From: "Simon Steele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 1:31 PM
Subject: [nant-dev] Re: Solution Task - Unable to find appropriate
configuration for proj ect reference

Hi,
 





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


Re: [nant-dev] Re: Solution Task - Unable to find appropriate configuration for proj ect reference

2003-09-26 Thread Ian MacLean
The record task resides in nantcontrib so you'll need to grab a 
NAntContrib nightly from 
http://nantcontrib.sourceforge.net/nightly/builds/ or build it from source.
you can tell nant where to find the contrib task assemblies by adding 
the path to the  entry in nant.exe.config. Or you can 
just copy the dlls into the directory where you built NAnt.

Ian

As an aside, since installing the latest CVS build the record task
seems to have disappeared. Anyone any idea why?
thanks again,

Simon.

 





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


Re: [nant-dev] Re: Solution Task - Unable to find appropriate configuration for proj ect reference

2003-09-26 Thread Martin Aliger
Try to use new assemblyfolders subtag.

   
  
   
  
  
   
  
 

GAC do not help becouse nunit.frawork depend on two other assemblies without
strong name (coudn't be placed into GAC)

>As an aside, since installing the latest CVS build the record task seems to
have disappeared. Anyone any idea why?

Solution task is under heavy development since 0.8.3 so maybe your problem
was corrected somewhere.

Martin

- Original Message - 
From: "Simon Steele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 1:31 PM
Subject: [nant-dev] Re: Solution Task - Unable to find appropriate
configuration for proj ect reference


Hi,

>I'm trying out the solution task for the first time and am experiencing a
>couple of problems. I'm using Nant 0.8.3 final.
>The result of the build should be:
>
>Project\bin\debug\project1.dll
>Project\Tests\bin\debug\project1.dll
>Project\Tests\bin\debug\Tests.dll
>
>Unfortunately when I try and build this solution I get an Internal Error:
>
>--
>
>INTERNAL ERROR
>
>System.Exception: Unable to find appropriate configuration for project
>reference

Argh. Running with the latest CVS, I see that I now get a failure
rather than an internal error, and that the failure seems to be after
it says that it's copying nunit.framework.dll. How can I allow the
script to find the nunit framework dll which it needs to compile? The
hint path isn't going to be very useful to the solution task because
the project is developed somewhere completely different. Shouldn't the
GAC be able to help with this?

As an aside, since installing the latest CVS build the record task
seems to have disappeared. Anyone any idea why?

thanks again,

Simon.

--

 [solution] Starting solution build.
 [solution] Included projects:
 [solution]  -
C:\build\AAL\src\Components\Softel.Logging\Softel.Logging.csproj
 [solution] Loading projects...
 [solution] Loading project
'C:\build\aal\src\components\softel.logging\Tests\Te
sts.csproj'.
 [solution] Loading project
'C:\build\AAL\src\Components\Softel.Logging\Softel.L
ogging.csproj'.
 [solution] Gathering additional dependencies...
 [solution] Fixing up references...
 [solution] Building Softel.Logging [Debug]...
 [solution] Copying references:
 [solution]  - System.Data
 [solution]  - System
 [solution]  - System.XML
 [solution] Starting compiler...
 [solution] Success! (exit code = 0)
 [solution] Fixing up references...
 [solution] Fixed reference 'Softel.Logging':  ->
C:\build\AAL\src\Components\So
ftel.Logging\bin\Debug\Softel.Logging.dll.
 [solution] Building Tests [Debug]...
 [solution] Copying references:
 [solution]  - Softel.Logging
 [copy] Copying 3 files to
C:\build\aal\src\components\softel.lo
gging\Tests\bin\Debug\.
 [copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.pdb to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.pdb.
 [copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.dll to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.dll.
 [copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.xml to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.xml.
 [solution]  - System.Data
 [solution]  - nunit.framework
Build sequence for target `onFail' is onFail
Complete build sequence is onFail, buildComponents, debug, release,
noclean, cus
tomer, build, clean, zipup, copyrelease, CustomerRelease,
genericbuild, Softel.L
ogging, Softel.XMP

--


This e-mail has been scanned for viruses by MessageLabs.


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





---
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] Re: Solution Task - Unable to find appropriate configuration for proj ect reference

2003-09-26 Thread Simon Steele
Hi,

>I'm trying out the solution task for the first time and am experiencing a
>couple of problems. I'm using Nant 0.8.3 final.
>The result of the build should be:
>
>Project\bin\debug\project1.dll
>Project\Tests\bin\debug\project1.dll
>Project\Tests\bin\debug\Tests.dll
>
>Unfortunately when I try and build this solution I get an Internal Error:
>
>--
>
>INTERNAL ERROR
>
>System.Exception: Unable to find appropriate configuration for project
>reference

Argh. Running with the latest CVS, I see that I now get a failure
rather than an internal error, and that the failure seems to be after
it says that it's copying nunit.framework.dll. How can I allow the
script to find the nunit framework dll which it needs to compile? The
hint path isn't going to be very useful to the solution task because
the project is developed somewhere completely different. Shouldn't the
GAC be able to help with this?

As an aside, since installing the latest CVS build the record task
seems to have disappeared. Anyone any idea why?

thanks again,

Simon.

--

 [solution] Starting solution build.
 [solution] Included projects:
 [solution]  -
C:\build\AAL\src\Components\Softel.Logging\Softel.Logging.csproj
 [solution] Loading projects...
 [solution] Loading project
'C:\build\aal\src\components\softel.logging\Tests\Te
sts.csproj'.
 [solution] Loading project
'C:\build\AAL\src\Components\Softel.Logging\Softel.L
ogging.csproj'.
 [solution] Gathering additional dependencies...
 [solution] Fixing up references...
 [solution] Building Softel.Logging [Debug]...
 [solution] Copying references:
 [solution]  - System.Data
 [solution]  - System
 [solution]  - System.XML
 [solution] Starting compiler...
 [solution] Success! (exit code = 0)
 [solution] Fixing up references...
 [solution] Fixed reference 'Softel.Logging':  ->
C:\build\AAL\src\Components\So
ftel.Logging\bin\Debug\Softel.Logging.dll.
 [solution] Building Tests [Debug]...
 [solution] Copying references:
 [solution]  - Softel.Logging
 [copy] Copying 3 files to
C:\build\aal\src\components\softel.lo
gging\Tests\bin\Debug\.
 [copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.pdb to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.pdb.
 [copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.dll to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.dll.
 [copy] Copying
C:\build\AAL\src\Components\Softel.Logging\bin\D
ebug\Softel.Logging.xml to
C:\build\aal\src\components\softel.logging\Tests\bin\
Debug\Softel.Logging.xml.
 [solution]  - System.Data
 [solution]  - nunit.framework
Build sequence for target `onFail' is onFail
Complete build sequence is onFail, buildComponents, debug, release,
noclean, cus
tomer, build, clean, zipup, copyrelease, CustomerRelease,
genericbuild, Softel.L
ogging, Softel.XMP

--


This e-mail has been scanned for viruses by MessageLabs.


---
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] Solution Task - Unable to find appropriate configuration for proj ect reference

2003-09-26 Thread Simon Steele
Hi,

I'm trying out the solution task for the first time and am experiencing a
couple of problems. I'm using Nant 0.8.3 final.

The project structure comes out of CVS like this:

Project\
  Solution.sln
  Project1.csproj
  bin\
debug\
  
  Tests\
  Tests.csproj
bin\
  debug\

The result of the build should be:

Project\bin\debug\project1.dll
Project\Tests\bin\debug\project1.dll
Project\Tests\bin\debug\Tests.dll

Unfortunately when I try and build this solution I get an Internal Error:

--

INTERNAL ERROR

System.Exception: Unable to find appropriate configuration for project
reference

   at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList
alCSC
Arguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   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.Tasks.CallTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   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.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Tasks.CallTask.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]

--

I've tried excluding the Tests project and that doesn't seem to help. Anyone
got any ideas? I don't have time to go code digging right now...

thanks,

Simon

-- 
Simon Steele
Research Engineer - Softel Ltd.
tel: +44 118 984 2151 / web: http://www.softel.co.uk/



This e-mail has been scanned for viruses by MessageLabs.<>