-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression in createPackage method #68
Comments
After issue: #60 we changed the handling of the properties file to match the one in Zend Studio. Most probably you should adjust. The details are below: "We have the following results from testing with the latest version of Zend Studio. In the deployment.properties file the scriptsdir.includes propery is used to specify which folders or files will be included in the ZPK as scripts. The value of this property is comma separated list of paths. The paths can be files or directories. PHP files that are matching the following pattern pre_[stage|activate|deactivate|unstage|rollback].php or post_[stage|activate|deactivate|unstage|rollback].php and in the root of the Let's say we have
Adding files to the listThe following definition in the deployment.properties
Notice that if you specify a file then the directory structure is gone. Pre_stage.php will be executed in Zend Server. The following definition in the deployment.properties
Pre_stage.php and post_stage will be executed in Zend Server. Adding directories to the listThe following definition in the deployment.properties
As with the files the directory structure will be removed and only the files will be added. Pre_stage.php and post_stage will be executed in Zend Server. _Warning_: this is valid if only one directory is specified. Adding a second directory or file will result in different directory structure in the ZPK. The following definition in the deployment.properties
_Warning_: None of the pre_stage or post_stage PHP files will be executed in Zend Server! The reason for this is that they are not in the root of the scripts directory. Mixing files and directories is possible.
Only the pre_stage.php in the root scripts directory will be executed in Zend Server! |
After updating my zs-client to the last version, the package is no more created with the same structure.
Here is my deployment.xml:
and my deployment.properties:
With the last version, the folder scripts/ZendDevOps is moved to scripts/scripts/ZendDevOps but the file scripts/deph.php don't move. Previously, the folder scripts/ZendDevOps kept the same path too
The text was updated successfully, but these errors were encountered: