Page 1 of 1

Http plugin!

Posted: 2006.02.27 01:18
by Marcus
Now you can surf to your Fair DJ! Try out the new http plugin! :)

http://hirt.se/twiki/pub/Main/ScratchPa ... _0.1.0.jar

To see how it was done, see the source: http://hirt.se:8091/@md=d&cd=//depot/fa ... ttp/?ac=83

Here is an example on how to configure the startup script to autostart the plugin:

Code: Select all

       <pluginmanager class="net.sf.fairdj.PluginManagerImpl">
           <url>file:/C:\clients\opensource\fairdj\plugins\bin</url>
           <http startonload="true">
               <port>80</port>
               <timeout>2000</timeout>
               <toplength>10</toplength>
               <tcpdelay>false</tcpdelay>
           </http>
       </pluginmanager>
 
Note that the plugin directory and/or jar must be on the classpath for FairDJ.