This repository was archived by the owner on Sep 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
ant build-unit fails #61
Copy link
Copy link
Open
Description
I am following the official developers guide: https://developers.shopware.com/developers-guide/vagrant-phpstorm/
When it comes to the step "Build Shopware" and the substep "2. Configure your build properties" I get the following error message.
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
vagrant@shopware:~/www/shopware/build$ ant configure
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: /home/vagrant/www/shopware/build/build.xml
configure:
[input] Please enter db-host: [localhost]
localhost
[input] Please enter db-port: [3306]
3306
[input] Please enter db-name: []
shopware
[input] Please enter db-username: []
root
[input] Please enter db-password:
shopware
[input] Please enter app.host (Hostname e.g. example.com): []
192.168.33.10
[input] Please enter app.path (e.g. /shopware. Leave blank if installed in document root): []
/shopware
write-properties:
[propertyfile] Creating new property file: /home/vagrant/www/shopware/build/build.properties
BUILD SUCCESSFUL
Total time: 42 seconds
vagrant@shopware:~/www/shopware/build$ ant build-unit
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: /home/vagrant/www/shopware/build/build.xml
check-composer-binary:
install-composer-binary:
[exec] All settings correct for using Composer
[exec] Downloading...
[exec]
[exec] Composer (version 1.9.2) successfully installed to: /home/vagrant/www/shopware/composer.phar
[exec] Use it: php composer.phar
[exec]
update-composer-binary:
[exec] You are already using composer version 1.9.2 (stable channel).
build-composer-install:
[exec] Loading composer repositories with package information
[exec] Installing dependencies (including require-dev) from lock file
[exec] Package operations: 148 installs, 0 updates, 0 removals
[exec]
[exec] Fatal error: Uncaught TypeError: Return value of PackageVersions\Installer::activate() must be an instance of PackageVersions\void, none returned i n /home/vagrant/www/shopware/vendor/ocramius/package-versions/src/PackageVersions/Installer.php:80
[exec] Stack trace:
[exec] #0 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Plugin/PluginManager.php(237): PackageVersions\Installer->activate(Object(Composer\ Composer), Object(Composer\IO\ConsoleIO))
[exec] #1 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Plugin/PluginManager.php(206): Composer\Plugin\PluginManager->addPlugin(Object(Pack ageVersions\Installer))
[exec] #2 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Installer/PluginInstaller.php(62): Composer\Plugin\PluginManager->registerPackage(O bject(Composer\Package\CompletePackage), true)
[exec] #3 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Installer/InstallationManager.php(173): Composer\Installer\PluginInstaller->install (Object(Composer\Repository\InstalledFilesystemRepository), Object(Composer\P in /home/vagrant/www/shopware/vendor/ocramius/package-versions/src/PackageVersion s/Installer.php on line 80
[exec] - Installing ocramius/package-versions (1.4.2): Downloading (100%)
[exec] PHP Fatal error: Uncaught TypeError: Return value of PackageVersions\Installer::activate() must be an instance of PackageVersions\void, none retur ned in /home/vagrant/www/shopware/vendor/ocramius/package-versions/src/PackageVersions/Installer.php:80
[exec] Stack trace:
[exec] #0 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Plugin/PluginManager.php(237): PackageVersions\Installer->activate(Object(Composer\ Composer), Object(Composer\IO\ConsoleIO))
[exec] #1 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Plugin/PluginManager.php(206): Composer\Plugin\PluginManager->addPlugin(Object(Pack ageVersions\Installer))
[exec] #2 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Installer/PluginInstaller.php(62): Composer\Plugin\PluginManager->registerPackage(O bject(Composer\Package\CompletePackage), true)
[exec] #3 phar:///home/vagrant/www/shopware/composer.phar/src/Composer/Installer/InstallationManager.php(173): Composer\Installer\PluginInstaller->install (Object(Composer\Repository\InstalledFilesystemRepository), Object(Composer\P in /home/vagrant/www/shopware/vendor/ocramius/package-versions/src/PackageVersion s/Installer.php on line 80
BUILD FAILED
/home/vagrant/www/shopware/build/build.xml:98: exec returned: 255
Total time: 2 seconds
Metadata
Metadata
Assignees
Labels
No labels