Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Using CustomMapper class from jar dependency don't work #47
We would to use a CustomMapper class declared in a common jar for several app. But when we declare this class in the mapper interface (@Mapper withCustom), the generated java source doesn't map the fields with the declared custom mapper. Note that the custom mapper is declared well as field in the generated class.
Thanks for your works
In a common jar named TestSelmaCommon, I have a custom type :
and a custom mapper :
In another jar (my app) named TestSelmaApp (which depend on TestSelmaCommon), I have my objects to mapped
and the mapper :
When I compile TestSelmaApp, this error occurs :
When I move the CustomMapper class to the TestSelmaApp, it's OK.
I compile with a jdk1.6 (IBM Websphere) and use Selma in v0.9
Thanks for the sample code it helped.
Could you try the fix in 0.10-SNAPSHOT latest build ?