Skip to content

vfsStream is not copied to lib directory #128

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

Closed
razbakov opened this issue Oct 2, 2014 · 7 comments
Closed

vfsStream is not copied to lib directory #128

razbakov opened this issue Oct 2, 2014 · 7 comments

Comments

@razbakov
Copy link

razbakov commented Oct 2, 2014

magento is installed to webroot sub directory,
here is my composer.json:

{  
    "repositories": [
        {"type": "composer", "url": "http://packages.firegento.com"}
    ],
    "require": {
        "mikey179/vfsStream": "1.4.*",
        "firegento/psr0autoloader": "*",
        "magento-hackathon/magento-composer-installer":"*"
    },
    "extra": {
        "magento-root-dir": "webroot",
        "auto-append-gitignore": true,
        "magento-deploystrategy": "copy",
        "magento-force": true
    }
}

I need to run this command to fix it:

cp -rf vendor/mikey179/vfsStream/src webroot/lib/vfsStream/ 

vfsStream is used for https://github.com/EcomDev/EcomDev_PHPUnit

@Flyingmana
Copy link
Member

did you use the https://github.com/magento-hackathon/Magento-PSR-0-Autoloader modul and configured it for the composer autoloader?

I will let this issue open, till a feature is finished to automate this scenario

@razbakov
Copy link
Author

razbakov commented Oct 2, 2014

i added:

        "firegento/psr0autoloader": "*",
        "magento-hackathon/magento-composer-installer":"*"

doesn't work...

@razbakov
Copy link
Author

razbakov commented Oct 2, 2014

do you mean also to add local.xml configuration?

@Flyingmana
Copy link
Member

the psr0autoloader does not load composer autoloading by default

@razbakov
Copy link
Author

razbakov commented Oct 2, 2014

ok, it works, but the error is not solved,
as i understand this folder should be in lib folder, right?

@Flyingmana
Copy link
Member

there is nothing defined yet for non magento modules.

Per default in any case "no", but I planed a feature to whitelist packages for copy into lib. Anyway, simple adding them there would not bring much, as they dont follow the magento autoloading schema

@Flyingmana
Copy link
Member

would be solved by #93

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