I think I am confused.

On May 12, 2009, at 9:30 PM, Mike Schrag wrote:

it only requires the definition of a couple properties, it doesn't require the existence of that file

Then what is the reason for defining the file in the Eclipse Preferences?

... i never build with ant with the ~/... props file, i always pass in the wolips.properties file to ant on the commandline.

I'm just trying to get it to work with the most simple (and I think, common) use-case possible, which is building by right-clicking on the project and selecting "WOLips Ant Tools -> Install"

I am really looking forward to building using Hudson in the near future (waiting for the session at WOWODC), which I'm guessing will bypass this entirely, but for now I just want to have different settings for different workspaces.

Should I just manually modify the build.xml files to have the same value as the Preferences field?

Dave


On May 12, 2009, at 5:36 PM, David Avendasora wrote:


On May 11, 2009, at 5:12 PM, Mike Schrag wrote:

i now setup multiple workspaces and set the Preferences=>WOLips=>Build=>build properties to "wolips. 54.properties" or "wolips.53.properties" or "wolips.whateverelse.properties"

Is this supposed to only work for the incremental builder? The build.xml file has "wolips.properties" hardcoded (even for a new project from last night's nightly WOLips build). Is there a variable for that that can be used in the standard build.xml file, or do we just need to manually change the build.xml file?

Thanks!

Dave


ms

On May 11, 2009, at 4:58 PM, Miguel Angel Torres Avila wrote:

Thanks for all your responses,

First, Yes I tried with the stable version of WOLips.


Before I saw your responses I copied both files (wolips.properties and wobuild.properties) from my other development machine (eclipse Europa - WOLisp - WebObjects 5.3) and my test project worked.

Then I tried with  woswitch and it appears that works.

Chuck mentioned that it is outdated but as far as understand it just create four files (wobuild.properties54, wobuild.properties53, wolips.properties53 and wolips.properties54) and use them to replace wolips.properties and wobuild.properties depending on your needs.


This is the content of each one


wobuild.properties54
--------------------

#This file stores the wo specific properties
#Fri Aug 15 12:14:46 CDT 2008
wo.wosystemroot=/System
wo.wolocalroot=/
wo.woroot=/
wo.dir.reference.api=/Developer/Documentation/DocSets/ com.apple.ADC_Reference_Library.WebObjectsReference.docset/ Contents/Resources/Documents/documentation/MacOSXServer/Reference/ WO54_Reference


------------------------------


wobuild.properties53
--------------------

#This file stores the wo specific properties
#Fri Aug 15 12:14:46 CDT 2008
wo.wosystemroot=/Developer/WebObjects53/System
wo.wolocalroot=/Developer/WebObjects53
wo.woroot=/Developer/WebObjects53
wo.dir.reference.api=/Developer/Documentation/DocSets/ com.apple.ADC_Reference_Library.WebObjectsReference.docset/ Contents/Resources/Documents/documentation/MacOSXServer/Reference/ WO54_Reference

------------------------------

wolips.properties54
--------------------

#Fri Apr 24 11:30:00 CDT 2009
wo.system.root=/System
wo.user.frameworks=/Users/dev3/Library/Frameworks
wo.system.frameworks=/System/Library/Frameworks
wo.bootstrapjar=/System/Library/WebObjects/JavaApplications/ wotaskd.woa/WOBootstrap.jar
wo.network.frameworks=/Network/Library/Frameworks
wo.api.root=/Developer/Documentation/DocSets/ com.apple.ADC_Reference_Library.WebObjectsReference.docset/ Contents/Resources/Documents/documentation/InternetWeb/Reference/ WO542Reference
wo.network.root=/Network
wo.extensions=/Library/WebObjects/Extensions
wo.user.root=/Users/dev3
wo.local.frameworks=/Library/Frameworks
wo.apps.root=/Library/WebObjects/Applications
wo.local.root=/


------------------------------


wolips.properties53
--------------------

#Fri Apr 24 11:30:00 CDT 2009
wo.system.root=/Developer/WebObjects53/System
wo.user.frameworks=/Users/dev3/Library/Frameworks
wo.system.frameworks=/Developer/WebObjects53/System/Library/ Frameworks wo.bootstrapjar=/Developer/WebObjects53/System/Library/WebObjects/ JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.network.frameworks=/Network/Library/Frameworks
wo.api.root=/Developer/Documentation/DocSets/ com.apple.ADC_Reference_Library.WebObjectsReference.docset/ Contents/Resources/Documents/documentation/InternetWeb/Reference/ WO542Reference
wo.network.root=/Network
wo.extensions=/Developer/WebObjects53/Library/WebObjects/Extensions
wo.user.root=/Users/dev3
wo.local.frameworks=/Developer/WebObjects53/Library/Frameworks
wo.apps.root=/Developer/WebObjects53/Library/WebObjects/ Applications
wo.local.root=/Developer/WebObjects53

------------------------------

I am not an expert on configuring WOLips but I think this is valid for switching between WebObjects 5.4 and 5.3 or some of you guys with your experience see something that could be wrong?

Now I will delete eclipse and try with the nightly version just to verify that version does create wolips.properties file.

Thanks





On May 11, 2009, at 1:54 PM, Chuck Hill wrote:


On May 11, 2009, at 8:00 AM, Miguel Angel Torres Avila wrote:

Hi list,

I just bought a new macbook and I am configuring it to continue developing our projects, this is the first computer with Leopard in our company, all of our projects works with WebObjects 5.3 so I am looking for a way to do so.

I found a tutorial here

http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started

I am trying the following method

Alternative 5.3 / 5.4 development method

It says:

"The woswitch script can be used as an alternative method to installing and using WO 5.3 for development, without the need to touch or move any of the installed WO 5.4 frameworks. This script will download and install the WebObjects 5.3.3 runtime into /Developer/WebObjects53 and maintain two copies of your ~/ Library/wobuild.properties so you can quickly switch WOLips development between the two different runtime versions.

To use the script for the first time, ensure that you have WebObjects 5.4 installed, and have run WOLips at least once to create your ~/Library/wobuild.properties file. Also ensure that the script has been set executable with chmod +x woswitch"


I installed the Developer tools including WebObjects from the Mac OS X 10.5 DVD. So I thing that WebObjects is 5.4. Then I installed the All-In-One Turn-Key Installer (Mac OS X 10.5.2+ Only) provided in this page http://wiki.objectstyle.org/confluence/display/WOL/Installing+WOLips

I ran eclipse and opened the WOLips perspective.

Then I tried the woswitch script to change to WebObjects 5.3. It downloaded WebObjects5.3.3Update.dmg but after that I get the following message:

Setting wolips properties for WebObjects 5.3
cp: /Users/dev3/Library/wobuild.properties53: No such file or directory cp: /Users/dev3/Library/Application Support/WOLips/ wolips.properties53: No such file or directory

Did I miss something.

If you are using the Nightly (or Stable) version of WOLips, this method of switching versions is outdated.

I think that now you can put the versions wherever you want and then adjust
/Users/chuck/Library/Application Support/WOLips/wolips.properties
and restart Eclipse.

Chuck


--
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/



Miguel Angel Torres Avila




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to