Changes for page Embedding WOFrameworks
Last modified by Gavin Eadie on 2011/07/29 18:09
From version 45.1
edited by Ulrich Köster
on 2006/09/08 05:47
on 2006/09/08 05:47
Change comment:
There is no comment for this version
To version 39.1
edited by chuckhill
on 2007/01/11 15:18
on 2007/01/11 15:18
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.u li1 +XWiki.chuckhill - Content
-
... ... @@ -1,11 +1,40 @@ 1 - A good ideaistocreateyourown targets in the build.xml orvencreateyour own build.xml (with a differentname).1 +See also [[FrameworkSet>>WOProject-FrameworkSet]] documentation. 2 2 3 - Thisleavesthe dooropenforn updatef the default build.xml.3 +Example for embedding WOFrameworks. 4 4 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. 6 + 5 5 Assume two projects: One named Foo( a framework) and the other named Uli (an application). The parent folder has another folder named packandgo. 6 6 7 - The[[^packageandgobuild.xml]] from theapplication. One minor change to the default build.xml:9 +[[image:Folders.png]] 8 8 11 +The [[^packageandgobuild.xml]] from the application. Two minor changes to the default build.xml: 12 +1 application target 13 + 14 +{{code}} 15 + 16 +<!-- package and go example--> 17 +<frameworks root="../packageandgo/frameworks" embed="true"> 18 + <include name="*.framework"/> 19 +</frameworks> 20 + 21 +{{/code}} 22 + 23 +2 compile target 24 + 25 +{{code}} 26 + 27 +<!-- package and go example--> 28 +<fileset dir="../packageandgo/frameworks"> 29 + <include name = "**/*.jar"/> 30 +</fileset> 31 + 32 +{{/code}} 33 + 34 + 35 + 9 9 The [[^build.xml]] from the packageandgo folder: 10 10 11 -Just invoke ant in the packageandgo folder and grap the App from applications folder within the packageandgo folder 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]]