Topic
  • No replies
SystemAdmin
SystemAdmin
2327 Posts

Pinned topic App Building via Ant

‏2013-01-19T21:12:20Z |
Hi,

I am trying to build WL sample app "EngadgetReader" via Ant but its giving below error.

BUILD FAILED
D:\WorkLight\AntDemo\EngadgetReader\EngadgetReader\build.xml:18: Failed building
application: Parameter 'directory' is not a directory


I am using below Build.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="EngadgetReader" default="EngadgetReader" basedir=".">
<target name="EngadgetReader">
<echo message="Loading Ant Tool" />
<taskdef resource="com/worklight/ant/defaults.properties">
<classpath>
<pathelement location="C:\Program Files\IBM\Worklight\WorklightServer\worklight-ant.jar" />
</classpath>
</taskdef>
<echo message="Building Applications"/>
<record name="D:\WorkLight\AntDemo\EngadgetReader\build.log" loglevel="verbose" append="false"/>
<app-builder applicationFolder="D:\WorkLight\AntDemo\EngadgetReader\EngadgetReader\apps\EngadgetReader"
outputFolder="D:\WorkLight\AntDemo\EngadgetReader\EngadgetReader\bin"/>
</target>
</project>

any application-descriptor.xml is exactly same as given in the sample module ( module_06_0_EngadgetReader.zip)

I am using Ant v1.8.4
any suggestion? what I am missing.

Thanks
Abdul Ahad