You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Lars Corneliussen (JIRA)" <ji...@apache.org> on 2011/02/09 17:25:57 UTC

[jira] Created: (NPANDAY-369) Building NPanday on 64bit operating system OR building and testing other x86-apps on 64bit systems

Building NPanday on 64bit operating system OR building and testing other x86-apps on 64bit systems
--------------------------------------------------------------------------------------------------

                 Key: NPANDAY-369
                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
             Project: NPanday
          Issue Type: Bug
          Components: Development Setup
    Affects Versions: 1.3-incubating
         Environment: Win 7, x64, VS 2010 only
            Reporter: Lars Corneliussen
             Fix For: 2.0


Building NPanday from source (including tests) on 64bit windows fails.

The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.

NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (NPANDAY-369) Building NPanday on 64bit operating system OR building and testing other x86-apps on 64bit systems

Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992954#comment-12992954 ] 

Lars Corneliussen commented on NPANDAY-369:
-------------------------------------------

h1. Spec

* Extend npanday-settings.xsd
** Extend xsd with npandaySettings/vendors/vendor/framework/architecture
** Extend xsd with npandaySettings/defaultSetup/architecture

* Extend NPanday.Plugin.Settings-Plugin
** Fill npandaySettings/architecture (x86 / x86_64)
** Default defaultSetup/architecture to the OS architecture
** Find both the X86 and the 64bit versions of the Framework, and in case add both frameworks per vendor version

* Extend Components
** Respect frameworkArchitecture in CompilerRequirements, NetExecutableFactory, ...

* Extend Plugins
** Support parameter frameworkArchitecture in all Mojos using the NetExecutableFactory (aspx, compile, link, resgen, webapp, wsdl, xsd, ..?)

* Update documentation 
** for all plugins
** Introduce a 64bit-information-page explaining the different options and obstacles

* Update NPanday/dotnet to consequently build for x86

* Support dedictaded x86 test runs in maven-test-plugin, using nunit-console-x86.exe *(DONE)*


