thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sreejith S <srssreej...@gmail.com>
Subject Include external dependency when creating java file from a .thrift file
Date Thu, 17 Nov 2011 10:16:54 GMT
Hi ,

This is my sample.thrift file
namespace java com.test.generated

service Extract {
  MultiMap extract(1: string text),
}
The return type of extract function is MultiMap,which is from
apache.commons.collections

when i run thrift --gen java sample.thrift,
since thrift is not ware of MultiMap type and saying Type "MultiMap" has
not been defined.

How can i make this MultiMap from apache.commons.collection make aware to
thrift.

-- 


*Sreejith.S*
http://srijiths.wordpress.com/
* *http://sreejiths.emurse.com/

tweet2sree@twitter <http://tweet2Sree>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message