Web Authoring
  Home arrow Web Authoring arrow Page 2 - 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  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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 - FTP, SFTP, and WebDAV Export


    (Page 2 of 4 )

    FTP, SFTP, and WebDAV exports are very similar. They follow the same flow and use almost the same screens. To trigger an export, select the project in the Navigator view and click on the File | Export… menu option. This will give you a list of export options to select from.


    The Klomp plug-in gives us the ability to export via SFTP. Unfortunately, as of this writing, it does not work with the latest version of Eclipse, version 3.1. If you absolutely need a secure way to transfer files and Klomp does not work with your version of Eclipse, you might consider using WebDAV over the https:// protocol, or Ant using SFTP.

    Most of the options in this list are installed by the JDT and are Java related. Some allow you to export settings to be shared between team members. A handful, like FTP, Sftp, and WebDAV, are actually related to moving source files to another area. Select FTP and click on the Next button to continue.


    If you get an error message saying 'unable to load class' you will have to download drops containing FTP and WebDAV target management support plug-ins from the Eclipse site. Go to the Eclipse download site http://download.eclipse.org/eclipse/ downloads/ and click on your version you will find the drops for FTP and WebDAV Support on that page. Download and copy all the contents of the features and plugins directories into the features and plugins directories of your Eclipse installation.

    The next screen will ask if you wish to export a project that you previously exported via FTP:

                                               



    When you are first presented with this screen and if you have not done this before, the text area will be empty. Click on the Choose a new project to be exported radio button and you will be presented with a list of all the projects in your workspace. Select the ShelterSite project and click the Next button to continue. Eclipse will create a deployment mapping for this project. When you export again in the future, Eclipse reads this mapping to the server settings associated with a project, saving you a few of the following steps to choose a server.

    Similar to the last screen, this screen will ask if you want to export the project to a location to which you previously exported, or if you want to export to a new location. Again, if you have never exported via FTP before, the list area will be blank. Choose Create a new site and click on Next, this will launch the Create a connection to an FTP site dialog box.


    All of your FTP, SFTP, and WebDAV locations on this screen can be edited and deleted from the Site Explorer view. Access this view by going to the window | Show Vew… | Other... | Target Management | Site Explorer menu option.

    Enter your server connection settings here. Click the Next button to continue. If you are using WebDAV or SFTP, this screen will be different. However, all three will essentially ask you for the same details, like server name and authentication.

    On the final screen in the export wizard, you will have a chance to decide which files you want to upload. You can select individual files, or upload the entire project into the remote directory by checking the correlating checkbox next to the item. If the site has been previously uploaded, you can also do a line-by-line code comparison of the project.

    After you are done analyzing the code, click on the Finish button. The upload process will begin at this point. After this step, your site will be uploaded to the remote server, and you will be taken back to the development perspective.

    More Web Authoring Articles
    More By PACKT Publishing


       · 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-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek