Error while uploading: missing 'upload.tool' configuration parameter

Could someone be kind enough and tell me what I have got wrong.The board has a atmega128A-AU microcontroller chip. I get the following message when I try and upload the sketch to my board.

Error while uploading: missing 'upload.tool' configuration parameter

I did a search for that and read that I needed to add the line, crumbuino128.upload.tool=arduino:avrdude. But I still get the same error message.

I bet that I don't have a missing file or entry somewhere. It probably is simple. But I haven't got a clue what it could be.

I'm hoping this is my last problem, but I doubt it.

##############################################################
crumbuino128.name=Crumbuino-128 w/ ATmega128
crumbuino128.upload.tool=arduino:avrdude
crumbuino128.upload.protocol=arduino
crumbuino128.upload.maximum_data_size=4096
crumbuino128.upload.maximum_size=126976
crumbuino128.upload.speed=57600

crumbuino128.bootloader.tool=arduino:avrdude
crumbuino128.bootloader.low_fuses=0xFF
crumbuino128.bootloader.high_fuses=0xDA
crumbuino128.bootloader.extended_fuses=0xFF
crumbuino128.bootloader.path=crumbuino128
crumbuino128.bootloader.file=ATmegaBOOT_168_atmega128.hex
crumbuino128.bootloader.unlock_bits=0x3F
crumbuino128.bootloader.lock_bits=0x0F

crumbuino128.build.mcu=atmega128
crumbuino128.build.f_cpu=16000000L
crumbuino128.build.core=arduino:arduino
crumbuino128.build.variant=crumbuino128

##############################################################

I forgot to say that I am running 1.6.5