Wiki source code of Building a WebObjects Project
Version 39.1 by David Avendasora on 2011/04/25 16:12
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
36.1 | 1 | == Incremental Building == |
2 | |||
3 | === === | ||
4 | |||
![]() |
38.1 | 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. |
![]() |
36.1 | 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 | classes.dir=bin | ||
20 | component.inlineBindingPrefix=$ | ||
21 | component.inlineBindingSuffix= | ||
22 | component.wellFormedTemplateRequired=false | ||
23 | customInfoPListContent= | ||
24 | embed.Local=true | ||
25 | embed.Project=true | ||
26 | embed.System=true | ||
27 | eoAdaptorClassName= | ||
28 | principalClass=com.company.MyApp.Application.java | ||
29 | project.name=MyApp | ||
30 | project.name.lowercase=myapp | ||
31 | project.type=application | ||
32 | webXML=false | ||
33 | webXML_CustomContent= | ||
34 | |||
35 | {{/code}} | ||
36 | |||
37 | 1. wolips.properties file | ||
38 | |||
![]() |
32.1 | 39 | {{pagetree root="@self"}}{{/pagetree}} |