Wiki source code of Building a WebObjects Project

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

Hide last authors
David Avendasora 32.1 1 == Incremental Building ==
David Avendasora 14.1 2
David Avendasora 32.1 3 === ===
David Avendasora 14.1 4
David Avendasora 32.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.
David Avendasora 28.1 6
David Avendasora 32.1 7 == Deployment Building ==
David Avendasora 14.1 8
David Avendasora 32.1 9 === ===
David Avendasora 14.1 10
David Avendasora 32.1 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.
David Avendasora 14.1 12
David Avendasora 32.1 13 The process and options vary slightly between Frameworks and Applications, but they share many fundamental concepts.
David Avendasora 14.1 14
David Avendasora 32.1 15 1. build.properties file
David Avendasora 28.1 16
David Avendasora 32.1 17 {{code title="Example Application build.properties File"}}
David Avendasora 14.1 18
David Avendasora 32.1 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}}