Solved

Ant Question

Posted on 2006-10-25
3
143 Views
Last Modified: 2011-09-20
Hi,
I would like transfer files of a webapp from a Windows system (development platform) to a Linux machine (production) and restart the Webapp on the Linux machine.
Is this possible ?
Thank u.
0
Comment
Question by:matthew016
  • 2
3 Comments
 
LVL 92

Expert Comment

by:objects
Comment Utility
yes. best would be to build a war from your dev environment and deploy that to prod

http://ant.apache.org/manual/CoreTasks/war.html
0
 
LVL 9

Author Comment

by:matthew016
Comment Utility

Why is it better to have a War file instead of all the files like I usually do ?

How do I transfer from my Windows platform to the linux platform over the Internet using Ant ?

0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
Comment Utility
war files are generally easier to deploy, plus u only have a single file to transfer.
how u transfer depends on what options are available typically scp or ftp
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now