I'm not a painter but I have built some cabinets out of the barn wood. I would seal the dickens out of it with something like a sand and seal before painting unless you are spraying. If not your brush or roller will pull the old wood particles off and ruin the brushes/rollers and contaminate the paint.
New members: Please consider adding your location to your profile.
He is no fool who gives what he cannot keep, to gain what he cannot lose.