Wowza Community

How to add Gson dependecy in build.xml file for custom module

Hi, I am making a custom server module. I have installed the wowza plugin in Eclipse. I am able to build my module, I was struggling to add Gson dependency in the build.xml file. I am not much familiar with Ant framework. I tried to make it work by reading up on internet but I am still struggling. Could you please help me how the build.xml look like after adding the gson dependency. I have download the Gson jar file and kept in in the default lib folder.

here is the default build.xml for my Module

    <?xml version="1.0"?>
<project name="StreamingOnDemand" default="jar" basedir="..">
	<property name="wowza.lib.dir" value="C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.8.0/lib"/>
	<property name="jar.filename" value="StreamingOnDemand.jar"/>
	<property name="" value="bin"/>

	<target name="jar">
		<jar jarfile="${wowza.lib.dir}/${jar.filename}">
			<fileset dir="${}"/>

I’m not an Ant expert either; and I’ve primarily used Eclipse for development of modules. But I think dependencies go in the .classpath file, not in the build.xml.

  <classpathentry kind="lib" path="/path/to/your/lib/gson-2.8.0.jar"/>

Yes, you are correct, I was trying at wrong place. this works