Skip to content

ECr: Build-Package: archives site-folder as option ? #57

Open
@hgh-esn

Description

@hgh-esn

@elkuku
Hi,
when building a package, the project-files are are packed into an archives site-folder. Only the manifest..xml file is the archive-rout . That is made by ECr defaults and actually not changeable and gives the following archive-structure:

archive.zip

  • manifest.xml
  • site-folder
    • project-files
    • other folders/files

In my plugin I must run a install/update/uninstall script as joomla supports it.

Therefor I have the <scriptfile>script.php</scriptfile> tag in the manifest.xml.
To get this working, the file script.php must be in the archiv-root (as the manifest.xml).

Any tryings with something like <scriptfile>site/script.php</scriptfile> don't work.

At least, I don't have any chance to put the script.php-file into the archiv rout via ecr, except, there would be an option to hide the site-folder-creation in the archive.zip.

For this, the archive-structure than must be as:

archive.zip

  • manifest.xml
  • script.php
  • project-files
  • other folders/files

Is there a chance to get this option?

asking for this .... HGH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions