Web Authoring
  Home arrow Web Authoring arrow Page 4 - Deploying your Site with phpEclipse
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB AUTHORING

Deploying your Site with phpEclipse
By: PACKT Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2006-03-09

    Table of Contents:
  • Deploying your Site with phpEclipse
  • FTP, SFTP, and WebDAV Export
  • Using Ant for Deployment
  • Setting up Ant for FTP

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Deploying your Site with phpEclipse - Setting up Ant for FTP


    (Page 4 of 4 )

    Before we get started, we need to install some additional files for Ant. FTP ability is an optional Ant task that is not included with the default installation of Eclipse. We need to download these files and add them to our Ant classpaths in Eclipse.

    The steps required are:

    1. Download and unzip the latest binaries of commons-net.jar and commons-oro.jar
    2. Install the commons-net and commons-oro
    3.  Add these new files to the Ant classpath.
    Downloading

    You can find the commons-net.jar and commons-oro.jar files at http://jakarta.apache.org/site/downloads/ downloads_commons-net.cgi and http://jakarta.apache.org/site/downloads/ downloads_oro.cgi respectively.

    You will need at least version 1.4.0 for commons-net.jar and at least version 2.0.8 for commons-oro.jar. When you expand the downloaded files, the JARs should have the version numbers as part of the file names, like commons-net-1.4.0.jar. This is perfectly acceptable and there is no need to change the file names.

    Installing

    Place these files in a clear location. It is recommended to create a new directory under the Eclipse installation folder called antjars. If you explore the Eclipse installation directory, you will find that the Ant plug-in is stored in its own folder under the plugins directory. This folder contains the original commons-net.jar and commons-oro.jar. These are the JARs that do not have our necessary FTP classes. You could replace these files, but it is generally not a good idea to fiddle with the default files. Therefore, we're going to place our replacement JARs outside the area having the default Eclipse-installed files. This way, Eclipse can still manage its own installed files, and if we upgrade, we don't lose any functionality because the user settings remember our classpath changes.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · This article is an excerpt from the book "PHPEclipse: A User Guide," published by...
     

    Buy this book now. This article is excerpted from PHPEclipse: A User Guide, written by Shu-Wai Chow (Packt Publishing, 2006; ISBN: 1904811442). Check it out today at your favorite bookstore. Buy this book now.

    WEB AUTHORING ARTICLES

    - Yahoo Pipes: Worth a Look
    - Completing an EAR
    - Building and Deploying an EAR
    - New Nuke Security Sentinel: Worth Taking a C...
    - Administering Your CMS-Based Web Site
    - What You Need to Know Before Using a CMS
    - Introducing the Google Maps API
    - An Overview of the Yahoo User Interface Libr...
    - Basic configuration of osCommerce, concluded
    - Basic configuration of osCommerce, continued
    - Basic configuration of osCommerce
    - Deploying your Site with PHPEclipse, continu...
    - Deploying your Site with phpEclipse
    - Macromedia Captivate Review
    - Macromedia and Adobe Planning to Tie the Knot







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway