Wiki source code of Embedding WOFrameworks
Version 40.1 by chuckhill on 2007/01/11 15:18
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
19.1 | 1 | See also [[FrameworkSet>>WOProject-FrameworkSet]] documentation. |
2 | |||
3 | Example for embedding WOFrameworks. | ||
4 | |||
![]() |
39.1 | 5 | 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. |
![]() |
19.1 | 6 | |
7 | Assume two projects: One named Foo( a framework) and the other named Uli (an application). The parent folder has another folder named packandgo. | ||
8 | |||
9 | [[image:Folders.png]] | ||
10 | |||
11 | The [[^packageandgobuild.xml]] from the application. Two minor changes to the default build.xml: | ||
12 | 1 application target | ||
13 | |||
14 | {{code}} | ||
15 | |||
![]() |
37.1 | 16 | <!-- package and go example--> |
![]() |
19.1 | 17 | <frameworks root="../packageandgo/frameworks" embed="true"> |
18 | <include name="*.framework"/> | ||
19 | </frameworks> | ||
20 | |||
21 | {{/code}} | ||
22 | |||
![]() |
37.1 | 23 | 2 compile target |
![]() |
19.1 | 24 | |
25 | {{code}} | ||
![]() |
37.1 | 26 | |
27 | <!-- package and go example--> | ||
![]() |
19.1 | 28 | <fileset dir="../packageandgo/frameworks"> |
29 | <include name = "**/*.jar"/> | ||
30 | </fileset> | ||
31 | |||
32 | {{/code}} | ||
33 | |||
![]() |
37.1 | 34 | |
35 | |||
![]() |
19.1 | 36 | The [[^build.xml]] from the packageandgo folder: |
37 | |||
38 | Just invoke ant in the packageandgo folder and grap the App from the applications folder within the packageandgo folder. | ||
39 | |||
40 | [[image:FoldersAfterBuild.png]] |