Refactored the app create ant task.
1. Normally app client
2. Ant task can set properties back.