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/06/07 19:55:18 UTC

svn commit: r545286 - /incubator/nmaven/www/ide/visual-studio.html

Author: sisbell
Date: Thu Jun  7 12:55:17 2007
New Revision: 545286

URL: http://svn.apache.org/viewvc?view=rev&rev=545286
Log:
Minor website update.

Modified:
    incubator/nmaven/www/ide/visual-studio.html

Modified: incubator/nmaven/www/ide/visual-studio.html
URL: http://svn.apache.org/viewvc/incubator/nmaven/www/ide/visual-studio.html?view=diff&rev=545286&r1=545285&r2=545286
==============================================================================
--- incubator/nmaven/www/ide/visual-studio.html (original)
+++ incubator/nmaven/www/ide/visual-studio.html Thu Jun  7 12:55:17 2007
@@ -204,7 +204,7 @@
   |       `-- csharp
   |           `-- Sample
   |               `-- MyApp.cs
-   `-- pom.xml
</pre></div><p>To generate the solution and project files (csharp only), go to the directory containing the pom.xml and type</p><div class="source"><pre> mvn NMaven.Plugins:NMaven.Plugin.Solution.JavaBinding:Solution
</pre></div></div><div class="section"><h3>Using Visual Studio</h3><ul><li>Startup Visual Studio 2005 by clicking on a generated solution file</li><li>Start the NMaven addin [Tool/NMaven Build System]. The addin will start and make a connection to an embedder jetty server hosting the maven embedder.</li></ul><img src="../images/VS2005-StartAddin.JPG" /><ul><li>After a few moments you should see a window appear. Dock the window.</li><li>Click on a project file</li><li>Under options, click &quot;Load Solution&quot;</li></ul><img src="../images/VS2005-LoadSolution.JPG" /><ul><li>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 outp
 ut within the output pane.</li></ul><img src="../images/VS2005-Menu.JPG" /></div><div class="section"><h3>Debugging</h3><p>When starting the adding, you may see an error message box:</p><div class="source"><pre>The Add-in supporting this command could not be loaded. Do you wish to remove this command?
</pre></div><p>To get proper log messages, shutdown your IDE and go to the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE directory . Type:</p><div class="source"><pre>devenv /Log C:\tmp\VS2005.log /ResetAddin NMaven.VisualStudion.Addin
</pre></div><p>Go back through the steps that caused the error. Now look at your log file. The most common error is: &quot;Unable to connect to the remote server&quot; This means that the embedded server did not properly start up.</p></div></div>
+   `-- pom.xml
</pre></div><p>Next install the solution:</p><div class="source"><pre> mvn install
</pre></div><p>To generate the solution and project files (csharp only), go to the directory containing the pom.xml and type</p><div class="source"><pre> mvn NMaven.Plugins:NMaven.Plugin.Solution.JavaBinding:Solution
</pre></div></div><div class="section"><h3>Using Visual Studio</h3><ul><li>Startup Visual Studio 2005 by clicking on a generated solution file</li><li>Start the NMaven addin [Tool/NMaven Build System]. The addin will start and make a connection to an embedder jetty server hosting the maven embedder.</li></ul><img src="../images/VS2005-StartAddin.JPG" /><ul><li>After a few moments you should see a window appear. Dock the window.</li><li>Click on a project file</li><li>Under options, click &quot;Load Solution&quot;</li></ul><img src="../images/VS2005-LoadSolution.JPG" /><ul><li>After a few moments you should see a frame appear containing a list of maven projects, by a
 rtifact ID. Right click on one of the projects to do a build. You will see the output within the output pane.</li></ul><img src="../images/VS2005-Menu.JPG" /></div><div class="section"><h3>Debugging</h3><p>When starting the adding, you may see an error message box:</p><div class="source"><pre>The Add-in supporting this command could not be loaded. Do you wish to remove this command?
</pre></div><p>To get proper log messages, shutdown your IDE and go to the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE directory . Type:</p><div class="source"><pre>devenv /Log C:\tmp\VS2005.log /ResetAddin NMaven.VisualStudion.Addin
</pre></div><p>Go back through the steps that caused the error. Now look at your log file. The most common error is: &quot;Unable to connect to the remote server&quot; This means that the embedded server did not properly start up.</p></div></div>
       </div>
     </div>
     <div class="clear">