diff options
-rw-r--r-- | qpid/java/common/protocol-version.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/java/common/protocol-version.xml b/qpid/java/common/protocol-version.xml index 40331a8a84..8afc8a7de7 100644 --- a/qpid/java/common/protocol-version.xml +++ b/qpid/java/common/protocol-version.xml @@ -33,9 +33,12 @@ <target name="generate" depends="compile_generator,check_generate_deps" unless="generation.notRequired"> <mkdir dir="${generated.dir}"/> <java classname="org.apache.qpid.gentools.Main" fork="true" dir="${gentools.home}/src" failonerror="true"> - <arg line="-j -o ${generated.dir} -t ${gentools.home}/templ.java ${xml.spec.list}" /> + <arg line="-j -o ${generated.dir} -t ${topDirectoryLocation}/common/templates ${xml.spec.list}" /> <classpath> <pathelement path="${gentools.home}/src" /> + <fileset dir="${gentools.home}/lib"> + <include name="**/*.jar"/> + </fileset> </classpath> </java> <touch file="${generated.timestamp}" /> |