Changes for page Building a WebObjects Project
Last modified by David Avendasora on 2013/09/22 14:30
From version 27.1
edited by David Avendasora
on 2011/04/25 16:56
on 2011/04/25 16:56
Change comment:
There is no comment for this version
To version 32.1
edited by David Avendasora
on 2011/04/25 16:07
on 2011/04/25 16:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,24 +17,8 @@ 1 -== Overview == 2 - 3 -There are two different and very distinct kinds of builds for a WebObjects project. 4 - 5 -Both Incremental and Deployment builds make use of some common files to tell them where to look for resources needed to build an application or framework. They include: 6 - 7 -1. **[[woproject.jar>>http://webobjects.mdimension.com/hudson/job/WOLips36Stable/lastSuccessfulBuild/artifact/]]** 8 -The ##woproject.jar## library is embedded in WOLips to help Eclipse, Ant (when triggered from within Eclipse) and Maven build a valid WebObjects Application (##.woa##) or WebObjects Framework (##.framework##) bundle. If you are going to build your project using Hudson/Jenkins, then it will also need access to this library 9 -1. **build.properties** 10 -This file resides in the root directory your WebObjects project. It may be hidden from your view by Eclipse's ability to filter the displayed files in the //WO Explorer// view, but if you look in the project's directory in the finder/desktop/command line you will see it. 11 -1. **[[WOL:wolips.properties]]** 12 -This file can contain and override the same settings as the build.properties file, but it's primary purpose is to define the locations that a build done by Eclipse or Ant will look for compiled framework dependencies in. The default location of this file is: 13 -1*. **Mac OS X**: ##/Users/yourusername/Library/Application Support/WOLips/wolips.properties## 14 -1*. **Linux**: ##/home/<user>/Library/Application Support/WOLips/wolips.properties## 15 -1*. **Windows**: ##C:ocuments and Settingsuser>ibrarypplication SupportOLipsolips.properties## 16 - 17 17 == Incremental Building == 18 18 19 19 === === 20 20 21 -While you are writing your classes and Components (.html, .wod, etc.) the incremental builder is running in the background co ntinuously compiling and validating your code against your projects other code and dependencies.Youcanlaunchyour applicationsfromwithinWOLips/Eclipsewith no need tomanually compileor installany source codeeitherfromyour currentproject,orfromanyframeworksinthe workspace thatyour projectdependsupon.WOLips/Eclipse takescareofresolving dependenciesforthingshatarenotin the locations theywill be in in a deployed##.woa## or ##.framework##bundle.TheIncremental Builder does not use Ant orMaven.Justbecause your projectruns fine in Eclipse/WOLips does notnecessarilymean it will build, let alonerun,when using Antor Maven.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. 22 22 23 23 == Deployment Building == 24 24 ... ... @@ -28,4 +28,29 @@ 28 28 29 29 The process and options vary slightly between Frameworks and Applications, but they share many fundamental concepts. 30 30 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 + 31 31 {{pagetree root="@self"}}{{/pagetree}}