RE: [nant-dev] Solution-optional param

2005-02-23 Thread Gert Driesen



Hi Vojta,
 
Not sure if this is something we want. IF we add this, then 
I'm pretty sure we'll end up with 100 attributes controlling the behavior of the 
 task, while its really intended to mimic the behavior of 
VS.NET.
 
People that need more control, could use the individual 
compiler tasks.
 
You were planning on submitting more changes to the VC++ 
support in the  task, right ? Made any progress 
?
 
Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Vojtech JakesSent: woensdag 23 februari 2005 
  21:26To: nant-developers@lists.sourceforge.netSubject: 
  [nant-dev] Solution-optional param
  
  Hi,
   
  has anyone considered adding 
  a boolean parameter to the solution task forcing the creation of XML 
  documentation on C# projects? This could be really quick one I think... 
  
   
  Cheers
   
  VojtaThis 
  email and any files transmitted with it are confidential andintended 
  solely for the use of the individual or entity to whom theyare addressed. 
  If you have received this email in error please 
  notify[EMAIL PROTECTED]This email has been scanned for all 
  viruses by the FFastFill EmailSecurity 
  System.


RE: [nant-dev] MissingMethodException Method not found: Int32 StarTeam.IStLabel.get_ID(

2005-02-23 Thread Gert Driesen



Hi Justin,
 
According to a message posted by Eric Fetzer, Borland 
will release (or has already released ?) a new version of the StarTeeam SDK 
that would be backward compatible.
 
Eric, any news on this ?
 
Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Justin NarracottSent: dinsdag 22 februari 2005 
  18:25To: nant-developers@lists.sourceforge.netSubject: 
  [nant-dev] MissingMethodException Method not found: Int32 
  StarTeam.IStLabel.get_ID(
  
  
  I have changed the StarTeam 
  interop to the latest version of StarTeamSDK, and now get the following 
  error
   
  BUILD 
  FAILED
   
  INTERNAL 
  ERROR
   
  System.MissingMethodException: 
  Method not found: Int32 StarTeam.IStLabel.get_ID(
  ).
     at 
  NAnt.Contrib.Tasks.StarTeam.StarTeamCheckout.createSnapshotView(StView 
  raw
  )
     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.Tasks.CallTask.ExecuteTask()
     at 
  NAnt.Core.Task.Execute()
     at 
  NAnt.Core.Target.Execute()
     at 
  NAnt.Core.Project.Execute(String targetName, Boolean 
  forceDependencies)
     at 
  NAnt.Core.Project.Execute()
     at 
  NAnt.Core.Project.Run()
   
  Please send bug report to 
  [EMAIL PROTECTED]
   
  Total time: 0.9 
  seconds.
   
  Any help gratefully 
  appreciated,
  Thanks
   
  Justin 
  Narracott
   


RE: [nant-dev] FW: task

2005-02-23 Thread Gert Driesen



Hi Ynon,
 
I think I'd prefer having a (build)mode attribute that is 
backed by an enum (with values Build, Rebuild, Clean). 
 
What do you think ?
 
Gert

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ynon 
  KoralekSent: maandag 21 februari 2005 16:39To: 
  nant-developers@lists.sourceforge.netSubject: [nant-dev] FW: 
   task
  
  
   
  Hi 
!
  I am new with that 
  mailing list. 
  However did you 
  notice my message? Did I sent to the correct address?
   
  Thanks
  Ynon
   
  -Original 
  Message-From: Ynon 
  Koralek [mailto:[EMAIL PROTECTED] Sent: Thursday, February 
  17, 2005 10:45 
  AMTo: 
  '[EMAIL PROTECTED]'Subject:  
  task
   
  Hi,
  I found that the  
  task doesn’t enable re-build.
  I added the ‘rebuild’ 
   property   (solutiontask.cs), in order to enable clean and 
  re-building the solution.
  I added Clean methods to 
   solutionbase.cs, projectbase.cs
  (Changes marked with 
  MW_YNON)
   
  Thanks
  Ynon


RE: [nant-dev] System.IO.PathTooLongException error

2005-02-23 Thread Gert Driesen
Scott,

Can you verify whether the RAHWebsite.WebUI.csproj project contains a
(assembly) reference with a long hintpath ?

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Scott Hatch
> Sent: dinsdag 22 februari 2005 21:37
> To: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] System.IO.PathTooLongException error
> 
> Hello.
> 
> I am seeing the error below while running nant (Build
> 0.85.1766.0)
> 
> I believe the path to the csproj file is only 151
> chars. Any idea why this would error?
> 
> Thanks, Scott
> [EMAIL PROTECTED]
> 
> 
> Build:
> 
>  [echo] Building Project
>  [solution] Starting solution build.
>  [solution] Only C#, VB.NET and C++ projects are
> supported.  Skipping project '.
> .\Database\RAHWebsite.Database.dbp'.
>  [solution] Loading projects...
>  [solution] Loading project 'C:\prj\RAHWebsite\Release
> 2.7 - Service Request\300
>  Construction Stage\325 Development
> Code\Solutions\..\MDCH.Applications.RAHWebsi
> te.nUnit\RAHWebsite.nUnit.csproj'.
>  [solution] Loading project 'C:\prj\RAHWebsite\Release
> 2.7 - Service Request\300
>  Construction Stage\325 Development
> Code\MDCH.Applications.RAHWebsite.WebUI\RAHW
> ebsite.WebUI.csproj'.
> 
> BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
> 
> INTERNAL ERROR
> 
> System.IO.PathTooLongException: The path is too long
> after being fully qualified
> .  Make sure path is less than 260 characters.
>at System.IO.Path.nGetFullPathHelper(String path,
> Char[] invalidPathChars, Ch
> ar[] whitespaceChars, Char directorySeparator, Char
> altDirectorySeparator, Char
> 
> 
>   
> __ 
> Do you Yahoo!? 
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> http://info.mail.yahoo.com/mail_250
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> ___
> nant-developers mailing list
> nant-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-developers
> 
> 



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


[nant-dev] Solution task

2005-02-23 Thread Halloul, Rachid
Title: Solution task







I'm a new to nant, I' m trying to use solution task to be able to build  a dotnet project , here is my build file 










  

    

   












Here is the output.



build:


 [solution] Starting solution build.


BUILD FAILED


INTERNAL ERROR


System.IO.IOException: The media is write protected.


   at System.IO.__Error.WinIOError(Int32 errorCode, String str)

   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path)

   at System.IO.Directory.CreateDirectory(String path)

   at NAnt.VSNet.VcConfiguration..ctor(XmlElement elem, VcProject parentProject,

 Solution parentSln, VcConfiguration parent, String outputDir)

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

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

TempFileCollection tfc, String outputDir, String path)

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



Thanks in advance.





[nant-dev] MissingMethodException Method not found: Int32 StarTeam.IStLabel.get_ID(

2005-02-23 Thread Justin Narracott








I have changed the StarTeam interop to the latest version of
StarTeamSDK, and now get the following error

 

BUILD FAILED

 

INTERNAL ERROR

 

System.MissingMethodException: Method not found: Int32
StarTeam.IStLabel.get_ID(

).

   at
NAnt.Contrib.Tasks.StarTeam.StarTeamCheckout.createSnapshotView(StView raw

)

   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.Tasks.CallTask.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.Core.Target.Execute()

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

   at NAnt.Core.Project.Execute()

   at NAnt.Core.Project.Run()

 

Please send bug report to
[EMAIL PROTECTED]

 

Total time: 0.9 seconds.

 

Any help gratefully appreciated,

Thanks

 

Justin Narracott



 








[nant-dev] System.IO.PathTooLongException error

2005-02-23 Thread Scott Hatch
Hello.

I am seeing the error below while running nant (Build
0.85.1766.0)

I believe the path to the csproj file is only 151
chars. Any idea why this would error?

Thanks, Scott
[EMAIL PROTECTED]


Build:

 [echo] Building Project
 [solution] Starting solution build.
 [solution] Only C#, VB.NET and C++ projects are
supported.  Skipping project '.
.\Database\RAHWebsite.Database.dbp'.
 [solution] Loading projects...
 [solution] Loading project 'C:\prj\RAHWebsite\Release
2.7 - Service Request\300
 Construction Stage\325 Development
Code\Solutions\..\MDCH.Applications.RAHWebsi
te.nUnit\RAHWebsite.nUnit.csproj'.
 [solution] Loading project 'C:\prj\RAHWebsite\Release
2.7 - Service Request\300
 Construction Stage\325 Development
Code\MDCH.Applications.RAHWebsite.WebUI\RAHW
ebsite.WebUI.csproj'.

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

INTERNAL ERROR

System.IO.PathTooLongException: The path is too long
after being fully qualified
.  Make sure path is less than 260 characters.
   at System.IO.Path.nGetFullPathHelper(String path,
Char[] invalidPathChars, Ch
ar[] whitespaceChars, Char directorySeparator, Char
altDirectorySeparator, Char



__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


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


[nant-dev] RE: [ 1150186 ] ResGen task does not use dynamicprefix

2005-02-23 Thread stj3571-nant
Hi Gert and Ian,

Can one of you please verify/test/commit fix attached to my bug report,
#1150186
(http://sourceforge.net/tracker/index.php?func=detail&aid=1150186&group_id=31650&atid=402868)
?  The fix has only 4 changed lines in a single file, and gets ResGen
to behave as documented in regards to dynamic prefixing of resource
files.

It seems like a straightforward defect, and we would like to see it
committed to the nightly build.  Our current workaround makes the
resgen calls in our build much longer than they should be.

If you would like, I can help to write a regression unit test for this
bug.  I'm just not sure how you unit test things that involve external
files and filesets.

Thanks again,
Steve



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


[nant-dev] [ nant-Bugs-1150186 ] ResGen task does not use dynamicprefix

2005-02-23 Thread SourceForge.net
Bugs item #1150186, was opened at 2005-02-23 22:35
Message generated for change (Comment added) made by stj3570
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1150186&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: stj3570 (stj3570)
Assigned to: Nobody/Anonymous (nobody)
Summary: ResGen task does not use dynamicprefix 

Initial Comment:
--- Description ---
The Resgen task is not using the dynamic prefix (passed
through the ) properly.

Currently it is just prefixing the value of the dynamic
prefix to the resource filename while creating a
.resource file. It does not resolve the complete
subfolder names to generate the appropriate .resource
file. 

--- Steps To Reproduce ---
(see attached repro)
1) Create a resource file Foo.en-us.resx, under the
relative project path .\Bar
2) Compile the resource file using the following NAnt task
 
  
 
  


3) Execute NAnt.exe 0.85 in the project root directory

--- Expected Result ---
A file named "Example.Bar.Foo.en-us.resources" should
be created in the subdirectory .\Bar
--- Actual Result ---
The file is incorrectly named
"Example.Foo.en-us.resources" ; the dynamic prefix from
the subdirectory "Bar" is missing.

--- Suggested Fix ---
 
The function ResourceFileSet::GetManifestResourceName()
gets the correct resource name.  It should be used by
the ResGen task.

Edit project file
".\src\NAnt.DotNet\Tasks\ResGenTask.cs" line # 346:

Current Line #346:
> FileInfo outputFile = GetOutputFile(new
FileInfo(filename), Resources.Prefix);

Fixed Line # 346: 
> FileInfo outputFile = new FileInfo(
Resources.GetManifestResourceName(filename, filename));



--

>Comment By: stj3570 (stj3570)
Date: 2005-02-23 23:30

Message:
Logged In: YES 
user_id=1066215

CORRECTION: Should fix lines # 374-375 and # 411-412

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1150186&group_id=31650


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


[nant-dev] [ nant-Bugs-1150186 ] ResGen task does not use dynamicprefix

2005-02-23 Thread SourceForge.net
Bugs item #1150186, was opened at 2005-02-23 22:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1150186&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: stj3570 (stj3570)
Assigned to: Nobody/Anonymous (nobody)
Summary: ResGen task does not use dynamicprefix 

Initial Comment:
--- Description ---
The Resgen task is not using the dynamic prefix (passed
through the ) properly.

Currently it is just prefixing the value of the dynamic
prefix to the resource filename while creating a
.resource file. It does not resolve the complete
subfolder names to generate the appropriate .resource
file. 

--- Steps To Reproduce ---
(see attached repro)
1) Create a resource file Foo.en-us.resx, under the
relative project path .\Bar
2) Compile the resource file using the following NAnt task
 
  
 
  


