Changes for page Building WOLips

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

From version 85.1
edited by Mike Schrag
on 2006/05/14 08:42
Change comment: There is no comment for this version
To version 88.1
edited by Mike Schrag
on 2005/09/13 09:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,21 +1,37 @@
1 -Prior to building WOLips, you will want to get your dependencies installed properly. Check out the [[Installing WOLips]] page for information on the dependencies for WOLips.
1 +== WOLips Dependencies ==
2 2  
3 -WOLips is now located in Subversion at objectstyle.org. The CVS repository at sourceforge is now deprecated.
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).
4 4  
5 -The subversion repository path is https:~/~/svn.objectstyle.org/repos/woproject
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 6  
7 -== Installing Subclipse (the Subversion plugins) ==
7 +You can get a 3.1.1 build from [[Eclipse.org>>http://download.eclipse.org/eclipse/downloads/index.php]].
8 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 +
9 9  1. Help=>Software Updates=>Find and Install ...
10 -1. Add New Remote Site
11 -11. Name = Subclipse
12 -11. URL = http:~/~/subclipse.tigris.org/update_1.0.x
13 -1. Select the site, select all the plugins available, and install them
22 +1. Search for new features to install, select Next >
23 +1. Selcet 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
14 14  
15 15  == Checking out and Building from the Commandline ==
16 16  
17 -1. Checkout the trunk/woproject folder from Subversion
18 -1. cd woproject
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
19 19  1. ant
20 20  1. The first build will fail out telling you that it couldn't find wobuild.properties ~-~- That's OK
21 21  1. Edit ,,/Library/wobuild.properties,,
... ... @@ -28,22 +28,37 @@
28 28  
29 29  == Checking out and Building inside of Eclipse for Deployment ==
30 30  
31 -1. Add the wolips SVN repository
32 -11. repository = https:~/~/svn.objectstyle.org/repos/woproject
33 -1. In SVN perspective, browse WOLips repository on HEAD, checkout trunk/woproject
34 -1. Right-click (or equiv) on the build.xml inside of the "woproject" project and Run As=>Ant Build ...
35 -1. Switch to the Properties tab and check for the definition of eclipse.home in the Properties list
36 -1. If eclipse.home does not exist, uncheck "Use global properties" and then click "Add Property"
37 -1. In the Add Property dialog, make the name eclipse.home, click Add Variable, select eclipse.home from the list, and click OK
38 -1. Click Apply to save your changes
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")
39 39  1. Run
40 -1. Once it is complete, you may need to right-click=>refresh your project and you will have a temp/dist folders with the plugin site in it.
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.
41 41  1. [[Installing WOLips]]
42 42  
43 43  == Checking out and Building inside of Eclipse for Development (PDE) ==
44 44  
45 -1.
64 +1. install jmechanic plugin from [[The JMechanic Site>>http://sourceforge.net/project/showfiles.php?group_id=68316&release_id=136699]]
46 46  11. just untar this into your plugins folder
47 -1. Add the wolips SVN repository
48 -11. repository = https:~/~/svn.objectstyle.org/repos/woproject
49 -1. You now want to checkout the individual plugins. You can select individual plugins you would like to work on by browsing to trunk/woproject/wolips/plugins in the Subversion repository and checking out the plugins you are interested in.
66 +1. Add the wolips CVS repository
67 +11. host = cvs.sourceforge.net
68 +11. root = /cvsroot/woproject
69 +11. protocol = pserver
70 +11. login = anonymous
71 +11. no password
72 +1. From the Java perspective, Import=>Team Project Set and select wolips.psf (see below)
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//
79 +
80 +You should end up with no source or build path errors.