Author: sisbell Date: Sun Aug 19 16:11:02 2007 New Revision: 567502 URL: http://svn.apache.org/viewvc?rev=567502&view=rev Log: Updated Visual Studio website docs.
Modified: incubator/nmaven/www/adding-executables.html incubator/nmaven/www/adding-plugins.html incubator/nmaven/www/conventions.html incubator/nmaven/www/dependencies.html incubator/nmaven/www/environment-configuration.html incubator/nmaven/www/features.html incubator/nmaven/www/getting-started.html incubator/nmaven/www/ide/sharp-develop.html incubator/nmaven/www/ide/visual-studio.html incubator/nmaven/www/index.html incubator/nmaven/www/integration.html incubator/nmaven/www/issue-tracking.html incubator/nmaven/www/license.html incubator/nmaven/www/mail-lists.html incubator/nmaven/www/net-plugins.html incubator/nmaven/www/plugins/index.html incubator/nmaven/www/project-info.html incubator/nmaven/www/project-summary.html incubator/nmaven/www/rdf-repository.html incubator/nmaven/www/source-repository.html incubator/nmaven/www/team-list.html Modified: incubator/nmaven/www/adding-executables.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/adding-executables.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/adding-executables.html (original) +++ incubator/nmaven/www/adding-executables.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/adding-plugins.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/adding-plugins.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/adding-plugins.html (original) +++ incubator/nmaven/www/adding-plugins.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/conventions.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/conventions.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/conventions.html (original) +++ incubator/nmaven/www/conventions.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/dependencies.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/dependencies.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/dependencies.html (original) +++ incubator/nmaven/www/dependencies.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/environment-configuration.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/environment-configuration.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/environment-configuration.html (original) +++ incubator/nmaven/www/environment-configuration.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/features.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/features.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/features.html (original) +++ incubator/nmaven/www/features.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/getting-started.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/getting-started.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/getting-started.html (original) +++ incubator/nmaven/www/getting-started.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/ide/sharp-develop.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/ide/sharp-develop.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/ide/sharp-develop.html (original) +++ incubator/nmaven/www/ide/sharp-develop.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/ide/visual-studio.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/ide/visual-studio.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/ide/visual-studio.html (original) +++ incubator/nmaven/www/ide/visual-studio.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | @@ -208,7 +208,54 @@ | `-- csharp | `-- Sample | `-- MyApp.cs - `-- 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 "Load Solution"</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: "Unable to connect to the remote server" This means that the embedded server did not properly start up.</p><p>If the plugin loads, but you still encounter errors, check under the .m2/embedder-error-logs directory</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 "Load Solution"</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: "Unable to connect to the remote server" This means that the embedded server did not properly start up.</p><p>If the plugin loads, but you still encounter errors, check under the .m2/embedder-error-logs directory. You will see two log files: jetty-log.xml and the nmaven-embedder-log.xml. The jetty-log will tell you what port the jetty server starts on and the location of the war file. If the war file does not load correctly, jetty will output information to this log. This log will also tell you if the server started successfully.</p><div class="source"><pre> <record> + <date>2007-07-30T17:35:37</date> + <millis>1185842137390</millis> + <sequence>0</sequence> + <level>INFO</level> + <class>org.apache.maven.dotnet.jetty.JettyStarter</class> + <method>main</method> + <thread>10</thread> + <message>NMAVEN: Port = 8080, + warFile = C:\Documents and Settings\shane\.m2\repository\org\apache\maven\dotnet\dotnet-service-embedder\0.14\dotnet-service-embedder-0.14.war</message> +</record> +<record> + <date>2007-07-30T17:35:40</date> + <millis>1185842140500</millis> + <sequence>7</sequence> + <level>INFO</level> + <class>org.apache.maven.dotnet.jetty.JettyStarter</class> + <method>main</method> + <thread>10</thread> + <message>NMAVEN: Successfully started server</message> +</record> </pre></div><p>The nmaven-embedder-log.xml is useful for given information about why jetty itself does not start. It gives the location of the local repository that the embedder uses as well as the full classpath that jetty is using when it starts.</p><div class="source"><pre><record> + <date>2007-07-30T17:35:37</date> + <millis>1185842137078</millis> + <sequence>0</sequence> + <level>INFO</level> + <class>org.apache.maven.dotnet.plugin.embedder.EmbedderStarterMojo</class> + <method>execute</method> + <thread>10</thread> + <message>NMAVEN: Found local repository: Path = C:\Documents and Settings\shane\.m2\repository</message> +</record> +<record> + <date>2007-07-30T17:35:37</date> + <millis>1185842137109</millis> + <sequence>2</sequence> + <level>INFO</level> + <class>org.apache.maven.dotnet.plugin.embedder.EmbedderStarterMojo</class> + <method>execute</method> + <thread>10</thread> + <message>[-Dport=8080, + -DwarFile=C:\Documents and Settings\shane\.m2\repository\org\apache\maven\dotnet\dotnet-service-embedder\0.14\dotnet-service-embedder-0.14.war, + -classpath, "C:\Documents and Settings\shane\.m2\repository\javax\servlet\jsp\jsp-api\2.1\jsp-api-2.1.jar"; + "C:\Documents and Settings\shane\.m2\repository\org\mortbay\jetty\jetty\6.1.5\jetty-6.1.5.jar"; + "C:\Documents and Settings\shane\.m2\repository\org\mortbay\jetty\jetty-util\6.1.5\jetty-util-6.1.5.jar"; + "C:\Documents and Settings\shane\.m2\repository\org\mortbay\jetty\jetty-embedded\6.1.5\jetty-embedded-6.1.5.jar"; + "C:\Documents and Settings\shane\.m2\repository\org\mortbay\jetty\servlet-api-2.5\6.1.5\servlet-api-2.5-6.1.5.jar"; + "C:\Documents and Settings\shane\.m2\repository\org\apache\maven\dotnet\dotnet-jetty\0.14\dotnet-jetty-0.14.jar", + org.apache.maven.dotnet.jetty.JettyStarter]</message> +</record> </pre></div></div><div class="section"><h3>IDE And MavenEmbedder Interaction</h3><img src="../images/IdeMavenEmbedderInteraction.jpg" /><p>The interaction starts when the <b>developer</b> loads the NMaven build addin (1). <b>Visual Studio</b> then starts up the MavenEmbedder as an external process running within a Jetty Server(2). <b>Visual Studio</b> starts up a logger port (3) that the <b>MavenEmbedder</b> can use to write log messages to. </p><p>The <b>developer</b> now issues a build command (4): compile, test, clean or install. <b>Visual Studio</b> does a SOAP call to the <b>MavenEmbedder</b> (5). The SOAP message contains the build command, the logger port and the file location of the pom.xml file to use during the build. The <b>MavenEmbedder</b> configures its logger to use a socket and connects to the <b>Visual Studio</b> logger port (6, 7). The <b>MavenEmbedder</b> issues the build command for each project contained within the pom.xml file (8) and st arts building the project and writing the log messages to <b>Visual Studio</b> (9). <b>Visual Studio</b> takes the log messages and writes it out to the IDE output console (10) where the developer can see the build results (11).</p></div></div> </div> </div> <div class="clear"> Modified: incubator/nmaven/www/index.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/index.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/index.html (original) +++ incubator/nmaven/www/index.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/integration.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/integration.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/integration.html (original) +++ incubator/nmaven/www/integration.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/issue-tracking.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/issue-tracking.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/issue-tracking.html (original) +++ incubator/nmaven/www/issue-tracking.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/license.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/license.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/license.html (original) +++ incubator/nmaven/www/license.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/mail-lists.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/mail-lists.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/mail-lists.html (original) +++ incubator/nmaven/www/mail-lists.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/net-plugins.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/net-plugins.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/net-plugins.html (original) +++ incubator/nmaven/www/net-plugins.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/plugins/index.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/plugins/index.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/plugins/index.html (original) +++ incubator/nmaven/www/plugins/index.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/project-info.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/project-info.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/project-info.html (original) +++ incubator/nmaven/www/project-info.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/project-summary.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/project-summary.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/project-summary.html (original) +++ incubator/nmaven/www/project-summary.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/rdf-repository.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/rdf-repository.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/rdf-repository.html (original) +++ incubator/nmaven/www/rdf-repository.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/06/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/source-repository.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/source-repository.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/source-repository.html (original) +++ incubator/nmaven/www/source-repository.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> | Modified: incubator/nmaven/www/team-list.html URL: http://svn.apache.org/viewvc/incubator/nmaven/www/team-list.html?rev=567502&r1=567501&r2=567502&view=diff ============================================================================== --- incubator/nmaven/www/team-list.html (original) +++ incubator/nmaven/www/team-list.html Sun Aug 19 16:11:02 2007 @@ -45,7 +45,7 @@ <div class="xleft"> - Last Published: 08/16/2007 + Last Published: 08/19/2007 </div> <div class="xright"> <a href="http://incubator.apache.org/projects/nmaven.html">Project Site</a> |