[nem-bug] [Nemerle 0000660]: ncc does not perceive a paths in Windows format

feedback at nemerle.org feedback at nemerle.org
Mon Apr 24 07:58:48 CEST 2006


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=660> 
======================================================================
Reported By:                VladD2
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   660
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-22-2006 18:58 CEST
Last Modified:              04-24-2006 07:58 CEST
======================================================================
Summary:                    ncc does not perceive a paths in Windows format
Description: 
I try create MSBuild project which may be loaded in VS 2005.
I have faced a problem. In VS 2005 exists dialog window that provide
functionality to create or specify path to snk-file. This dialog specify
path in Windosw format "xxx\yyy\...". ncc generate error for this path
format:
error : cannot open file `/keyfile:misc\keys\Nemerle.Compiler.snk': The
given path's format is not supported.

Pliase, cerret this behavior and allow Windosw path format.

======================================================================

----------------------------------------------------------------------
 VladD2 - 04-22-06 19:14 
----------------------------------------------------------------------
The problem a more deeper.

I try convert path to *nix path format. But ncc it's all the same report
error:
Nemerle.MSBuild.targets(29,9): error : cannot open file
`/keyfile:misc/keys/Nemerle.Compiler.snk': The given path's format is not
supported.

----------------------------------------------------------------------
 VladD2 - 04-23-06 12:51 
----------------------------------------------------------------------
I look through source code and have understood, that ncc does not support a
key "/keyfile", though MSBuildTask traces it and transfers it to the
compiler.

Come out, the two mistakes: 
1. Ncc does not support a key/keyfile.
2. Ncc incorrectly informs that there was a unfamiliar key.

----------------------------------------------------------------------
 nazgul - 04-23-06 23:30 
----------------------------------------------------------------------
../out.stage3/ncc.exe t.n
/keyfile:"C:\\cygwin\\home\\nazgul\\nemerle\\misc\\keys\\Nemerle.snk"

works fine for me. Maybe it is an issue with MSBuild?

Ncc itself handle the path correctly.

----------------------------------------------------------------------
 VladD2 - 04-23-06 23:51 
----------------------------------------------------------------------
I try create simple test and compile it from command line.
But this no affect.

C:\VS\Nemerle\Tests>C:\VS\Nemerle\Work\nemerle\trunk\boot\ncc.exe
test-015.n /keyfile:keys\Nem
erle.snk
&http://nemerle.org/bugs/view.php?id=8592;[01;31merror&http://nemerle.org/bugs/view.php?id=8592;[0m:
cannot open file
`/keyfile:keys\Nemerle.snk': The given path's format is no
t supported.
confused by earlier errors bailing out

C:\VS\Nemerle\Tests>C:\VS\Nemerle\Work\nemerle\trunk\boot\ncc.exe
test-015.n /keyfile:C:\VS\Nemerle\Tests\keys\Nemerle.snk
&http://nemerle.org/bugs/view.php?id=8592;[01;31merror&http://nemerle.org/bugs/view.php?id=8592;[0m:
cannot open file
`/keyfile:C:\VS\Nemerle\Tests\keys\Nemerle.snk': The given
 path's format is not supported.
confused by earlier errors bailing out

C:\VS\Nemerle\Tests>C:\VS\Nemerle\Work\nemerle\trunk\boot\ncc.exe
test-015.n /keyfile:"C:\VS\Nemerle\Tests\keys\Nemerle.snk"
&http://nemerle.org/bugs/view.php?id=8592;[01;31merror&http://nemerle.org/bugs/view.php?id=8592;[0m:
cannot open file
`/keyfile:C:\VS\Nemerle\Tests\keys\Nemerle.snk': The given
 path's format is not supported.
confused by earlier errors bailing out

C:\VS\Nemerle\Tests>C:\VS\Nemerle\Work\nemerle\trunk\boot\ncc.exe
test-015.n /keyfile:"C:\\VS\\Nemerle\\Tests\\keys\\Nemerle.snk"
&http://nemerle.org/bugs/view.php?id=8592;[01;31merror&http://nemerle.org/bugs/view.php?id=8592;[0m:
cannot open file
`/keyfile:C:\\VS\\Nemerle\\Tests\\keys\\Nemerle.snk': The
given path's format is not supported.
confused by earlier errors bailing out

----------------------------------------------------------------------
 nazgul - 04-24-06 00:02 
----------------------------------------------------------------------
I'm not sure if boot/ncc.exe supports this feature. Please try using
out.stage3/

----------------------------------------------------------------------
 VladD2 - 04-24-06 00:36 
----------------------------------------------------------------------
Xm... But I in fact try to compile the compiler. :)

What me do?

----------------------------------------------------------------------
 VladD2 - 04-24-06 00:43 
----------------------------------------------------------------------
The compiled version of compiler work properly.

Problem in the boot-version.

----------------------------------------------------------------------
 nazgul - 04-24-06 07:58 
----------------------------------------------------------------------
Ok, I will move the fresh compiled version into boot today.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-22-06 18:58 VladD2         New Issue                                    
04-22-06 19:14 VladD2         Note Added: 0001193                          
04-23-06 12:51 VladD2         Note Added: 0001194                          
04-23-06 23:30 nazgul         Note Added: 0001195                          
04-23-06 23:51 VladD2         Note Added: 0001196                          
04-24-06 00:02 nazgul         Note Added: 0001197                          
04-24-06 00:36 VladD2         Note Added: 0001198                          
04-24-06 00:43 VladD2         Note Added: 0001199                          
04-24-06 07:58 nazgul         Note Added: 0001200                          
======================================================================




More information about the bugs mailing list