On 12/28/05, Vikas <firstname.lastname@example.org> wrote:
Hi,Currently we have the sampleMediators folder under 'src'.The problem is that while creating the Synapse-Incubating-M1-RC1-SNAPSHOT.jar the sampleMediator folder ends up inside it.When we make a servicemediator [mediator implemented as an AXIS2 service], it is supposed to be put into the services folder under synapse-repository.I tried working with the DeprecationMediator, I took the aar and placed it in the services folder.But because of the same classes were already present in the Synapse-Incubating-M1-RC1-SNAPSHOT.jar they get picked from there.Incidentally the META-INF, present under deprecation was not picked up when the jar was packed and I ended up with an NPE when trying to access a resource placed in it.
This is not supposed to happen [or is it ??]*** I propose that we ***1) Move the sampleMediators folder from under 'src' to the main-level itself
or2) Make a provision for excluding the sampleMediators from ending up in the Synapse-Incubating-M1-RC1-SNAPSHOT.jar