3) Execute NAnt.exe 0.85 in the project root directory

--- Expected Result ---
A file named "Example.Bar.Foo.en-us.resources" should
be created in the subdirectory .\Bar
--- Actual Result ---
The file is incorrectly named
"Example.Foo.en-us.resources" ; the dynamic prefix from
the subdirectory "Bar" is missing.

--- Suggested Fix ---
 
The function ResourceFileSet::GetManifestResourceName()
gets the correct resource name.  It should be used by
the ResGen task.

Edit project file
".\src\NAnt.DotNet\Tasks\ResGenTask.cs" line # 346:

Current Line #346:
> FileInfo outputFile = GetOutputFile(new
FileInfo(filename), Resources.Prefix);

Fixed Line # 346: 
> FileInfo outputFile = new FileInfo(
Resources.GetManifestResourceName(filename, filename));



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1150186&group_id=31650


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


[nant-dev] Solution-optional param

2005-02-23 Thread Vojtech Jakes



Hi,
 
has anyone considered adding a 
boolean parameter to the solution task forcing the creation of XML 
documentation on C# projects? This could be really quick one I think... 

 
Cheers
 
Vojta


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]

This email has been scanned for all viruses by the FFastFill Email
Security System.




[nant-dev] [ nant-Bugs-1144996 ] Please help on installation

2005-02-23 Thread SourceForge.net
Bugs item #1144996, was opened at 2005-02-20 21:19
Message generated for change (Settings changed) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1144996&group_id=31650

Category: Other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: ant4 (rest4)
>Assigned to: Gert Driesen (drieseng)
Summary: Please help on installation

Initial Comment:
I have problem to follow the instruction on installation at:

http://nant.sourceforge.net/release/latest/help/introducti
on/installation.html

-- Installing from binaries:

In step 4:

Ensure the bin folder in your NAnt installation is in your 
PATH environment variable. 

In Windows, a common method to do this is to create an 
environment variable NANT_HOME that contains the 
folder you installed NAnt to. 
Then add %NANT_HOME%\bin to your PATH variable. 
Both of these should be System variables. 

What does it exactly mean? Can you offer an example on 
that?

-- Installing from source

When I tried Installing from source and use NMake, I got 
an error:

fatal error U1077: 'cp' is not recornized as an internal or 
external command

I checked the Makefile.nmake in

 nant-0.85-rc2-src\nant-0.85-rc2\Makefile.nmake

, it conatains the 'cp' command. Is it the "Copy' 
command in Linux? Do I have to install Linux?

I tried to change 'cp' to 'copy' in the Makefile.namke, it 
started to build successfully but in the end it still failed:

  userdoc:

 Uable to load file 'NAnt.Core'


--

Comment By: Gert Driesen (drieseng)
Date: 2005-02-23 20:51

Message:
Logged In: YES 
user_id=707851

step 4:

This can be easily done using My Computer -> Properties -> 
Advanced Tab -> Environment Variables

But its not really required, you can also just specifiy the full 
path to NAnt.exe whenever you want to run a build file.

Install error:

The "cp" command was in fact a mistake, this is now correct 
in cvs (and will be in the next nightly build and release)

Can you provide more information on the error you got in 
the "userdoc" target ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1144996&group_id=31650


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


[nant-dev] [ nant-Bugs-1144996 ] Please help on installation

2005-02-23 Thread SourceForge.net
Bugs item #1144996, was opened at 2005-02-20 21:19
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1144996&group_id=31650

Category: Other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: ant4 (rest4)
Assigned to: Nobody/Anonymous (nobody)
Summary: Please help on installation

Initial Comment:
I have problem to follow the instruction on installation at:

http://nant.sourceforge.net/release/latest/help/introducti
on/installation.html

-- Installing from binaries:

In step 4:

Ensure the bin folder in your NAnt installation is in your 
PATH environment variable. 

In Windows, a common method to do this is to create an 
environment variable NANT_HOME that contains the 
folder you installed NAnt to. 
Then add %NANT_HOME%\bin to your PATH variable. 
Both of these should be System variables. 

What does it exactly mean? Can you offer an example on 
that?

-- Installing from source

When I tried Installing from source and use NMake, I got 
an error:

fatal error U1077: 'cp' is not recornized as an internal or 
external command

I checked the Makefile.nmake in

 nant-0.85-rc2-src\nant-0.85-rc2\Makefile.nmake

, it conatains the 'cp' command. Is it the "Copy' 
command in Linux? Do I have to install Linux?

I tried to change 'cp' to 'copy' in the Makefile.namke, it 
started to build successfully but in the end it still failed:

  userdoc:

 Uable to load file 'NAnt.Core'


--

>Comment By: Gert Driesen (drieseng)
Date: 2005-02-23 20:51

Message:
Logged In: YES 
user_id=707851

step 4:

