I have several CAF applications, that are part of one SW project.
The question is: "Is there a way to share common code, to prevent copy+paste into all applications?"
I have several CAF applications, that are part of one SW project.
The question is: "Is there a way to share common code, to prevent copy+paste into all applications?"
It turned out, that (at least my opinion) CAF aplications are published strangly from designer - I expected war, but instead, in deploy folder, there is CAF application folder in which there is
WEB-INF
and in its lib folder there is jar created from all classes in Eclipse project :-/The solution I used is to have shared Java project exported to jar and copied to CAF projects'
lib
folder.For this I used two things: