You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2019. It is now read-only.
MSeven edited this page Sep 13, 2010
·
5 revisions
This is an Deployment script/system, based on Apacher Antdeploy, which is secificially optimized for integration into Eclipse IDE, or products based on Eclipse (like ZendStudio 6.x).
The deploy integrates into the “external tools” dialog of eclipse, is configurable using an Eclipse dialog and will utillize the Ant installation distributed with eclipse.
The main functions of this script are:
Check out a clean local version from either SVN or CVS (on the developer workstation)
Pack the folder structure (excluding certain files) using either Gzip or Bzip2
Upload the Archive to a Server via SCP
Run a backup script on the folder that will be deployed to
Run either generic (by project) or specific (by serverconfig in a project) Service scripts BEFORE unpacking
unpack the Archive overwriting files
Run either generic (by project) or specific (by serverconfig in a project) Service scripts AFTER unpacking
Mark the just deployed revision in SVN/CVS
Generate and mail a HTML changelog between certain tags (for instance differences between current stage deploy and last live deploy)
Things to keep in mind:
Zend studio DOES include the full Eclipse Ant feature, but hides them by default. Create/delete a new dummy java project to enable these.
SVN support is built-in, CVS support currently requires an CLICVS client. SVNCLI support is optional for improved performance.
The deploy by default is incremental, e.g. only new files are added, never deleted, If you need to remove cachefiles or similar, use an afterbuild.sh to script removal.
Make sure to include ./lib/jsch.jar in the classpath using the launchfile. (since it cannot be loaded at runtime afaik).