Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#366 closed defect (duplicate)

ant build with ant not installed should have better error message

Reported by: dnatalini@… Owned by: cmlenz
Priority: trivial Milestone:
Component: Build slave Version: dev
Keywords: Cc:
Operating System: Linux

Description

bitten-slave exports sources from svn, but fails loading the ant task:

[ERROR ] Internal error in build step 'build'

Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/Bitten-0.6dev-py2.5.egg/bitten/slave.py", line 263, in _execute_step

step.execute(recipe.ctxt):

File "/usr/lib/python2.5/site-packages/Bitten-0.6dev-py2.5.egg/bitten/recipe.py", line 191, in execute

ctxt.run(self, child.namespace, child.name, child.attr)

File "/usr/lib/python2.5/site-packages/Bitten-0.6dev-py2.5.egg/bitten/recipe.py", line 95, in run

function(self, args)

File "/usr/lib/python2.5/site-packages/Bitten-0.6dev-py2.5.egg/bitten/build/javatools.py", line 73, in ant

xml_log = xmlio.parse(file(logfile.name, 'r'))

IOError: [Errno 2] No such file or directory: '/tmp/ant_logawmH1N.xml'

[WARNING ] Build step 'build' failed

[WARNING ] Stopping build due to failure

. .

OS: Debian stable/testing/unstable

uname -r: 2.6.26-1-amd64

python --version: Python 2.5.2

trac-admin --version: 0.11.1

bitten version: current trunk, revision 579

Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by dnatalini@…

  • Priority changed from major to trivial

ant wasn't installed :-(

the error log should be more explicative, though

thanks, regards

comment:2 Changed 15 years ago by dfraser

  • Summary changed from ant build fails parsing inexixtent logfile to ant build with ant not installed should have better error message

comment:3 Changed 15 years ago by osimons

  • Milestone 0.6 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing as duplicate of #346.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.