Silva
Silva

Reputation: 370

Where is Worklight-Ant.jar?

I've seen some documentation saying it was possible to use ant tasks to generate worklight builds.

That documentation tells me that to use that feature I must find a worklight-ant.jar.

That is my problem, I don't find that jar anywhere. Not on my worklight studio installation nor in my (another) worklight server running on a WAS Liberty profile.

I've found on that server something close, I've found a worklight-ant-builder.jar and a worklight-ant-deployer.jar. Unfortunately that doesn't have some classes required for the build, like com.ibm.team.build.ant.task.ArtifactFilePublisherTask.

Another good point was that I've found on my server the applicationcenterdeploytool.jar: from /ApplicationCenter/tools and the json4j.jar from /ApplicationCenter/tools.

I'm using WL6.2.

What am I missing? Can anyone help me please?

Upvotes: 0

Views: 650

Answers (2)

Silva
Silva

Reputation: 370

The documentation I was using at the time of that post was out of date.

The updated documentation is here: http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.help.doc%2Fdevref%2Fr_ant_tasks_for_building_and_dep.html

On my comments there is a reference for a post that explains the correct way to call the ant to build the worklight.

Upvotes: 0

Karl Bishop
Karl Bishop

Reputation: 251

worklight-ant.jar is now delivered as part of the Worklight CLI installation. Download the CLI here (Download button > CLI):

http://www.ibm.com/developerworks/mobile/worklight

Once the CLI has been installed, you can find the worklight-ant-builder.jar file in the installation directory/public dir. For example, in OSX, the default location is:

/Applications/IBM/Worklight-CLI/public/worklight-ant-builder.jar

Hope this helps.

Upvotes: 1

Related Questions