To run weather sample by Ant you need:
- Build ‘‘weather-comp.jar’’ by Ant and copy it to the library folder …/whack/sample/weather/build/lib/merge/.
For building weather-comp.jar go to …/whack/sample/weather/build/. You can see here build.xml file.
Next step you should execute in console ‘‘ant dist’’. There is an appeared …/whack/sample/weather/target/lib/weather-comp.jar. Copy it to …/whack/sample/weather/build/lib/merge/.
List of libraries at …/lib/merge/:
- Add new Ant targets and tasks to the build.xml as in my examle, see below
Running External component
- At last execute in console ‘‘ant run’’.
That’s all. First step for learning External component we can do!