EasyCreator icon indicating copy to clipboard operation
EasyCreator copied to clipboard

package creation temporary file copy

Open adamjakab opened this issue 12 years ago • 1 comments

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.

adamjakab avatar May 24 '13 08:05 adamjakab

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

gregkeys avatar May 28 '13 10:05 gregkeys