dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02884
Re: How could import a class file in DHIS2
Hi,
I feel the need to stress that there generally are better solutions to
this. Just writing what you need from scratch is generally worth the
effort in small cases. If that isn´t feasible, I need to know more
about the context.
You could just put the class in the src/main/resources directory, but
[1] tells you how to setup a second resources directory ("classes"?),
where you could put the class (in it´s correct place in the package
structure)
[1] http://maven.apache.org/plugins/maven-resources-plugin/examples/resource-directory.html
Jo
Follow ups
References