• 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: frameworksBaseURL borked after Wonder update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: frameworksBaseURL borked after Wonder update


  • Subject: Re: frameworksBaseURL borked after Wonder update
  • From: Hugi Thordarson <email@hidden>
  • Date: Wed, 16 Mar 2016 12:53:28 +0000

Hi Markus,

my build files have a section that looks exactly like the one you posted, so that’s not a solution.

Note: I’m not making URLs for WebServerResources, the Resources in question are from “Resources”.

- hugi



> On 16. mar. 2016, at 10:44, Dr. Markus Stoll, junidas GmbH <email@hidden> wrote:
>
> Hi Hugi,
>
> now I understand whats happening, obviously there are 2 different ant build.xml templates in the wild, one creating embedded frameworks webserver resources in
>
> /WebObjects/${build.app.name}.woa/Frameworks
>
> which is the old default scheme (and wocommunity pages still are referring to this one) and another one creating
>
> /WebObjects/${build.app.name}.woa/Contents/Frameworks
>
>
>
> ERXDeploymentBundle does not know about the latter and cannot detect this automatically.
>
> For now changing your ant script to the old scheme would help, changing your section for creating the WebServerResources part using a copy statement like this
>
>        <copy todir="${wsdest.dir}/WebObjects/${build.app.name}.woa">
>            <fileset dir="${dest.dir}/${build.app.name}.woa/Contents">
>                <include name="Frameworks/*.framework/WebServerResources/**"/>
>            </fileset>
>            <fileset dir="${dest.dir}/${build.app.name}.woa">
>                <include name="Contents/WebServerResources/**"/>
>            </fileset>
>        </copy>
>
> I will propose a solution for ERXDeploymentBundle
>
>
> Regards, Markus
>
>
>> Am 15.03.2016 um 23:15 schrieb Hugi Thordarson <email@hidden>:
>>
>> Hi Markus,
>>
>> I’m building with Ant.
>>
>> ERXDeployedBundle is apparently hardcoding the URL to be App.woa/Frameworks, so that explains why my URLs are now broken:
>>
>> https://github.com/markusstoll/wonder/blob/4e5e98a4a7c6f7251054820f636beeb629828f1d/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXDeployedBundle.java#L84-L86
>>
>> So… If this is what it should be, then why have my apps always placed embedded frameworks at /App.woa/Contents/Frameworks and how do I change my builds?
>>
>> Cheers,
>> - hugi
>>
>>
>>
>>> On 15. mar. 2016, at 21:55, Markus Stoll, junidas GmbH <email@hidden> wrote:
>>>
>>> Hi,
>>>
>>> see my pull request #727
>>>
>>> I had the impression that difference is between maven builds and ant builds - I would be pleased if someone could clarify, what introduced this change
>>>
>>> Markus
>>>
>>>
>>>> Am 15.03.2016 um 16:53 schrieb Hugi Thordarson <email@hidden>:
>>>>
>>>> Hi all.
>>>> I just updated to the most recent version of Wonder (unfortunately I have no idea how old the version I was replacing was).
>>>> Now URLs to resources in embedded frameworks are wrong, i.e. they no longer contain the “Contents” part of the woa-bundle, so they look like this:
>>>>
>>>> …/Hugi.woa/Frameworks/USWebObjects.framework/Resources/main.css
>>>>
>>>> instead of this (where the resources are actually found):
>>>>
>>>> …/Hugi.woa/Contents/Frameworks/USWebObjects.framework/Resources/main.css
>>>>
>>>>
>>>> Setting frameworksBaseURL in build.xml does not seem to change anything. Any ideas?
>>>>
>>>> Cheers,
>>>> - hugi
>>>> _______________________________________________
>>>> 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


References: 
 >frameworksBaseURL borked after Wonder update (From: Hugi Thordarson <email@hidden>)
 >Re: frameworksBaseURL borked after Wonder update (From: Hugi Thordarson <email@hidden>)

  • Prev by Date: FrontBase SQL: date formatting, „local variable“?
  • Next by Date: Quick EOModel Column Locking ?
  • Previous by thread: Re: frameworksBaseURL borked after Wonder update
  • Next by thread: FrontBase SQL: date formatting, „local variable“?
  • Index(es):
    • Date
    • Thread