> Building NPanday on 64bit operating system OR building and testing other x86-apps on 64bit systems
> --------------------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-369
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
>             Project: NPanday
>          Issue Type: Bug
>          Components: Development Setup
>    Affects Versions: 1.3-incubating
>         Environment: Win 7, x64, VS 2010 only
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>              Labels: build, nunit, test, x64, x86
>             Fix For: 2.0
>
>
> Building NPanday from source (including tests) on 64bit windows fails.
> The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.
> NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (NPANDAY-369) Explicit 64bit-Support (NPanday now doesn't distinguish)

Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Corneliussen updated NPANDAY-369:
--------------------------------------

    Summary: Explicit 64bit-Support (NPanday now doesn't distinguish)  (was: Building NPanday on 64bit operating system OR building and testing other x86-apps on 64bit systems)

> Explicit 64bit-Support (NPanday now doesn't distinguish)
> --------------------------------------------------------
>
>                 Key: NPANDAY-369
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
>             Project: NPanday
>          Issue Type: Bug
>          Components: Development Setup
>    Affects Versions: 1.3.1-incubating
>         Environment: Win 7, x64, VS 2010 only
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>              Labels: build, nunit, test, x64, x86
>             Fix For: 2.0
>
>
> Building NPanday from source (including tests) on 64bit windows fails.
> The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.
> NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Issue Comment Edited] (NPANDAY-369) Explicit 64bit-Support (NPanday now doesn't distinguish)

Posted by "Lars Corneliussen (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152003#comment-13152003 ] 

Lars Corneliussen edited comment on NPANDAY-369 at 11/17/11 11:41 AM:
----------------------------------------------------------------------

h2. Hints I found in Microsoft.Common.targets

Maybe that helps us to find the correct names.

{code}
<ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'AnyCpu' ">msil</ProcessorArchitecture>
<ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'x64' ">amd64</ProcessorArchitecture>
<ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'Itanium' ">ia64</ProcessorArchitecture>
<ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'x86' ">x86</ProcessorArchitecture>
{code}
                
      was (Author: lcorneliussen):
    h2. Hints I found in Microsoft.Common.targets

Maybe that helps us to find the correct names.

{code}
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'AnyCpu' ">msil</ProcessorArchitecture>
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'x64' ">amd64</ProcessorArchitecture>
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'Itanium' ">ia64</ProcessorArchitecture>
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'x86' ">x86</ProcessorArchitecture>
{code}
                  
> Explicit 64bit-Support (NPanday now doesn't distinguish)
> --------------------------------------------------------
>
>                 Key: NPANDAY-369
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
>             Project: NPanday
>          Issue Type: Bug
>          Components: Development Setup
>    Affects Versions: 1.4-incubating
>         Environment: Win 7, x64, VS 2010 only
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>              Labels: build, nunit, test, x64, x86
>             Fix For: 2.0
>
>
> Building NPanday from source (including tests) on 64bit windows fails.
> The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.
> NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NPANDAY-369) Explicit 64bit-Support (NPanday now doesn't distinguish)

Posted by "Lars Corneliussen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152003#comment-13152003 ] 

Lars Corneliussen commented on NPANDAY-369:
-------------------------------------------

h2. Hints I found in Microsoft.Common.targets

Maybe that helps us to find the correct names.

{code}
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'AnyCpu' ">msil</ProcessorArchitecture>
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'x64' ">amd64</ProcessorArchitecture>
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'Itanium' ">ia64</ProcessorArchitecture>
        <ProcessorArchitecture Condition=" '$(PlatformTarget)' == 'x86' ">x86</ProcessorArchitecture>
{code}
                
> Explicit 64bit-Support (NPanday now doesn't distinguish)
> --------------------------------------------------------
>
>                 Key: NPANDAY-369
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
>             Project: NPanday
>          Issue Type: Bug
>          Components: Development Setup
>    Affects Versions: 1.4-incubating
>         Environment: Win 7, x64, VS 2010 only
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>              Labels: build, nunit, test, x64, x86
>             Fix For: 2.0
>
>
> Building NPanday from source (including tests) on 64bit windows fails.
> The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.
> NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NPANDAY-369) Explicit 64bit-Support (NPanday now doesn't distinguish)

Posted by "Lars Corneliussen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152007#comment-13152007 ] 

Lars Corneliussen commented on NPANDAY-369:
-------------------------------------------

Why reinvent the wheel? :-)

http://msdn.microsoft.com/en-us/library/microsoft.build.utilities.toollocationhelper.aspx
                
> Explicit 64bit-Support (NPanday now doesn't distinguish)
> --------------------------------------------------------
>
>                 Key: NPANDAY-369
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
>             Project: NPanday
>          Issue Type: Bug
>          Components: Development Setup
>    Affects Versions: 1.4-incubating
>         Environment: Win 7, x64, VS 2010 only
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>              Labels: build, nunit, test, x64, x86
>             Fix For: 2.0
>
>
> Building NPanday from source (including tests) on 64bit windows fails.
> The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.
> NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (NPANDAY-369) Building NPanday on 64bit operating system OR building and testing other x86-apps on 64bit systems

Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993077#comment-12993077 ] 

Lars Corneliussen commented on NPANDAY-369:
-------------------------------------------

h2. Some notes about framework and SDK pathes

h3. 4.0 SDK
* x86 -- C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools AND C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin
* 64bit -- C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\x64 AND C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x86

h3. 2.0 SDK
* x86 -- C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin
* 64bit -- C:\Program Files\Microsoft.NET\SDK\v2.0 64bit\bin

h3. .NET-Framework installations
* x86 -- C:\Windows\Microsoft.NET\Framework\version
* 64bit -- C:\Windows\Microsoft.NET\Framework64\version

> Building NPanday on 64bit operating system OR building and testing other x86-apps on 64bit systems
> --------------------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-369
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
>             Project: NPanday
>          Issue Type: Bug
>          Components: Development Setup
>    Affects Versions: 1.3-incubating
>         Environment: Win 7, x64, VS 2010 only
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>              Labels: build, nunit, test, x64, x86
>             Fix For: 2.0
>
>
> Building NPanday from source (including tests) on 64bit windows fails.
> The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.
> NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NPANDAY-369) Explicit 64bit-Support (NPanday now doesn't distinguish)

Posted by "Greg Domjan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217829#comment-13217829 ] 

Greg Domjan commented on NPANDAY-369:
-------------------------------------

Like to add for per project settings/defaults

It would be nice if you could default 'All configured platforms for the project' or otherwise specify AnyCpu/x86/x64/x86 & x64  without having to restart/run multiple tools due to having to run vsvars.  Some solutions may contain a mix of these options.  

We have needed to compile the same project using multiple MSVC versions due to the API.

I haven't had trouble with it yet, is it also important to be able to target multiple .Net Framework versions?
                
> Explicit 64bit-Support (NPanday now doesn't distinguish)
> --------------------------------------------------------
>
>                 Key: NPANDAY-369
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-369
>             Project: NPanday
>          Issue Type: Bug
>          Components: Development Setup
>    Affects Versions: 1.4-incubating
>         Environment: Win 7, x64, VS 2010 only
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>              Labels: build, nunit, test, x64, x86
>             Fix For: 2.0
>
>
> Building NPanday from source (including tests) on 64bit windows fails.
> The problem is, that all resources are built with the 64-bit version of the .NET Framework tools. Also then, the nunit-console runs everything (including MSBUILD) in 64 bit.
> NPanday itself should allways be built using x86. It should furthermore have strong support for building both 32bit and 64bit apps on 64bit systems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira