Wiki source code of Building a WebObjects Project

Version 33.1 by David Avendasora on 2011/04/25 16:07

Show last authors
1 == Incremental Building ==
2
3 === ===
4
5 While you are writing your classes and Components (.html, .wod, etc.) the incremental builder is constantly running in the background compiling and validating your code against your projects other code and its dependencies. Building WebObjects Frameworks and Applications during development is handled directly by Eclipse/WOLips using the Incremental Builder that by default automatically compiles and validates your classes and components as you type. You can launch your applications from within WOLips/Eclipse with no need to compile or install any source code frameworks in the workspace that they depend on.
6
7 == Deployment Building ==
8
9 === ===
10
11 The process of building WebObjects Applications and Frameworks for Deployment is more complicated and requires any depended-upon frameworks to already be compiled and installed in defined (but customizable) locations. Building and Installing of both Frameworks and Applications can be also be done directly in Eclipse, but it can also be done from the Command Line or better yet, using a Continuous Integration Server like Hudson/Jenkins. Use of Hudson/Jenkins to build your Applications is **highly** recommended.
12
13 The process and options vary slightly between Frameworks and Applications, but they share many fundamental concepts.
14
15 1. build.properties file
16
17 {{code title="Example Application build.properties File"}}
18
19 #Thu Nov 18 11:30:05 EST 2010
20 classes.dir=bin
21 component.inlineBindingPrefix=$
22 component.inlineBindingSuffix=
23 component.wellFormedTemplateRequired=false
24 customInfoPListContent=
25 embed.Local=true
26 embed.Project=true
27 embed.System=true
28 eoAdaptorClassName=
29 principalClass=com.k12.totalview.app.Application
30 project.name=TotalViewAdmin
31 project.name.lowercase=totalviewadmin
32 project.type=application
33 webXML=false
34 webXML_CustomContent=
35
36 {{/code}}
37
38 1. wolips.properties file
39
40 {{pagetree root="@self"}}{{/pagetree}}