Rene Pankratz wrote:
> Thanks for your short instruction.
> A was able to build my phone-support plugin easily without any problems.
> 
> I have just on little question left: Though have compiled the phone
> specific folder with the templates in /etc within the project, I still
> had to copy those files manually to /etc/sipxpbx/ on destination machine.
> Is that normal behaviour or is it possible to let sipXconfig copy those
> files on startaup out of .JAR file?
> 
> René
> 

Yes, it's normal.

ant install

installs the file where needed on developer machine. But if you want to
distribute it you need to package and install it somehow.

In case of plug-ins contributed to sipfoundry sipXconfig adds the necessary
entries in sipxconfig.spec so that they are automatically installed by the
sipxconfig.rpm

What you probably should do is to create a new RPM that contains the result
of compiling your plugin.
At some point sipXconfig probably should generate separate RPMs for each
phone plugin, but as you can imagine it's pretty low on the list.
Alternatively you can experiment with putting your settings file in the
.jar - sipXconfig does not care where to load them from as long as they are
on the classpath.

D.

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to