I am trying to build the project .war file with Ant in MobileFirst Platform 6.3.
my build.xml has the following:
<?xml version="1.0" encoding="UTF-8"?>
<project name="myProject" default="all">
<taskdef resource="com/worklight/ant/defaults.properties">
<classpath>
<pathelement location="/Applications/IBM/Worklight-CLI/public/worklight-ant-builder.jar"/>
</classpath>
</taskdef>
<target name="all">
<war-builder projectfolder="."
destinationfolder="bin/war"
warfile="bin/project.war"
classesFolder="classes-folder"/>
</target>
</project>
When I execute the Ant script it throws the following error:
[taskdef] Could not load definitions from resource com/worklight/ant/defaults.properties. It could not be found.