You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-commits@incubator.apache.org by si...@apache.org on 2007/05/21 04:01:44 UTC
svn commit: r540011 - in /incubator/nmaven/trunk/site/src/site:
apt/getting-started.apt apt/ide/sharp-develop.apt apt/ide/visual-studio.apt
images/SD-Menu.JPG images/VS2005-Menu.JPG images/VS2005-SHUTDOWN.JPG
images/VS2005-StartAddin.JPG
Author: sisbell
Date: Sun May 20 21:01:43 2007
New Revision: 540011
URL: http://svn.apache.org/viewvc?view=rev&rev=540011
Log:
Updated site docs
Added:
incubator/nmaven/trunk/site/src/site/images/SD-Menu.JPG (with props)
incubator/nmaven/trunk/site/src/site/images/VS2005-Menu.JPG (with props)
incubator/nmaven/trunk/site/src/site/images/VS2005-SHUTDOWN.JPG (with props)
incubator/nmaven/trunk/site/src/site/images/VS2005-StartAddin.JPG (with props)
Modified:
incubator/nmaven/trunk/site/src/site/apt/getting-started.apt
incubator/nmaven/trunk/site/src/site/apt/ide/sharp-develop.apt
incubator/nmaven/trunk/site/src/site/apt/ide/visual-studio.apt
Modified: incubator/nmaven/trunk/site/src/site/apt/getting-started.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/apt/getting-started.apt?view=diff&rev=540011&r1=540010&r2=540011
==============================================================================
--- incubator/nmaven/trunk/site/src/site/apt/getting-started.apt (original)
+++ incubator/nmaven/trunk/site/src/site/apt/getting-started.apt Sun May 20 21:01:43 2007
@@ -148,8 +148,8 @@
To create a simple project:
+----+
- mvn archetype:create -DgroupId=<<groupid>> \
- -DartifactId=<<artifactId>> \
+ mvn archetype:create -DgroupId=<<myGroupid>> \
+ -DartifactId=<<myArtifactId>> \
-DarchetypeArtifactId=maven-archetype-dotnet-simple \
-DarchetypeGroupId=org.apache.maven.dotnet \
-DarchetypeVersion=0.14-SNAPSHOT
Modified: incubator/nmaven/trunk/site/src/site/apt/ide/sharp-develop.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/apt/ide/sharp-develop.apt?view=diff&rev=540011&r1=540010&r2=540011
==============================================================================
--- incubator/nmaven/trunk/site/src/site/apt/ide/sharp-develop.apt (original)
+++ incubator/nmaven/trunk/site/src/site/apt/ide/sharp-develop.apt Sun May 20 21:01:43 2007
@@ -1 +1,25 @@
-Sharp Develop
\ No newline at end of file
+Sharp Develop
+
+* About
+
+ The initial protoype of the SharpDevelop Addin is further discussed
+ {{{http://jroller.com/page/random7?entry=completed_prototype_of_apache_nmaven}here}}.
+
+[../images/SD-Menu.JPG]
+
+
+ There are still a number of
+ manual steps needed to get the addin compiled and running outside of the initial test environment. They include:
+
+ [[1]] Getting the dependent #develop assemblies imported into the local maven repo (or GAC)
+
+ [[2]] Creating the pom file for the NMaven.SharpDevelop.Addin module
+
+ [[3]] Packaging of the addin
+
+ [[4]] Starting the maven embedder automatically
+
+ []
+
+ If you need the functionality sooner than later and you want to take this on, you can submit a patch to get things moving:
+ {{{http://jira.codehaus.org/browse/NMAVEN} NMaven Issue Tracking}}
\ No newline at end of file
Modified: incubator/nmaven/trunk/site/src/site/apt/ide/visual-studio.apt
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/apt/ide/visual-studio.apt?view=diff&rev=540011&r1=540010&r2=540011
==============================================================================
--- incubator/nmaven/trunk/site/src/site/apt/ide/visual-studio.apt (original)
+++ incubator/nmaven/trunk/site/src/site/apt/ide/visual-studio.apt Sun May 20 21:01:43 2007
@@ -1,20 +1,25 @@
Visual Studio 2005
+* About
+
+ The current version of the Visual Studio plugin is experimental and is meant as a proof of concept demonstrating
+ that VS2005 can build .NET applications through Maven. It is being put out there to get early feedback on what developers
+ want to see. The plugin is not currently ready to use for any serious development.
+
* Installing
- After following the build instructions here: {{{getting-started.html#Building NMaven}Building NMaven}}, you will need
- to run:
+ Follow the build instructions here: {{{../getting-started.html#Building NMaven}Building NMaven}} and then type:
- +----+
++----+
mvn org.apache.maven.dotnet.plugins:maven-vsinstaller-plugin:install
- +----+
++----+
This plugin will resolve (and download if needed) all of NMaven's dependencies and will create the Visual Studio
- addin file in the user home directory: ${user.home}\My Documents\Visual Studio 2005\Addins.
+ addin file in the user home directory: ~\My Documents\Visual Studio 2005\Addins\NMaven.VisualStudio.AddIn.
- Sample Addin file:
+ Sample Generated Addin file:
- +----+
++----+
<?xml version="1.0" encoding="utf-16"?>
<Extensibility xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
@@ -35,6 +40,62 @@
<CommandPreload>1</CommandPreload>
</Addin>
</Extensibility>
- +----+
++----+
+
+* Setting up a project
+
+ If you do not have a .NET Maven project setup, create a simple project:
+
++----+
+ mvn archetype:create -DgroupId=<<myGroupid>> \
+ -DartifactId=<<myArtifactId>> \
+ -DarchetypeArtifactId=maven-archetype-dotnet-simple \
+ -DarchetypeGroupId=org.apache.maven.dotnet \
+ -DarchetypeVersion=0.14-SNAPSHOT
++----+
+
+ You will see the following project generated:
+
++----+
+ .
+ |-- src
+ | `-- main
+ | `-- csharp
+ | `-- Sample
+ | `-- MyApp.cs
+ `-- pom.xml
++----+
+
+ To generate the solution and project files (csharp only), go to the directory
+ containing the pom.xml and type
+
++----+
+ mvn NMaven.Plugins:NMaven.Plugin.Solution.JavaBinding:Solution
++----+
+
+* Using Visual Studio
+
+ * Startup Visual Studio 2005 by clicking on a generated solution file
+
+ * Click on a project file
+
+ * Start the NMaven addin [Tool/NMavenAddin]. The addin will start and make a connection to an embedder jetty server
+ hosting the maven embedder.
+
+ []
+
+[../images/VS2005-StartAddin.JPG]
+
+ * After a few moments you should see a frame appear containing a list of maven projects, by artifact ID. Right click
+ on one of the projects to do a build. You will see the output within the output pane.
+
+ []
+
+[../images/VS2005-Menu.JPG]
+
+ * After you are done, you will need to manually shut down the jetty server by killing the process.
+
+ []
+[../images/VS2005-SHUTDOWN.JPG]
+
-Next startup Visual Studio 2005.
Added: incubator/nmaven/trunk/site/src/site/images/SD-Menu.JPG
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/images/SD-Menu.JPG?view=auto&rev=540011
==============================================================================
Binary file - no diff available.
Propchange: incubator/nmaven/trunk/site/src/site/images/SD-Menu.JPG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/nmaven/trunk/site/src/site/images/VS2005-Menu.JPG
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/images/VS2005-Menu.JPG?view=auto&rev=540011
==============================================================================
Binary file - no diff available.
Propchange: incubator/nmaven/trunk/site/src/site/images/VS2005-Menu.JPG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/nmaven/trunk/site/src/site/images/VS2005-SHUTDOWN.JPG
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/images/VS2005-SHUTDOWN.JPG?view=auto&rev=540011
==============================================================================
Binary file - no diff available.
Propchange: incubator/nmaven/trunk/site/src/site/images/VS2005-SHUTDOWN.JPG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/nmaven/trunk/site/src/site/images/VS2005-StartAddin.JPG
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/site/src/site/images/VS2005-StartAddin.JPG?view=auto&rev=540011
==============================================================================
Binary file - no diff available.
Propchange: incubator/nmaven/trunk/site/src/site/images/VS2005-StartAddin.JPG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream