Also, just to be clear, the class path files I'm looking to configure are placed here when building the dist with ant:
MyWOProject.woa/Contents/MacOS/


On Jun 20, 2010, at 10:42:17, Joe Moreno wrote:

Hi Chuck,

        Thanks for your response.

I probably should have mentioned that the WO app is deployed on Mac OS X Server 10.4.11 and the OS is using the MacOS[Server]ClassPath.txt files since everything runs fine when manually changing them.

I am pretty sure that MacOSServerClassPath.txt is obsolete and unused.

Do you know how Eclipse/WOLips/ant determines what to put into these two class path TXT files? It clearly varies from project to project so I'm guessing that it's a project setting which I can't find. I expected it to be in the build.xml.

        On the dev machine I do not find:
~/Library/Application Support/WOLips/wolips.properties
/Library/Application Support/WOLips/wolips.properties


Thanks,
Joe

On Jun 19, 2010, at 21:41:05, Chuck Hill wrote:


On Jun 19, 2010, at 3:18 PM, Joe Moreno wrote:

Where are the configuration setting in Eclipse that determine the MacOS[Server]ClassPath.txt settings during an ant build?

That should come from
~/Library/Application Support/WOLips/wolips.properties

I am pretty sure that MacOSServerClassPath.txt is obsolete and unused.



When deployed on OS X Server, my MacOS[Server]ClassPath.txt settings are not complete and the WOA app throws a java.lang.NoClassDefFoundError.

But, if I manually edit MacOS[Server]ClassPath.txt files on the Mac OS X Server and enter the following then everything works fine: LOCALROOT/Library/Frameworks/ProjectObjectModel.framework/ Resources/Java/projectobjectmodel.jar

I figured that the settings would be in the ant.frameworks.wo.wolocalroot file, but that doesn't seem to be working unless I'm doing something wrong.


Is this framework installed in /Library/Frameworks/ on the machine where you are building this? The ant build does not know about what is in the Eclipse workspace.


Chuck


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/joemoreno%40mac.com

This email sent to joemor...@mac.com

 _______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Reply via email to