I don't understand the problem.
The canDeploy should not actually perform any operations other
than checking if the content of the SU is known (for example,
checking that your xsd exists).  Each time a SU is deployed,
this method will be called with different parameters.

To implement your own deployer, you have to implement
the deploy method. If you need to keep the root folder for a given
SU, you need to create a property on your ServiceUnit
derived class and fill it in the deploy method.

Makes sense ? Or did I miunderstood you ?

On 2/7/07, wizard <[EMAIL PROTECTED]> wrote:

Hi!

I'm using a SE built by myself, using a template. It is partially working.
In method (from xxxxDeployer.java):
public boolean canDeploy(String serviceUnitName, String serviceUnitRootPath)
{...}

my SE receives the SU's root path, when a SU is deployed. Then I use this
rootpath to access a .xsd I deploy together with my SU.
The problem is, when I deploy a second SU (with a different .xsd), it
deploys correctly, but the root path becomes the one of the 2nd SU, not
enabling the 1st SU to reach its .xsd file but reaching the 2nd .xsd

Any thoughts on a solution for this?

Thanks in advance!

--
View this message in context: 
http://www.nabble.com/Service-Engine-serviceUnitRootPath-tf3189306s12049.html#a8853212
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Reply via email to