On 3/8/07, Felipe Gaucho <[EMAIL PROTECTED]> wrote:
ok, thanks Guillaume.. now everything is clear for me.. sorry my rush stress.. ok, then I want to modify the "fileSender".. what I must do ? 1 - modify the "src\deployables\bindingcomponents\servicemix-file" code 2 - maven install 3 - copy the zip file to deploy 4 - modify the descriptor (or copy and modify as new one) in the \examples\file-binding questions: 1- is it correct sequence of steps for now ? 2- how to modify the descriptor ?
Well, not exactly. The problem is that ServiceMix supports two deployment models. You can either use the standard JBI packaging, which means you have to create a SU + SA and deploy it. In such a case, copying the component zip will work, as it will be automatically installed. The second deployment model is the one used by the example you are working on: a single servicemix.xml configuration file without any JBI packaging. In such a case, you need to modify the servicemix.xml to reference servicemix-file instead of the lightweight component, but you also need to copy the jar from serviemix-file to the lib/optional folder (the jar and not the zip). This is related to the way classloader work ... gnodet wrote:
> > On 3/8/07, Felipe Gaucho <[EMAIL PROTECTED]> wrote: >> >> >> where is this readme.txt ? which folder ? >> >> I am following this: >> >> servicemix-bin-install-dir\examples\file-binding\README.txt > > > > In this file, line 24, you need to execute "ant setup" > to download the needed dependencies. > > and trying to modify this: >> >> >> servicemix-src-install-dir\\src\deployables\bindingcomponents\servicemix-file > > > WHich is unrelated to this example unfortunately. > This example uses: > > $SERVICEMIX_SRC/common/servicemix-common/src/main/java/org/apache/servicemix/components/file > > If you want to use the servicemix-file BC, you need to change this example > following the > syntax described at > http://incubator.apache.org/servicemix/servicemix-file.html > > -- >> View this message in context: >> http://www.nabble.com/modifying-fileBC-example---how-to-deploy-tf3368022s12049.html#a9371483 >> 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/ > > -- View this message in context: http://www.nabble.com/modifying-fileBC-example---how-to-deploy-tf3368022s12049.html#a9371971 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/
