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

BLT (> 8.6.6) only runnable from repo root #952

Closed
dpagini opened this issue Jan 10, 2017 · 2 comments
Closed

BLT (> 8.6.6) only runnable from repo root #952

dpagini opened this issue Jan 10, 2017 · 2 comments
Labels
Bug Something isn't working

Comments

@dpagini
Copy link
Contributor

dpagini commented Jan 10, 2017

My system information:

  • Operating system type: Ubuntu
  • Operating system version: 14.04
  • BLT version: 8.6.8

When I run this command (from the repo root):

$ blt

I get the following output:

Buildfile: /var/www/site/vendor/acquia/blt/phing/build.xml
     [echo] repo.root /var/www/site

blt > list:


__________.____  ___________
\______   \    | \__    ___/
 |    |  _/    |   |    |
 |    |   \    |___|    |
 |______  /_______ \____|
        \/        \/

Default target:
-------------------------------------------------------------------------------
 list

Main targets:
-------------------------------------------------------------------------------
 acsf:init                     Initializes ACSF support for project.
 acsf:init:drush               Refreshes the acsf settings and hook files.
 ci:pipelines:init             Initializes default Acquia Pipelines configuration for this project.

When I run this command (from docroot, for example):

$ blt

I get the following output:

#0 /var/www/site/vendor/phing/phing/classes/phing/Phing.php(1272): Phing::__import('vendor/acquia/b...', NULL)
#1 /var/www/site/vendor/phing/phing/classes/phing/Phing.php(852): Phing::import('vendor.acquia.b...')
#2 /var/www/site/vendor/phing/phing/classes/phing/Phing.php(791): Phing->createLogger()
#3 /var/www/site/vendor/phing/phing/classes/phing/Phing.php(663): Phing->addBuildListeners(Object(Project))
#4 /var/www/site/vendor/phing/phing/classes/phing/Phing.php(200): Phing->runBuild()
#5 /var/www/site/vendor/phing/phing/classes/phing/Phing.php(347): Phing::start(Array, NULL)
#6 /var/www/site/vendor/phing/phing/bin/phing.php(58): Phing::fire(Array)
#7 /var/www/site/vendor/phing/phing/bin/phing(14): require_once('/var/www/site...')
#8 {main}Error importing vendor/acquia/blt/phing/phingcludes/BltLogger.php

I can trace this back to the addition in #922 to /blt.sh file.
TBH, I'm not 100% sure how to fix this, I can just tell that when I revert this line, the application works as expected.

@grasmash grasmash added the Bug Something isn't working label Jan 10, 2017
@grasmash
Copy link
Contributor

@dpagini
Copy link
Contributor Author

dpagini commented Jan 11, 2017

Ah, sorry about that, thank you! I hadn't upgraded b/c of the "Pre-Release" tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants