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 
<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
 
<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:
https://wiki.wocommunity.org/display/WOL/wolips.properties 
<https://wiki.wocommunity.org/display/WOL/wolips.properties>


Calven

> Begin forwarded message:
> 
> From: Calven Eggert <cal...@mac.com>
> Subject: Building the Wonder libraries
> Date: October 22, 2015 at 2:50:41 PM EDT
> To: webobjects-dev@lists.apple.com
> 
> 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
> 


Calven



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to