Embedding WOFrameworks
Version 39.1 by chuckhill on 2007/01/11 15:18
See also FrameworkSet documentation.
Example for embedding WOFrameworks.
It's an good idea is create your own targets in the build.xml or even create your own build.xml (with a different name). This leaves the door open for an update of the default build.xml.
Assume two projects: One named Foo( a framework) and the other named Uli (an application). The parent folder has another folder named packandgo.
The xml from the application. Two minor changes to the default build.xml:
1 application target
<!-- package and go example-->
<frameworks root="../packageandgo/frameworks" embed="true">
<include name="*.framework"/>
</frameworks>
2 compile target
<!-- package and go example-->
<fileset dir="../packageandgo/frameworks">
<include name = "**/*.jar"/>
</fileset>
The xml from the packageandgo folder:
Just invoke ant in the packageandgo folder and grap the App from the applications folder within the packageandgo folder.