您的位置:首页 > 运维架构 > Apache

Apache NPanday(.NET Maven) 学习笔记

2014-12-22 16:34 405 查看
下载地址:
http://incubator.apache.org/npanday/docs/1.4.0-incubating/download.html
1.安装需求:

NPanday 1.4.0-incubatingMirrorsChecksumSignature
NPanday 1.4.0-incubating MSImsimd5asc
NPanday 1.4.0-incubating Binariestar.gzmd5asc
NPanday 1.4.0-incubating Sourcessource zipmd5asc
下载NPanday 1.4.0-incubating MSI即可。

A)配置maven直接下载,最低为2.0.9.

配置maven环境即可(只要配置用户环境就行了,参见JAVA的相关资料)。

这里我设置的是maven 3.2.0;需要配置settings.xml

B)NPanday 1.4.0-incubating暂时支持.

Visual Studio 2010 (SP1) or the Microsoft
Windows SDK for Windows 7 and .NET 4 SP1

需要安装此版本。

C)安装NUNIT环境,配置环境变量。

2.安装并下载二进制仓库

确定是否安装1.4.0,执行如下命令:

mvn help:describe -DgroupId=org.apache.npanday.plugins -DartifactId=maven-vsinstaller-plugin -Dversion=1.4.0-incubating


如果成功显示如下字样:

Name: NPanday :: Visual Studio Addin Installer Maven Plugin
Description: Maven Plugin for .NET: Installs the Visual Studio Addin
Group Id: org.apache.npanday.plugins
Artifact Id: maven-vsinstaller-plugin
Version: 1.4.0-incubating
Goal Prefix: vsinstaller

This plugin has 1 goal:

vsinstaller:install
Description: Installs Visual Studio 2005 addin.



安装 Visual Studio Add-in插件

接下来,在cmd.exe执行如下命令,此命令将生成所需的外接程序和必要的库副本运行外接程序默认位置

Next, from a command prompt with the path set as indicated above, run the following command. This command will generate the addin and copies the necessary libraries needed to run the addin to a default location C:\[PROGRAMFILES]\NPanday>.

mvn org.apache.npanday.plugins:maven-vsinstaller-plugin:[version]:install


You can also specify the location where you want the libraries to be copied by running the following command:

mvn org.apache.npanday.plugins:maven-vsinstaller-plugin:[version]:install -DinstallationLocation=url


Note: On Windows Vista, Windows 7 and above, you will need to run the command as an administrator. This can be done by starting the command prompt using the Run as administrator option.

After running the maven-vsinstaller-plugin the add-in will be located here: C:\Documents and Settings\[user_home]\My Documents\Visual Studio 2005\Addins\NPanday.VisualStudio.AddIn(or equivalent for Visual Studio 2008 or Visual Studio 2010).

More information on how to verify the Add-in installation are located at the end of this guide.

2015年01月09日验证:此方案垃圾。建议采用NUGET方案,放弃NPanday。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: