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 "John R. Fallows (JIRA)" <ji...@apache.org> on 2011/07/02 01:45:28 UTC

[jira] [Created] (NPANDAY-450) Support Portable Class Libraries

Support Portable Class Libraries
--------------------------------

                 Key: NPANDAY-450
                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
             Project: NPanday
          Issue Type: New Feature
          Components: Maven Plugins
    Affects Versions: 1.4-incubating
         Environment: > mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_24
Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
            Reporter: John R. Fallows


Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

Lars Corneliussen commented on NPANDAY-450:
-------------------------------------------

Is any logic based on targetFrameworkName?

It looks like quite "strong" parameter.  

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

Now supporting all .NETPortable profiles; Profile1, Profile2, Profile3 and Profile4 on both Microsoft and Mono.

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

Almost finished moving it.  Stay tuned.

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

Looking at http://msdn.microsoft.com/en-us/library/system.runtime.versioning.targetframeworkattribute.aspx it might be useful to rename "targetFramework" to "frameworkName", and then optionally also add "frameworkDisplayName".

The inclusion of "frameworkName" in the configuration would trigger generation of the TargetFrameworkAttribute metadata, with frameworkDisplayName as well, if specified.

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

The frameworkName and frameworkDisplayName are used to populate the generated TargetFrameworkAttribute.

As mentioned in the discussion on the mailing list, this can be moved into compiler-plugins.xml.

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Resolved] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows resolved NPANDAY-450.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1-incubating

Fixed in r1142150.

Changed targetFramework to use frameworkName and frameworkDisplayName as previously suggested.

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

Sample usage:
{code}
<plugin>
    <groupId>org.apache.npanday.plugins</groupId>
    <artifactId>maven-compile-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
        <profile>PORTABLE</profile>
        <frameworkName>.NETPortable,Version=v4.0,Profile=Profile2</frameworkName>
        <frameworkDisplayName>Portable Library</frameworkDisplayName>
    </configuration>
</plugin>
{code}

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

The attached patch adds support for PCL, including the generation of metadata that indicates the target framework attribute, equivalent to that automatically generated by Visual Studio.

using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETPortable,Version=v4.0,Profile=Profile2", FrameworkDisplayName = "Portable Library")]

The value of the new generate-assembly-info "targetFramework" plugin parameter is used to specify the runtime versioning target framework attribute above.

For example:

    <plugin>
        <groupId>org.apache.npanday.plugins</groupId>
        <artifactId>maven-compile-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
            <profile>PORTABLE</profile>
            <frameworkVersion>v4.0</frameworkVersion>
            <targetFramework>.NETPortable,Version=v4.0,Profile=Profile2</targetFramework>
        </configuration>
    </plugin>

It would be useful to get feedback on the above plugin parameter naming.


> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

Updated syntax based on mailing list discussion.
{code}
<plugin>
    <groupId>org.apache.npanday.plugins</groupId>
    <artifactId>maven-compile-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
        <profile>.NETPortable,Profile2</profile>
        <frameworkName>.NETPortable,Version=v4.0,Profile=Profile2</frameworkName>
        <frameworkDisplayName>Portable Library</frameworkDisplayName>
    </configuration>
</plugin>
{code}

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Updated] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows updated NPANDAY-450:
------------------------------------

    Attachment: NPANDAY-450.diff

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Issue Comment Edited] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows edited comment on NPANDAY-450 at 7/2/11 3:57 AM:
-----------------------------------------------------------------

The attached patch adds support for PCL, including the generation of metadata that indicates the target framework attribute, equivalent to that automatically generated by Visual Studio.
{code}
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETPortable,Version=v4.0,Profile=Profile2", 
                                                                      FrameworkDisplayName = "Portable Library")]
{code}
The value of the new generate-assembly-info "targetFramework" plugin parameter is used to specify the runtime versioning target framework attribute above.

For example:
{code}
<plugin>
    <groupId>org.apache.npanday.plugins</groupId>
    <artifactId>maven-compile-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
        <profile>PORTABLE</profile>
        <frameworkVersion>v4.0</frameworkVersion>
        <targetFramework>.NETPortable,Version=v4.0,Profile=Profile2</targetFramework>
    </configuration>
</plugin>
{code}
It would be useful to get feedback on the above plugin parameter naming.


      was (Author: jfallows):
    The attached patch adds support for PCL, including the generation of metadata that indicates the target framework attribute, equivalent to that automatically generated by Visual Studio.

using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETPortable,Version=v4.0,Profile=Profile2", FrameworkDisplayName = "Portable Library")]

The value of the new generate-assembly-info "targetFramework" plugin parameter is used to specify the runtime versioning target framework attribute above.

For example:

    <plugin>
        <groupId>org.apache.npanday.plugins</groupId>
        <artifactId>maven-compile-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
            <profile>PORTABLE</profile>
            <frameworkVersion>v4.0</frameworkVersion>
            <targetFramework>.NETPortable,Version=v4.0,Profile=Profile2</targetFramework>
        </configuration>
    </plugin>

It would be useful to get feedback on the above plugin parameter naming.

  
> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

Lars Corneliussen commented on NPANDAY-450:
-------------------------------------------

Good. Then it should be moved. The existing attributes are alteady confusing enough.  

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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

        

[jira] [Commented] (NPANDAY-450) Support Portable Class Libraries

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

John R. Fallows commented on NPANDAY-450:
-----------------------------------------

Applied feedback.
{code}
<plugin>
    <groupId>org.apache.npanday.plugins</groupId>
    <artifactId>maven-compile-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
        <profile>.NETPortable,Profile2</profile>
        <frameworkVersion>4.0</frameworkVersion>
    </configuration>
</plugin>
{code}

> Support Portable Class Libraries
> --------------------------------
>
>                 Key: NPANDAY-450
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-450
>             Project: NPanday
>          Issue Type: New Feature
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: > mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_24
> Java home: C:\Progra~1\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: John R. Fallows
>             Fix For: 1.4.1-incubating
>
>         Attachments: NPANDAY-450.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Microsoft .Net Portable Class Libraries (PCL) allow developers to code against a reduced set of .Net APIs and create a portable library that can be reused at runtime by both .Net 4 and Silverlight 4 applications, without needing to recompile the source code.

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