This can be easily done using My Computer -> Properties -> 
Advanced Tab -> Environment Variables

But its not really required, you can also just specifiy the full 
path to NAnt.exe whenever you want to run a build file.

Install error:

The "cp" command was in fact a mistake, this is now correct 
in cvs (and will be in the next nightly build and release)

Can you provide more information on the error you got in 
the "userdoc" target ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1144996&group_id=31650


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


[nant-dev] [ nant-Bugs-1143958 ] VC++ project: /DEF without an argument

2005-02-23 Thread SourceForge.net
Bugs item #1143958, was opened at 2005-02-18 18:50
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1143958&group_id=31650

>Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Matthias Jentsch (jentschi)
>Assigned to: Gert Driesen (drieseng)
Summary: VC++ project: /DEF without an argument

Initial Comment:
I've build a VC++ project with the  task and 
have the following problem:

The project needs no moduldefinition and have no 
moduldefinition definied. But in the linker call a /DEF-
option with no argument is inserted. This creates the 
fatal error LNK1146.

[link] Starting 'link (@"C:\DOKUME~1\JE9B86~1.GEF\L
OKALE~
\Temp\tmp4908.tmp" 
/IMPLIB:"O:\devsrc\develop\dotnetGef\Shared\Interop\Mdl\mdlinteropengine.lib" 
/DLL /INCRE
MENTAL:NO /DEF:"" /MACHINE:X86 /FORCE)' 
in 'O:\devsrc\develop\dotnet\Gef\Shared\Interop\Mdl'

[link] LINK : fatal error LNK1146: Kein Argument mit 
Option '/DEF:' angegeben



--

>Comment By: Gert Driesen (drieseng)
Date: 2005-02-23 20:21

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs.

--

Comment By: Matthias Jentsch (jentschi)
Date: 2005-02-21 09:37

Message:
Logged In: YES 
user_id=682106

The attached file nant1143958.zip contains a small VC++ 
project and a nant buildscript to reproduce this issue

--

Comment By: Gert Driesen (drieseng)
Date: 2005-02-21 09:24

Message:
Logged In: YES 
user_id=707851

Can you attach a small repro to this bug report, or send it to 
me by email ([EMAIL PROTECTED]) ?

thx !

--

Comment By: Matthias Jentsch (jentschi)
Date: 2005-02-21 09:04

Message:
Logged In: YES 
user_id=682106

I'm using 0.85 RC2.

--

Comment By: Gert Driesen (drieseng)
Date: 2005-02-19 09:12

Message:
Logged In: YES 
user_id=707851

Matthias,

I was not able to reproduce this issue.

What version of NAnt are you using ? 0.85 RC1 or RC2, or a 
nightly build ?

Can you attach a small repro to this bug report ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1143958&group_id=31650


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


[nant-dev] [ nant-Bugs-1124113 ] ndoc tasks values aren't being reset

2005-02-23 Thread SourceForge.net
Bugs item #1124113, was opened at 2005-02-16 18:33
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1124113&group_id=31650

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mike Miller (mmiller678)
>Assigned to: Gert Driesen (drieseng)
Summary: ndoc tasks values aren't being reset

Initial Comment:
Version: 0.85-rc2

If I make multiple ndoc task calls, the ndoc properties 
(such as HtmlHelpName, OutputDirectory) are not being 
reset.  I attached a build script that should produce 3 
different output directories with 3 differently named 
output files, however only the 1st one is produced then 
overwritten 2 times.

--

>Comment By: Gert Driesen (drieseng)
Date: 2005-02-23 18:54

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1124113&group_id=31650


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


[nant-dev] [ nant-Bugs-1149898 ] Project help does not display targets in include files

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

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bill Arnette (billarnette)
Assigned to: Nobody/Anonymous (nobody)
Summary: Project help does not display targets in include files

Initial Comment:
Running:

nant /f:test.build -projecthelp

on the following build files shows "all" as the only
target.  It should show target1, target2, target3, and
target4 as well.  Note that an included targets can be
called directly from the command line though.


--- begin test.build ---




  

  
  

  
  


  


  
 
 
 
  


--- end test.build ---

--- begin include.build ---



   
  
  
   


  
   

--- end include.build ---

--- begin include2.build ---



   

   
  
   


  
   

--- end include2.build ---



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1149898&group_id=31650


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


[nant-dev] [ nant-Bugs-1117794 ] solution task can't handle lib dirs with spaces

2005-02-23 Thread SourceForge.net
Bugs item #1117794, was opened at 2005-02-07 10:39
Message generated for change (Comment added) made by philipcraig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1117794&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Philip Craig (philipcraig)
Assigned to: Nobody/Anonymous (nobody)
Summary: solution task can't handle lib dirs with spaces

Initial Comment:
The solution task has two problems handling c++ library
directories that include spaces in the path:

1) .lib files in such directories don't get found
2) Builds crash looking for other files that are not
even in that dir, i.e. just having a dir with a space
in the list of directories to search for libraries
leads to a build failure.

VisualStudio.net copes with both of these.

--

>Comment By: Philip Craig (philipcraig)
Date: 2005-02-23 10:29

Message:
Logged In: YES 
user_id=68755

I've now attached a repro case

--

Comment By: Philip Craig (philipcraig)
Date: 2005-02-23 09:59

Message:
Logged In: YES 
user_id=68755

Hi, this still happens with 0.85-rc2.

--

Comment By: Gert Driesen (drieseng)
Date: 2005-02-07 10:47

Message:
Logged In: YES 
user_id=707851

Philip,

What version of NAnt are you using ? Can you try using a 
recent nightly build 
(http://nant.sourceforge.net/nightly/latest) ?

If you still have issues with a recent nightly build, then please 
attach a small repro to this bug report.

Thanks !

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1117794&group_id=31650


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


[nant-dev] [ nant-Bugs-1117794 ] solution task can't handle lib dirs with spaces

2005-02-23 Thread SourceForge.net
Bugs item #1117794, was opened at 2005-02-07 10:39
Message generated for change (Comment added) made by philipcraig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1117794&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Philip Craig (philipcraig)
Assigned to: Nobody/Anonymous (nobody)
Summary: solution task can't handle lib dirs with spaces

Initial Comment:
The solution task has two problems handling c++ library
directories that include spaces in the path:

1) .lib files in such directories don't get found
2) Builds crash looking for other files that are not
even in that dir, i.e. just having a dir with a space
in the list of directories to search for libraries
leads to a build failure.

VisualStudio.net copes with both of these.

--

>Comment By: Philip Craig (philipcraig)
Date: 2005-02-23 09:59

Message:
Logged In: YES 
user_id=68755

Hi, this still happens with 0.85-rc2.

--

Comment By: Gert Driesen (drieseng)
Date: 2005-02-07 10:47

Message:
Logged In: YES 
user_id=707851

Philip,

What version of NAnt are you using ? Can you try using a 
recent nightly build 
(http://nant.sourceforge.net/nightly/latest) ?

If you still have issues with a recent nightly build, then please 
attach a small repro to this bug report.

Thanks !

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1117794&group_id=31650


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


Re: [nant-dev] ResourceUtils

2005-02-23 Thread Giuseppe Greco
On Tue, 2005-02-22 at 11:16 +0900, Ian MacLean wrote:
> 
> Greco Giuseppe wrote:
> 
> >Hi Ian,
> >
> >I think it would be preferable to have a common
> >resource assembly (e.g. NAnt.Resources.dll).
> >  
> >
> you mean all resources for every assembly all in a single resources 
> assembly ? - I don't much like that idea at all. Resources should be 
> located together with the assembly that uses them in most cases. To be 
> honest I'd rather store duplicate copies of strings in different 
> satellite assemblies that merge all the satellites into a single 
> monolithic one.

See your last email about shared resource...

> 
> >Letting an assembly access resources of another
> >assembly and viceversa is not that elegant. Moreover,
> >it would be difficult to maintain messages consistently.
> >
> >  
> >
> Why ? It should work the same way as programmatic dependencies - ie if a 
> message is shared between NAnt.Core and NAnt.DotNet then it should be 
> stored with NAnt.Core as it will always be loaded when NAnt.DotNet is ( 
> because of the way the dependencies work ). If pulling a resource string 
> out of another assembly would result in that assembly being loaded when 
> it wouldn't otherwise have been ( eg NAnt.Win32 loading somthing out of 
> NAnt.Documenter.NAnt ) then storing a copy of the string in each would 
> be a better solution.
> 
> >There are also performance issues; actually, the code
> >for getting a localized string is as following:
> >
> >public static string GetString(string name, CultureInfo culture)
> >{
> >  if (resourceManager == null) {
> >lock (typeof(ResourceUtils)) {
> >  if (resourceManager == null) {
> >Assembly assembly = Assembly.GetCallingAssembly();
> >resourceManager = new ResourceManager(
> >  assembly.GetName().Name, assembly);
> >  }
> >}
> >  }
> >
> >  return resourceManager.GetString(name, culture);
> >}
> >
> >In the code above, the lock takes place only once (the first
> >time a string is retrieved), assuring good performance.
> >
> >  
> >
> Actually can you explain to me why the lock is even necessary ? Resource 
> information is read-only so I don't see that there should be any 
> contention issues caused by multiple threads accessing the ResourceManager.

