Embedding WOFrameworks

Version 53.1 by Ulrich Köster on 2006/09/08 06:00

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.

Folders.png

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 


<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 applications folder within the packageandgo folder