If you run "mvn integration-test", the Maven Cargo plugin will
download and install Tomcat 5.5.17 and run the integration tests
against it.  If you want to see your project running in a server, you
have two options:

1. Run "mvn jetty:run-war" - this will fire up a Jetty instance and it
will be available at http://localhost:8080.
2. Run "mvn cargo.start -Dcargo.wait=true" and your application will
be deployed to Tomcat and available at
http://localhost:8081/applicationname-version#

If you want to change Cargo to point to an existing instance of
Tomcat, you should be able to change the bottom of pom.xml from:

                           <container>
                               <containerId>tomcat5x</containerId>
                               <zipUrlInstaller>
                                   <url>

http://apache.org/dist/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.zip
                                   </url>
                                   <installDir>${installDir}</installDir>
                               </zipUrlInstaller>
                           </container>

To:

                           <container>
                               <containerId>tomcat5x</containerId>
                               <home>${env.CATALINA_HOME}</home>
                           </container>

You can also deploy to a running instance of Tomcat if you prefer that:

http://cargo.codehaus.org/Deploying+to+a+running+container

Matt

On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:

Matt,

Thanks for all your help.

Could you please let me know what command I should be using for Tomcat
deployment?

regards,
Jaymin

Matt Raible-3 wrote:
>
> On second thought, I'd recommend you download 1.9.4 and work with
> that.  It'll be much more suitable for slow or unstable internet
> connection.
>
> In case you still want snapshots that use 2.0, I've attached the
> generated projects.
>
> All I did was run the command from the QuickStart Guide for 2.0, and
> then ran "mvn eclipse:eclipse" to generate the Eclipse project files.
> You should be able to change the groupId by modifying the pom.xml
> files and renaming packages in src/**/java/**.  You should be able to
> change the artifactId by merely changing the root pom.xml for each
> project.
>
> Matt
>
> On 1/11/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>> What groupId and artifactId would you like me to use?  Or do you know
>> enough about Maven 2 to change these after the project has been
>> created?
>>
>> Matt
>>
>> On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:
>> >
>> > I keep on getting "Connection timed out" errors. I would appreciate
>> your
>> > providing the zip file with build/test and war created using Appfuse
>> 2.0 for
>> > Archetype "Struts 2 Basic" and "Struts 2 Modular" for Eclipse+Tomcat.
>> >
>> >
>> >
>> > Jaymin Shah wrote:
>> > >
>> > > I would be downloading it from one of the internet café in town
>> having
>> > > high connectivity to USB Pen drive - so downloading would not be a
>> > > problem.
>> > >
>> > > I would need zip of project folder after executing build and test at
>> your
>> > > end. So I will be getting required source, lib/api, WAR etc.
>> > >
>> > > Regards,
>> > > Jaymin
>> > >
>> > >
>> > > Matt Raible-3 wrote:
>> > >>
>> > >> I can send you the projects, but if you have a poor internet
>> > >> connections, that won't help.  We download the dependencies
>> on-the-fly
>> > >> in 2.0.  This means that projects are very small, but all the
>> > >> artifacts are downloaded when you build and test.
>> > >>
>> > >> Matt
>> > >>
>> > >> On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:
>> > >>>
>> > >>> Hi,
>> > >>>
>> > >>> Thanks for your prompt response.
>> > >>>
>> > >>> There is no problem as such with Appfuse. It just that my internet
>> > >>> connection drops in between and causes builds failures.
>> > >>>
>> > >>> I have an urgent requirement for an project that needs to start
>> > >>> design/development ASAP and for that reason I need a project
>> created for
>> > >>> Archetype "Struts 2 Basic" and "Struts 2 Modular" configured for
>> > >>> Eclipse+Tomcat. Would it be possible for you to send me these
>> projects?
>> > >>>
>> > >>> Regards,
>> > >>> Jaymin
>> > >>>
>> > >>>
>> > >>> wayland.chan wrote:
>> > >>> >
>> > >>> > Jaymin,
>> > >>> >
>> > >>> > What problem are you having? Many people before you have used
>> AppFuse
>> > >>> and
>> > >>> > don't have any problems getting started.
>> > >>> >
>> > >>> > If you don't show Matt the problem, it's hard to fix for others.
>> > >>> >
>> > >>> >
>> > >>> > On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:
>> > >>> >>
>> > >>> >>
>> > >>> >> Hi Matt,
>> > >>> >>
>> > >>> >> For some reason, I am not able to create project using
>> instruction
>> > >>> >> provided
>> > >>> >> on http://dev.appfuse.org/display/APF/AppFuse+QuickStart - may
>> be too
>> > >>> >> slow
>> > >>> >> net connection.
>> > >>> >>
>> > >>> >> Would it be possible for you to send me the working war and zip
>> file
>> > >>> >> created
>> > >>> >> for project Archetype "Struts 2 Basic" and "Struts 2 Modular"
>> for
>> > >>> >> Eclipse+Tomcat. I believe that these projects will have initial
>> > >>> framework
>> > >>> >> ready to start development as shows in demo videos.
>> > >>> >>
>> > >>> >> Thanks in advance for your help.
>> > >>> >>
>> > >>> >> Regards,
>> > >>> >> Jaymin
>> > >>> >> --
>> > >>> >> View this message in context:
>> > >>> >>
>> > >>>
>> 
http://www.nabble.com/Matt-Raible--Need-your-help-tf2957260s2369.html#a8272749
>> > >>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> > >>> >>
>> > >>> >>
>> ---------------------------------------------------------------------
>> > >>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > >>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> > >>> >>
>> > >>> >>
>> > >>> >
>> > >>> >
>> > >>>
>> > >>> --
>> > >>> View this message in context:
>> > >>>
>> 
http://www.nabble.com/Matt-Raible--Need-your-help-tf2957260s2369.html#a8272867
>> > >>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> > >>>
>> > >>>
>> ---------------------------------------------------------------------
>> > >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > >>> For additional commands, e-mail: [EMAIL PROTECTED]
>> > >>>
>> > >>>
>> > >>
>> > >>
>> > >> --
>> > >> http://raibledesigns.com
>> > >>
>> > >>
>> ---------------------------------------------------------------------
>> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > >> For additional commands, e-mail: [EMAIL PROTECTED]
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> >
>> > --
>> > View this message in context:
>> 
http://www.nabble.com/Matt-Raible--Need-your-help-tf2957260s2369.html#a8273360
>> > Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> --
>> http://raibledesigns.com
>>
>
>
> --
> http://raibledesigns.com
>
>
>

--
View this message in context: 
http://www.nabble.com/Matt-Raible--Need-your-help-tf2957260s2369.html#a8273652
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

Reply via email to