The lock is necessary to avoid multiple instance of the
ResouceManager to be initialized.

> 
> >Adding the functionality to register additional assemblies,
> >the lock would take place always as demonstrated in the following
> >code chunk:
> >
> >static ResourceUtils()
> >{
> >  resourceManagerDictionary = new ResourceManagerDictionary();
> >}
> >
> >public static void RegisterAssembly(Assembly assembly)
> >{
> >  lock (resourceManagerDictionary) {
> >resourceManagerDictionary.Add(assembly.GetName().Name,
> >  new ResourceManager(assembly.GetName().Name, assembly))
> >  }
> >}
> >
> >public static string GetString(string name, CultureInfo culture)
> >{
> >  string localizedString = null;
> >  ResourceManager resourceManager = null;
> >
> >  lock (resourceManagerDictionary) {
> >foreach (DictionaryEntry entry in resourceManagerDictionary) {
> >  resourceManager = entry.Value as ResourceManager;
> >  localizedString = resourceManager.GetString(name, culture);
> >
> >  if (localizedString != null) {
> >break;
> >  }
> >}
> >  }
> >
> >  return localizedString;
> >}
> >
> >The methods RegisterAssembly() and GetString() must be kept
> >synchronized...
> >  
> >
> I think all that seems way to complicated - why do we need to register 
> assemblies at all. We can create a new ResourceManager instance every 
> time a resource is requested like :

Oh no, that wouldn't be so elegant... In any case, first we should
decide how to proceed, and then I would re-implement ResourceUtils
as appropriate.

j3d.
> 
> new ResourceManager(assembly.GetName().Name, assembly))
> 
> Is there a huge overhead to doing that that we should be concerned about ?
> 
> Ian
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> ___
> nant-developers mailing list
> nant-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-developers
-- 

Giuseppe Greco

::agamura::

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




---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=

Re: [nant-dev] ResourceUtils

2005-02-23 Thread Giuseppe Greco
> I've been doing some more reading about .net internationalization 
> strategies and it looks like a common model is to have satellite dlls 
> for each assembly containing resources specifc to that assembly only and 
> to create a resource only assembly to put *all* shared resources into. 
> Maybe this is what you meant with NAnt.Resources.dll above ?

Not exactly... but such an alternative makes sense.
j3d.

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

Giuseppe Greco

::agamura::

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




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


Re: [nant-dev] ResourceUtils

2005-02-23 Thread Giuseppe Greco
On Tue, 2005-02-22 at 09:41 +0800, Troy Laurin wrote:
> > [DCL]
> >
> >On .NET the code above just works fine. What's important is to define
> >resourceManager as following:
> >
> >private static volatile ResourceManager resourceManager;
> >
> >Honestly, the only thing I forgot in the original source code was
> >the "volatile" keyword.
> 
> Fair enough.  I'd believe this would work with the volatile keyword.
> 
> Just as a note though, using a readonly static-initialised member
> that's non-volatile is still correct but should be more performant...
> since reads of a volatile reference can't be cached, they will always
> go to main memory.

Would you suggest something like this?

sealed class ResourceUtils 
{
private ResourceUtils() {}
public static readonly ResourceUtils Instance = new ResourceUtils();
...
}

...

string errorMessage = ResourceUtils.Instance.GetString("NA1001");

That works fine too, but looking at
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dnbda/html/singletondespatt.asp, on .NET the result is
exactly the same as with the double-checked locking pattern

> 
> I guess I've been a Java programmer too long... the double-checked
> locking pattern just looks wrong to my eyes.

Oh no! Java? Pfui!!! I come from C/C++... and my bibles were
"Effective C++" and "More Effective C++" by Scott Meyers...

j3d.

> 
> Be well,
> 
> -- Troy
> 
-- 

Giuseppe Greco

::agamura::

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




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