I created a jar file with dependencies(i.e wlclient.jar
, wljmxclient.jar
) added to manifest file Class-Path attribute. I get error saying "Unsupported protocol: t3", But if I place these jars in C:\apache-ant-1.8.3\lib
folder, this executes with no errors.
I am new to ant please help.
The ant task for creating a jar file is given below.
<jar destfile="projectpoc.jar" basedir="bin" excludes="**/Test.class">
<manifest>
<attribute name="Class-Path"
value=" lib/mysql-connector.jar lib/log4j-1.2.14.jar lib/ojdbc6.jar lib/wlclient.jar lib/wljmxclient.jar " />
</manifest>
</jar>