diff options
Diffstat (limited to 'contrib/fb303/java/build.xml')
-rwxr-xr-x | contrib/fb303/java/build.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/fb303/java/build.xml b/contrib/fb303/java/build.xml index 370156952..36923f989 100755 --- a/contrib/fb303/java/build.xml +++ b/contrib/fb303/java/build.xml @@ -27,8 +27,13 @@ <target name="thriftbuild"> <echo>generating thrift fb303 files</echo> <exec executable="${thrift_home}/bin/thrift" failonerror="true"> - <arg line="--gen java -I ${thrift_home}/share/ -o ${build.dir} ${src.dir}/../if/fb303.thrift" /> + <arg line="--gen java -o ${src.dir} ${src.dir}/../if/fb303.thrift" /> </exec> + <move todir="${src.dir}"> + <fileset dir="${src.dir}/gen-java/com/facebook/fb303"> + <include name="**/*.java"/> + </fileset> + </move> </target> <!-- compile the base and thrift generated code and jar them --> |