-
Notifications
You must be signed in to change notification settings - Fork 22
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
ECr: Build-Package: archives site-folder as option ? #57
Comments
Could you try the following: |
When building the zip-file via ECr, there are some more probs.
When the scriptfile-tag is stophitcounts_PREFLIGHT_uninstall => nothing to do Only when the tag is # May be that is a joomla-bug. But I can't find the source-file, where it happens?
|
OK here are some updates: First of all, the whole install script thing was only processed for components. IIRC it was only available for components when it was introduces back in J! 1.5... So you have the option to put your As for the different processing: Maybe you dircovered a Joomla! bug, so you could easily make an example plugin to demonstrate the failure and submit a bug report 😉 I haven't prepared a release yet, so please use https://github.com/elkuku/EasyCreator/archive/master.zip for testing. For 2. and 3. - I'll investigate that.. |
Hi elkuku, thanks a lot for your engagement. I tested the install thing in both ways. The build of the xml runs, but there is a prob at least.
In this case the script should not be copied into the - in this case - unnecessary installation folder - it has to go directly into the project-root. You can decide it by the scriptfile-tag. Do something like this: I hope I could help. PS: As for the different processing: ... |
@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
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
Is there a chance to get this option?
asking for this .... HGH
The text was updated successfully, but these errors were encountered: