Building with Ant: Deployment and Distribution Mississippi

We wrap up our lessons on working with this open-source development tool from the Jakarta Project by looking at some advanced issues - multiple deployment targets, versioning, and source distribution.

Local Companies

i.t.works
(601) 264-0969
6641 hwy 98 west
hattiesburg, MS
Premise Inc
(601) 579-9475
7 Woodstone Plz Ste 6
Hattiesburg, MS
Integrated Concepts and Research Corp
(601) 636-6616
3516 Manor Dr
Vicksburg, MS
Grayco Systems
(601) 583-0430
201 Campbell Loop
Hattiesburg, MS
Carraway Computer Systems Llc
(601) 943-6838
6093 N Williamsburg Rd
Bassfield, MS
Driver Technology Consulting, LLC
601 316-1692
445 Greenmont Drive
Jackson, MS
Scruggs & Associates
(601) 426-3419
542 Central Ave
Laurel, MS
Cisco Systems
(601) 957-5132
Jackson, MS
World Class Computers & Associates
(601) 376-0910
Jackson, MS
C A Business Consultants Inc
(601) 981-1438
2570 Bailey Ave Ste 9
Jackson, MS

provided by: 
Originally published at Internet.com


"Ah, to build, to build!
That is the noblest art of all the arts."
- Henry Wadsworth Longfellow

Review Part 1

Review Part 2

In this installment, we discuss issues of deployment and distribution. We are continuing to use the build.xml file from a real, working Web application - please download it and follow along.

Deploying Locally



These days, it is trivial to run a servlet container on your workstation. This should be your first line of deployment. Before you push your application to any other servers, you should deploy it locally and look it over. (It is also a good idea to run acceptance tests on the locally running site, using a test framework like HTTPUnit.)

A Web application is just a bunch of files in a directory. At its heart, deployment is simply a matter of copying those files to the right place and letting your servlet container know that you've done so.

In the case of a local servlet container, the first step - copying the files - is already done! Remember, our webapp target created a directory inside of build that contains all the files of the Web application. All we need to do now is tell our servlet container where these files are. For Tomcat, that's as easy as adding a single line to TOMCAT_HOME/conf/server.xml: ...

Read article at Internet.com site

Featured Local Company

Driver Technology Consulting, LLC

601 316-1692
445 Greenmont Drive
Jackson, MS
http://www.dtc-ms.com

Regional Articles
- Building with Ant: Deployment and Distribution Bay Saint Louis MS
- Building with Ant: Deployment and Distribution Biloxi MS
- Building with Ant: Deployment and Distribution Booneville MS
- Building with Ant: Deployment and Distribution Brandon MS
- Building with Ant: Deployment and Distribution Byhalia MS
- Building with Ant: Deployment and Distribution Clarksdale MS
- Building with Ant: Deployment and Distribution Clinton MS
- Building with Ant: Deployment and Distribution Columbus MS
- Building with Ant: Deployment and Distribution Corinth MS
- Building with Ant: Deployment and Distribution Gautier MS
- Building with Ant: Deployment and Distribution Greenville MS
- Building with Ant: Deployment and Distribution Greenwood MS
- Building with Ant: Deployment and Distribution Grenada MS
- Building with Ant: Deployment and Distribution Gulfport MS
- Building with Ant: Deployment and Distribution Hattiesburg MS
- Building with Ant: Deployment and Distribution Hernando MS
- Building with Ant: Deployment and Distribution Holly Springs MS
- Building with Ant: Deployment and Distribution Horn Lake MS
- Building with Ant: Deployment and Distribution Jackson MS
- Building with Ant: Deployment and Distribution Laurel MS
- Building with Ant: Deployment and Distribution Lucedale MS
- Building with Ant: Deployment and Distribution Mccomb MS
- Building with Ant: Deployment and Distribution Meridian MS
- Building with Ant: Deployment and Distribution Moss Point MS
- Building with Ant: Deployment and Distribution Natchez MS
- Building with Ant: Deployment and Distribution Ocean Springs MS
- Building with Ant: Deployment and Distribution Olive Branch MS
- Building with Ant: Deployment and Distribution Oxford MS
- Building with Ant: Deployment and Distribution Pascagoula MS
- Building with Ant: Deployment and Distribution Pass Christian MS
- Building with Ant: Deployment and Distribution Pearl MS
- Building with Ant: Deployment and Distribution Petal MS
- Building with Ant: Deployment and Distribution Picayune MS
- Building with Ant: Deployment and Distribution Pontotoc MS
- Building with Ant: Deployment and Distribution Ridgeland MS
- Building with Ant: Deployment and Distribution Southaven MS
- Building with Ant: Deployment and Distribution Starkville MS
- Building with Ant: Deployment and Distribution Tupelo MS
- Building with Ant: Deployment and Distribution Vicksburg MS
- Building with Ant: Deployment and Distribution West Point MS
- Building with Ant: Deployment and Distribution Yazoo City MS
Related Local Event
OCEANS 2009
Dates: 10/27/2009 - 10/29/2009
Location: Mississippi Coast Coliseum and Convention Center
Biloxi, MS
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML