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 protected]>:
> 
> 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 protected]> 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 protected]>:
>>> 
>>> 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 protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/markus.stoll%40junidas.de
>>> 
>>> This email sent to [email protected]
>> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to [email protected]

Reply via email to