BUILD FAILED exec returned: 255
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joseph_Banks
Posted On:   Wednesday, June 30, 2010 07:19 AM

Dear all, my ant build fails with message: BUILD FAILED /var/www/htdocs/storefront/build/build.xml:28: exec returned: 255 Where line 28 is executing a phpunit that is successfully executed separately (also stdo doesn't show any problem regarding to its execution) The following is the build.xml script: <?xml version="1.0" encoding="UTF-8"?> --log-xml ${basedir}/build/logs/phpunit.xml --log-pmd ${basedir}/build/logs/phpunit   More>>


Dear all,

my ant build fails with message:




BUILD FAILED

/var/www/htdocs/storefront/build/build.xml:28: exec returned: 255




Where line 28 is executing a phpunit that is successfully
executed separately (also stdo doesn't show any
problem regarding to its execution)




The following is the build.xml script:



			
<?xml version="1.0" encoding="UTF-8"?>




























--log-xml ${basedir}/build/logs/phpunit.xml
--log-pmd ${basedir}/build/logs/phpunit.pmd.xml
--log-metrics ${basedir}/build/logs/phpunit.metrics.xml
--coverage-xml ${basedir}/build/logs/phpunit.coverage.xml
AllTests.php"/>





tofile="${basedir}/application/application.php" overwrite="true" />


















so, line 28 would be:



			


--log-xml ${basedir}/build/logs/phpunit.xml
--log-pmd ${basedir}/build/logs/phpunit.pmd.xml
--log-metrics ${basedir}/build/logs/phpunit.metrics.xml
--coverage-xml ${basedir}/build/logs/phpunit.coverage.xml
AllTests.php"/>




The failing build doesn't give a clear explanation why it's failing. Any idea?

Best regards,
Joe

   <<Less

Re: BUILD FAILED exec returned: 255

Posted By:   Joseph_Banks  
Posted On:   Wednesday, June 30, 2010 07:25 AM


this is the full stdo output:




Buildfile: /var/www/htdocs/storefront/build/build.xml

buildPreparation:

getProps:
[echo] ---- Build Properties ----
[echo]
[echo] OS is Linux
[echo] Basedir is /var/www/htdocs/storefront
[echo] Property file is /var/www/htdocs/storefront/build/ant.properties
[echo] Script-suffix is
[echo]
[echo] ---- Storefront Properties ----
[echo]
[echo] Environment is development

configure:
[copy] Copying 1 file to /var/www/htdocs/storefront/application

test:
[exec] PHPUnit 3.3.6 by Sebastian Bergmann.
[exec]
[exec] ....................................
[exec]
[exec] Time: 0 seconds
[exec]
OK (36 tests, 106 assertions)

[exec] Writing code coverage data to XML file, this may take a moment.

BUILD FAILED
/var/www/htdocs/storefront/build/build.xml:28: exec returned: 255



Hopefully this will help answering my question, thanks

About | Sitemap | Contact