How to start/stop/redeploy maven web app using cargo start inside Eclipse


I have Maven2 war project built, I'm using the cargo start plugin,
and it works great for deploying the web app. To run the maven
command, I use a .bat file in my workspace, and I have en external run
config to run the the bat file. I can't seem to stop the server from
the Eclipse console, or re-deploy.


Does anyone have any
advice on how quickly start/stop/re-deploy to Tomcat locally while
developing.

I have a developed application and I am just trying to make the
build process easy. The POM file for parent looks like this:

/><parent>

<groupId>com.shc.obu.ca</groupId>

<artifactId>shcobuca-pom</artifactId>

<version>1.1.0</version> </parent>

<groupId>com.shc.obu.ca.osol</groupId>
<artifactId>apps-pom</artifactId>
<version>${currVersion}</version>
<packaging>pom</packaging> <name>Outlet
Apps</name>
<scm>

<connection>scm:svn:https://ushofsvpsvn2.intra.searshc.com/svn/outlet/
Programming Languages

Im new to Eclipse. I use Tomcat as my run time server, but every
time I modified the jsp pages, Eclipse was still displaying the older
one. Just wondering how to redeploy the application so the changes can
be reflected.


Eclipse: Eclipse IDE for Java EE Developers
1.2.1.20090918-0703


Tomcat: Tomcat 6.0

/>

Thanks

Development Tools & Services

I have Maven2 war project built, I'm using the cargo start plugin,
and it works great for deploying the web app. To run the maven
command, I use a .bat file in my workspace, and I have en external run
config to run the the bat file. I can't seem to stop the server from
the Eclipse console, or re-deploy.


Does anyone have any
advice on how quickly start/stop/re-deploy to Tomcat locally while
developing.

Programming Languages

I want cargo maven plugin to start a Tomcat7 so i put into my
pom:


<plugin>

<groupId>org.codehaus.cargo</groupId>

<artifactId>cargo-maven2-plugin</artifactId>

<version>1.2.0</version>
<!--
minimal configuration to let adb run (mvn package
org.codehaus.cargo:cargo-maven2-plugin:run) in a local tomcat
-->
<configuration>

<containerId>tomcat7x</containerId>

<containerUrl>http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.16/bin/apache-tomcat-7.0.16.zip
Web Design

Is ist possible to Start a Tomcat with Maven without stopping
Tomcat after Maven has finished?

Programming Languages

I have created a webapp based on this example:

/>

http://code4reference.com/2012/09/hello-world-web-application/

/>

I have converted it into a dynamic web project using eclipse 4.2.
The structure is:


MyProject
-> src
->
webapp
-> WEB-INF
-> appContext

-> beans.xml
-> mappings.xml
->
web.xml

I have a local installation of tomcat 7
that I specify when setting up the server inside eclipse. When I run
the server (with the above web app) I get:


14-11-2012
14:12:08 org.apache.catalina.core
Web Design

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow