Last modified by Pascal Robert on 2012/07/21 20:39
From version 58.1
edited by George Domurot
on 2009/07/14 09:55
on 2009/07/14 09:55
Change comment:
There is no comment for this version
To version 63.1
edited by Pascal Robert
on 2012/07/21 20:39
on 2012/07/21 20:39
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. gedo8201 +XWiki.probert - Content
-
... ... @@ -4,6 +4,10 @@ 4 4 5 5 == WOLips 3.4.x, and later, Side-note == 6 6 7 +{{warning}} 8 +If you are updating an older project, make sure you get the latest build.xml file. Create a new project, then copy/paste the contents of the fresh build.xml file into your project's build.xml file. 9 +{{/warning}} 10 + 7 7 For WOLips 3.4.x and later, while embedding is built-in, it's not enabled by default. To enable embedding: 8 8 9 9 * make sure you are in the WO Explorer view ... ... @@ -10,8 +10,20 @@ 10 10 * right-click your project folder, select Properties, select WOLips Deployment 11 11 * check the related, if not all, options under Embed Frameworks 12 12 13 -T here is a knownbug with WO 5.4.x (forthosenot using the latestWonder release)regarding proper linking to your web serverresources withintheembedded frameworks. The WOFrameworksBaseURL isn'tset correctly. Todothis you'llneedto programmatically setthiswithinyourApplicationconstructor.17 +To create a versioned/dated bundle of your app and resources: 14 14 19 +* make sure you are in the Navigator view 20 +* edit build.properties, and add: 21 +* ##build.app.name=MyApp-2009-07-14## 22 + 23 +There is a known bug with WO 5.4.x (for those not using the latest Wonder release) regarding proper linking to your web server resources within the embedded frameworks. The WOFrameworksBaseURL isn't set correctly. To do this you'll need to programmatically set this within your Application constructor: 24 + 25 +* ##setFrameworksBaseURL("/WebObjects/MyApp-2009-07-14.woa/Frameworks");## 26 + 27 +Within build.properties (I may need to be corrected on this), the best approach to linking your embedded framework's web server resources automatically is to include (however the bug noted above breaks this): 28 + 29 +* ##frameworksBaseURL=/WebObjects/$build.app.name.woa/Frameworks## 30 + 15 15 == Introduction == 16 16 17 17 The previous tutorial articles provide details of customization of the default ant build script that is present in your WebObjects projects. This article provides a fully custom build script that you can just drop into your project and use it as an alternative to the default build.xml. This script is called the "split//embedded//build" script. Along with providing the script, this article explains in detail what deployment artifacts are produced by the build. Hopefully the functionality in this script will make their way into the standard script someday with configuration parameters settable in a simple way in the build.properties file.