Skip to content
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

package creation temporary file copy #18

Open
adamjakab opened this issue May 24, 2013 · 1 comment
Open

package creation temporary file copy #18

adamjakab opened this issue May 24, 2013 · 1 comment

Comments

@adamjakab
Copy link

EC0.0.19+LNX: I have created 1 component, 1 module and 2 plugins and the package creation process has always worked fine. Today I wanted to make a package out of these 4 elements and it kept failing in EcrProjectZiper::copyPackageElements @line:703 complaining about not being able to execute: JFile::copy($src, $dest). I noticed in the output that the $scr was holding only the name of the zipped file (successfully created and sitting in default "com_easycreator/data/builds/extensiondir/versiondir/" folder) and not the full path to the file. So i have left the $scr variable as it is and added:

$srcPath = dirname($files[0]->path) . DS . $fName;
and chancged the copy line to:
JFile::copy($srcPath, $dest)
now it works.

maybe this helps to someone.

@gregkeys
Copy link

Excellent, this worked for me as well, now I can easily make packages again. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants