There's a step by step tutorial on making a def file from a Homework set you've created. There's a link in the documentation for Instructors at the bottom of the page under the heading "Pages in category Instructors". Here's the link:
http://webwork.maa.org/wiki/ExportingHomeworkSetsTutorial
--rac
WeBWorK Problems
Creating def files from existing homework sets
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day