Building WOLips
Version 49.1 by Mike Schrag on 2005/09/08 00:08
WOLips Dependencies
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).
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.
You can get a 3.1.1 build from Eclipse.org.
After installing Eclipse 3.1.1 and before building or installing WOLips, you will need to download and install the following plugins and features:
Checking out and Building from the Commandline
- cvs
d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/woproject login- username = anonymous
- no password
- cvs
d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/woproject co woproject - cd woproject/projects
- ant
- The first build will fail out telling you that it couldn't find wobuild.properties -- That's OK
- Edit /Library/wobuild.properties
- Add a line eclipse.home=/path/to/your/eclipse
- ant again and it should succeed this time
- 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 jdomb8.jar from woproject/projects/lib into your ANTHOME/lib folder.
- 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
- The build went into temp/dist
- Profit
- Installing WOLips
Checking out and Building inside of Eclipse for Deployment
- install jmechanic plugin from The JMechanic Site
- just untar this into your plugins folder
- Add the wolips CVS repository
- host = cvs.sourceforge.net
- root = /cvsroot/woproject
- protocol = pserver
- login = anonymous
- no password
- In CVS perspective, browse WOLips repository on HEAD, checkout woproject/projects as "projects"
- Right-click (or equiv) on the build.xml inside of the "projects" project and Run As=>Ant Build ...
- Switch to the Classpath tab and "Add Jar"
- Browse to projects/lib and select jdom-b8.jar
- Make sure the target is the default ("dist")
- Run
- 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.
- Installing WOLips
Checking out and Building inside of Eclipse for Development (PDE)
- install jmechanic plugin from The JMechanic Site
- just untar this into your plugins folder
- Add the wolips CVS repository
- host = cvs.sourceforge.net
- root = /cvsroot/woproject
- protocol = pserver
- login = anonymous
- no password
- From the Java perspective, Import=>Team Project Set and select wolips.psf (see below)
- This will cause a really long checkout and you'll have a TON of build errors ... Don't fret.
- Copy projects/lib/cayenne-1.1RC3-dev.jar to org.objectstyle.wolips.cayenne/lib/cayenne.jar and refresh the org.objectstyle.wolips.cayenne project
- Add a classpath variable ANTHOME that points to eclipse/plugins/org.apache.ant1.6.5 (Preferences=>Java=>Build Path=>Classpath Variables, New... name ANTHOME, Folder... =>youreclipsehome/plugins/org.apache.ant1.6.5)
- make projects/temp, projects/temp/classes, and projects/temp/doc folders
- 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
- copy projects/temp/build/woproject$build.version/lib/woproject.jar to org.objectstyle.wolips.woproject/lib and refresh the org.objectstyle.wolips.woproject
You should end up with no source or build path errors.