A trainer can be made from basic weapons in a warehouse. Basic weapons are placed in barracks to make new soldiers. So as long as you're making new soldiers, you are not making trainers. Some of your training buildings may remain empty even though you produce plenty of weapons.
barracks can make trainers as well as soldiers now
trainers no longer need weapons