Fwd: Building the Wonder libraries: SOLVED
Fwd: Building the Wonder libraries: SOLVED
- Subject: Fwd: Building the Wonder libraries: SOLVED
- From: Calven Eggert <email@hidden>
- Date: Fri, 23 Oct 2015 09:15:30 -0400
- X_v_e_cd: 5fc6f48079b4c54faf775c8f58f8baa9
- X_v_r_cd: 49bfde51b1749ca3c7ddf454430440e9
I solved the problem I was having with a new install of Eclipse, WOLips, Wonder. Essentially the problem was that when compiling the Wonder source, it could not find the WebObjects frameworks.
On this page https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation it states: This is the most intricate step in the installation process. The configuration file found in the WOlips preferences must correctly reference the framework directory structure. Failure to successfully complete this step will result in broken libraries. Running the script from step 2 installs the WO framework to the /Library/WebObjects/Versions/WebObjects543 directory on your system. Below is the contents for a configuration file that matches this setup. Create a new file called wolips.543.properties...
On this page https://wiki.wocommunity.org/display/documentation/Building+and+Installing+a+Framework+with+Ant it states:The Wonder build script will use properties defined in ~/Library/Application Support/WOLips/wolips.properties. This is a good place to set wo.system.frameworks property.
I assumed that the wolips.543.properties replaced the need to use the wolips.properties file. Not so. The Wonder build script uses the original properties file when compiling the Wonder source code and uses the path in the wo.system.frameworks variable to find the WebObjects frameworks.
People might find this useful:
Calven
Begin forwarded message:
Subject: Building the Wonder libraries
Date: October 22, 2015 at 2:50:41 PM EDT
I just finished installing El Capitan (clean install), installed Eclipse (Mars 4.5.1), installed WOLips, downloaded Wonder Source (using git from the command line) and opened the projects in Eclipse. They build fine (there is an error in ERDistribution, but I’m not using that so I ignored that one) in eclipse but I can’t build for install either using WOLips install Tools/Install or from the command line using ant frameworks which gives me this:
[wocompile] Compiling 59 source files to /Users/ceggert/Roots/classes/JavaWOExtensions [wocompile] /Users/ceggert/WonderSource/Frameworks/Core/JavaWOExtensions/Sources/com/webobjects/woextensions/JSAlertPanel.java:10: error: package com.webobjects.appserver does not exist [wocompile] import com.webobjects.appserver.WOContext; [wocompile] ^ [wocompile] /Users/ceggert/WonderSource/Frameworks/Core/JavaWOExtensions/Sources/com/webobjects/woextensions/JSAlertPanel.java:11: error: package com.webobjects.foundation does not exist [wocompile] import com.webobjects.foundation.NSArray; [wocompile] ^ [wocompile] /Users/ceggert/WonderSource/Frameworks/Core/JavaWOExtensions/Sources/com/webobjects/woextensions/JSComponent.java:10: error: package com.webobjects.appserver does not exist [wocompile] import com.webobjects.appserver.WOComponent; [wocompile] ^
It can’t find the webobjects files
Those files are located: /Library/WebObjects/Versions/WebObjects543/Library/WebObjects/lib as per the install.
So, what do I need to do to get it to find those files?
Thanks for your time, Calven
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden