Changes for page Building WOLips

Last modified by Johann Werner on 2015/02/13 01:40

From version 97.1
edited by Mike Schrag
on 2005/09/15 17:51
Change comment: There is no comment for this version
To version 100.1
edited by Mike Schrag
on 2005/06/29 14:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,66 +1,7 @@
1 -== WOLips Dependencies ==
1 +== Building from the Commandline ==
2 2  
3 -Recent version of WOLips in CVS have more extensive dependencies than prior builds (mostly due to the HTML editor that is part of the web tools project).
3 +== Checking out and Building inside of Eclipse ==
4 4  
5 -Additionally you will need to download and install Eclipse 3.1.1, currently a build of Eclipse that does not currently have an official release.
6 -
7 -You can get a 3.1.1 build from [[Eclipse.org>>http://download.eclipse.org/eclipse/downloads/index.php]].
8 -
9 -After installing Eclipse 3.1.1 and before building or installing WOLips, you will need to download, unzip the following plugins and features, and copy the corresponding plugins and features into your eclipse plugins and features folders:
10 -
11 -* [[EMF>>http://eclipse.org/downloads/download.php?file=/tools/emf/downloads/drops/2.1.0/R200507070200/emf-sdo-xsd-SDK-2.1.0.zip]]
12 -* [[GEF>>http://www.eclipse.org/downloads/download.php?file=/tools/gef/downloads/drops/R-3.1-200507071758/GEF-SDK-3.1.zip]]
13 -* [[JEM>>http://www.eclipse.org/downloads/download.php?file=/tools/ve/downloads/drops/R-1.1-200507221721/JEM-SDK-1.1.zip]]
14 -* [[WTP>>http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R-0.7-200507290654/wtp-sdk-0.7.zip]]
15 -* [[jMechanic>>http://sourceforge.net/project/showfiles.php?group_id=68316&release_id=136699]]
16 -
17 -== Downloading the Nightly Build ==
18 -
19 -If you don't want to build WOLips yourself, but you'd like to use the latest and greatest version, you can install the nightly build from [[http:~~/~~/www.mdimension.com/~~~~wolips/update/>>http://www.mdimension.com/~~wolips/update/]] by:
20 -
21 -1. Help=>Software Updates=>Find and Install ...
22 -1. Search for new features to install, select Next >
23 -1. Select New Remote Site ...
24 -1. Name = mDimension WOLips Nightly Build, URL = http:~/~/www.mdimension.com/~~wolips/update/ , select OK
25 -1. Select the newly added site, select Finish >
26 -1. Follow the rest of the instructions, selecting all of the "Yes" responses
27 -
28 -== Checking out and Building from the Commandline ==
29 -
30 -1. cvs --d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/woproject login--
31 -11. username = anonymous
32 -11. no password
33 -1. cvs --d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/woproject co woproject--
34 -1. cd woproject/projects
35 -1. ant
36 -1. The first build will fail out telling you that it couldn't find wobuild.properties ~-~- That's OK
37 -1. Edit ,,/Library/wobuild.properties,,
38 -1. Add a line eclipse.home=/path/to/your/eclipse
39 -1. ant again and it should succeed this time
40 -11. If you get the error 'build.xml:73: taskdef A class needed by class org.apache.velocity.anakia.AnakiaTask cannot be found: org/jdom/JDOMException', you can do one of two things. You can build with --Dno.docs=true to skip the javadoc step, or (untested) you can drop jdom--b8.jar from woproject/projects/lib into your ANT//HOME/lib folder.//
41 -1. The build went into temp/dist
42 -1. Profit
43 -1. [[Installing WOLips]]
44 -
45 -== Checking out and Building inside of Eclipse for Deployment ==
46 -
47 -1. Add the wolips CVS repository
48 -11. host = cvs.sourceforge.net
49 -11. root = /cvsroot/woproject
50 -11. protocol = pserver
51 -11. login = anonymous
52 -11. no password
53 -1. In CVS perspective, browse WOLips repository on HEAD, checkout woproject/projects as "projects"
54 -1. Right-click (or equiv) on the build.xml inside of the "projects" project and Run As=>Ant Build ...
55 -1. Switch to the Classpath tab and "Add Jar"
56 -1. Browse to projects/lib and select jdom-b8.jar
57 -1. Make sure the target is the default ("dist")
58 -1. Run
59 -1. Once it is complete, you will have to right-click=>refresh the "projects" project and you will have a temp/dist folders with the plugin site in it.
60 -1. [[Installing WOLips]]
61 -
62 -== Checking out and Building inside of Eclipse for Development (PDE) ==
63 -
64 64  1. install jmechanic plugin from [[The JMechanic Site>>http://sourceforge.net/project/showfiles.php?group_id=68316&release_id=136699]]
65 65  11. just untar this into your plugins folder
66 66  1. Add the wolips CVS repository
... ... @@ -71,10 +71,66 @@
71 71  11. no password
72 72  1. From the Java perspective, Import=>Team Project Set and select wolips.psf (see below)
73 73  1. This will cause a really long checkout and you'll have a TON of build errors ... Don't fret.
74 -1. Copy ##projects/lib/cayenne-1.1RC3-dev.jar## to ##org.objectstyle.wolips.cayenne/lib/cayenne.jar## and refresh the org.objectstyle.wolips.cayenne project
75 -1. Add a classpath variable ANT//HOME that points to ##eclipse/plugins/org.apache.ant##//##1.6.5## (Preferences=>Java=>Build Path=>Classpath Variables, New... name ANT//HOME, Folder... =>youreclipsehome/plugins/org.apache.ant//1.6.5)
76 -1. make ##projects/temp##, ##projects/temp/classes##, and ##projects/temp/doc## folders
77 -1. run ##projects/build.xml## as "Ant Build ...", select the "woenvironment" and "woproject" targets and select Order... and move woenvironment above woproject in the order, Build
78 -1. copy ##projects/temp/build/woproject//$build.version/lib/woproject.jar//##// to ##org.objectstyle.wolips.woproject/lib## and refresh the org.objectstyle.wolips.woproject//
15 +1. Copy projects/lib/cayenne-1.1RC3-dev.jar to org.objectstyle.wolips.cayenne/lib/cayenne.jar and refresh the org.objectstyle.wolips.cayenne project
16 +1. Add a classpath variable ANT//HOME that points to eclipse/plugins/org.apache.ant//1.6.5 (Preferences=>Java=>Build Path=>Classpath Variables, New... name ANT//HOME, Folder... =>youreclipsehome/plugins/org.apache.ant//1.6.5)
17 +1. make projects/temp, projects/temp/classes, and projects/temp/doc folders
18 +1. run projects/build.xml as "Ant Build ...", select the "woenvironment" and "woproject" targets and select Order... and move woenvironment above woproject in the order, Build
19 +1. copy projects/temp/build/woproject//$build.version/lib/woproject.jar to org.objectstyle.wolips.woproject/lib and refresh the org.objectstyle.wolips.woproject//
79 79  
80 80  You should end up with no source or build path errors.
22 +
23 +Note that there are 16 plugin.xml and feature.xml syntax errors. 14 of them are due to a malformed DTD from the Eclipse Team plugin.
24 +
25 +=== wolips.psf ===
26 +
27 +Save the following into wolips.psf:
28 +
29 +{{code value="xml"}}
30 +
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<psf version="2.0">
33 + <provider id="org.eclipse.team.cvs.core.cvsnature">
34 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects,projects"/>
35 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/features/org.objectstyle.wolips.wounit.feature,org.objectstyle.wolips.wounit.feature"/>
36 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.wounit,org.objectstyle.wolips.wounit"/>
37 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.workbenchutilities,org.objectstyle.wolips.workbenchutilities"/>
38 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.woproject.ant,org.objectstyle.wolips.woproject.ant"/>
39 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.woproject,org.objectstyle.wolips.woproject"/>
40 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.wizards,org.objectstyle.wolips.wizards"/>
41 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.variables,org.objectstyle.wolips.variables"/>
42 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.ui,org.objectstyle.wolips.ui"/>
43 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/features/org.objectstyle.wolips.tests.feature,org.objectstyle.wolips.tests.feature"/>
44 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.tests.core,org.objectstyle.wolips.tests.core"/>
45 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.tests,org.objectstyle.wolips.tests"/>
46 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.templateengine,org.objectstyle.wolips.templateengine"/>
47 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.team,org.objectstyle.wolips.team"/>
48 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.targetbuilder,org.objectstyle.wolips.targetbuilder"/>
49 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.source,org.objectstyle.wolips.source"/>
50 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.refactoring,org.objectstyle.wolips.refactoring"/>
51 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.projectbuild,org.objectstyle.wolips.projectbuild"/>
52 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/features/org.objectstyle.wolips.profiling.feature,org.objectstyle.wolips.profiling.feature"/>
53 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.profiling,org.objectstyle.wolips.profiling"/>
54 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.preferences,org.objectstyle.wolips.preferences"/>
55 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.playground.ui,org.objectstyle.wolips.playground.ui"/>
56 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.launching,org.objectstyle.wolips.launching"/>
57 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.jdt,org.objectstyle.wolips.jdt"/>
58 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.jdom,org.objectstyle.wolips.jdom"/>
59 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.goodies.ui.mac,org.objectstyle.wolips.goodies.ui.mac"/>
60 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/features/org.objectstyle.wolips.goodies.mac.feature,org.objectstyle.wolips.goodies.mac.feature"/>
61 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.goodies.core.mac,org.objectstyle.wolips.goodies.core.mac"/>
62 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/features/org.objectstyle.wolips.feature,org.objectstyle.wolips.feature"/>
63 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.documentation,org.objectstyle.wolips.documentation"/>
64 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.doctor.ui,org.objectstyle.wolips.doctor.ui"/>
65 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.doctor.core,org.objectstyle.wolips.doctor.core"/>
66 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/features/org.objectstyle.wolips.devstudio.feature,org.objectstyle.wolips.devstudio.feature"/>
67 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.devstudio,org.objectstyle.wolips.devstudio"/>
68 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.datasets,org.objectstyle.wolips.datasets"/>
69 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.commons,org.objectstyle.wolips.commons"/>
70 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.cayenne.ant,org.objectstyle.wolips.cayenne.ant"/>
71 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.cayenne,org.objectstyle.wolips.cayenne"/>
72 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips.ant,org.objectstyle.wolips.ant"/>
73 + <project reference="1.0,:pserver:cvs.sourceforge.net:/cvsroot/woproject,woproject/projects/wolips/plugins/org.objectstyle.wolips,org.objectstyle.wolips"/>
74 + </provider>
75 +</psf>
76 +
77 +{{/code}}