• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: half solved, Re: having weird build and run issues...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: half solved, Re: having weird build and run issues...


  • Subject: Re: half solved, Re: having weird build and run issues...
  • From: Patrick Robinson <email@hidden>
  • Date: Thu, 19 Jan 2012 16:23:07 -0500

I don't think the Wonder source BUILD.txt file is correct (or at least, it's not sufficient).  It says:

   3. A wobuild.properties file should be placed in, on Mac OS X, the ~/Library directory.
      You can also symlink ~/Library/wobuild.properties to your existing
      ~/Library/Application Support/WOLips/wolips.properties

Sure, you can *do* that, but it isn't going to accomplish anything unless ant knows to go read your ~/Library/wobuild.properties
But BUILD.txt doesn't tell you that.

Also under (3) it says:

------------------------------------------------------------------------------
   An example of this file is:

   ==== START wobuild.properties ====

   wo.woroot=/
   wo.wosystemroot=/System
   wo.wolocalroot=/

   ==== END wobuild.properties ====

   These may, or may not, be necessary for some functionality:

   ==== START wobuild.properties, perhaps  ====

   wo.dir.root=/
   wo.dir.user.home.library.frameworks=/User/yourname/Library/Frameworks
   wo.dir.local=/
   wo.dir.library=/System/Library
   wo.dir.user.home.library=/User/yourname/Library
   wo.dir.local.library=/Library
   wo.dir.library.frameworks=/System/Library/Frameworks
   wo.dir.local.library.frameworks=/Library/Frameworks
   wo.dir.system=/System

   ==== END wobuild.properties, perhaps  ====
------------------------------------------------------------------------------

That doesn't seem correct, either, and in fact, when I tried to build the frameworks with a property file with these property names, it failed, as though I hadn't specified a property filename at all.

In order to successfully build this stuff, I ended up doing this:
   ant -propertyfile ~/Library/Application\ Support/WOLips/wolips.543.properties frameworks

This file (the same one I use with Eclipse, and for command-line ant builds) specifies properties such as:
   wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects543/System/Library/Frameworks
   wo.system.root=/Developer/WebObjects/Versions/WebObjects543/System
   wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects543/Library/Frameworks
   wo.local.root=/Developer/WebObjects/Versions/WebObjects543

Using this standard wolips.543.properties property file, I can also install my newly built Wonder frameworks like this:
   ant -propertyfile ~/Library/Application\ Support/WOLips/wolips.543.properties frameworks.install

and it copies the various bits to the right places under my /Developer/WebObjects/Versions/WebObjects543

Perhaps it'd be worth someone's time to update BUILD.txt with more current info.  If I thought I understood well enough what the intent is, and what changed, and why, I'd be happy to do it myself.  :-)

- Patrick


On Jan 18, 2012, at 11:23 AM, Pascal Robert wrote:

>
> Le 2012-01-18 à 11:12, James Cicenia a écrit :
>
>> Looks like Wonder binaries and Wonder Source didn't play well together.
>> So I deleted all the binaries and imported the couple dozen I needed.
>
> You NEED the binaries when you build with Ant. The incremental builder inside Eclipse will use the source if you have the code opened in Eclipse, but Ant will always use the installed framework. So try to build and install Wonder from source (check the BUILD.txt file for details) to see if it fixes both of your problems.
>
>> That solved the ERXKeyFilter issue and it now works great in development.
>>
>> BUT,
>>
>> When I run a build it still gives me:
>>
>> BUILD FAILED
>> /Users/jcicenia/Documents/workspace/BlessingsApp/build.xml:212: The framework name 'ERCoolComponents' does not exist.
>>
>> It does exist I tell you!
>>
>> James
>>
>>
>> On Jan 18, 2012, at 7:19 AM, Pascal Robert wrote:
>>
>>> Sounds like problems mixing Wonder for WO 5.4 and using WO 5.3. Are you using WO 5.4 everywhere?
>>>
>>>> I can't seem to build with ERCoolComponents for deployment.
>>>> And now when doing some work on a REST Controller I am getting this error:
>>>>
>>>> Show is [ERXKeyFilter: base=Attributes; includes={mainImage=[ERXKeyFilter: base=None; includes={webPath=[ERXKeyFilter: base=None]}], thumbnailImage=[ERXKeyFilter: base=None; includes={webPath=[ERXKeyFilter: base=None]}]}]
>>>> Jan 17 18:56:20 BlessingsApp[6789] ERROR er.rest.routes.ERXRouteController  - Request failed: /cgi-bin/WebObjects/BlessingsApp.woa/ra/Quotation
>>>> NoSuchMethodError: er.extensions.eof.ERXKeyFilter.includes()Lcom/webobjects/foundation/NSDictionary;
>>>> at er.rest.ERXRestRequestNode._addAttributesAndRelationshipsForObjectOfEntity(ERXRestRequestNode.java:772)
>>>> at er.rest.ERXRestRequestNode._fillInWithObjectAndFilter(ERXRestRequestNode.java:866)
>>>> at er.rest.ERXRestRequestNode._fillInWithObjectAndFilter(ERXRestRequestNode.java:840)
>>>> at er.rest.ERXRestRequestNode.requestNodeWithObjectAndFilter(ERXRestRequestNode.java:1165)
>>>>
>>>>
>>>>
>>>> All this started when I imported some Wonder frameworks into my workspace, etc.
>>>>
>>>> Help
>>>>
>>>> James
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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

 _______________________________________________
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

  • Follow-Ups:
    • Re: half solved, Re: having weird build and run issues...
      • From: Kieran Kelleher <email@hidden>
References: 
 >having weird build and run issues... (From: James Cicenia <email@hidden>)
 >Re: having weird build and run issues... (From: Pascal Robert <email@hidden>)
 >half solved, Re: having weird build and run issues... (From: James Cicenia <email@hidden>)
 >Re: half solved, Re: having weird build and run issues... (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: What wonder branch is what?
  • Next by Date: Re: half solved, Re: having weird build and run issues...
  • Previous by thread: Re: half solved, Re: having weird build and run issues...
  • Next by thread: Re: half solved, Re: having weird build and run issues...
  • Index(es):
    • Date
    • Thread