Re: All in One Deployment not pointing to the javascript stuff inside application.woa/Ajax.Framework?

From: Q (qdola..mail.com)
Date: Mon Jan 18 2010 - 17:51:21 EST

  • Next message: Simon McLean (JIRA): "[OS-JIRA] Created: (WOL-1141) Refactor > Format breaks code if you wrap the doctype in a conditional"

    Update your build.xml

    It is most likely missing the frameworksBaseURL attribute from the woapplication task:

    <woapplication name="${build.app.name}" frameworksBaseURL="/WebObjects/${project.name}.woa/Frameworks" .....

    On 18/01/2010, at 6:08 PM, Johan Henselmans wrote:

    > I just did an AllInOne deployment of a project, which included the Ajax Framework. On the production server, it seemed that the URL pointing to the javascript libraries was not to the included javascript libraries: so instead of pointing to
    >
    > <script src="/WebObjects/Application.woa/Frameworks/Ajax.framework/WebServerResources/prototype.js"></script>
    > <script src="/WebObjects/Application.woa/Frameworks/Ajax.framework/WebServerResources/ibox/ibox.js"></script>
    > <link rel="stylesheet" type="text/css" href="/WebObjects/Application.woa/Frameworks/Ajax.framework/WebServerResources/ibox/ibox.css"/>
    >
    >
    > it pointed to:
    >
    > <script src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js"></script>
    > <script src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/ibox/ibox.js"></script>
    > <link rel="stylesheet" type="text/css" href="/WebObjects/Frameworks/Ajax.framework/WebServerResources/ibox/ibox.css"/>
    >
    > So I Still had to install the Ajax.Framework WebServerResources on the webserver.
    >
    > Is that a design decision, some oversight, a mistake on my side (most probable)?
    >
    > Eclipse 3.5.1, WOLips 3.5.6028, WO 5.4.3
    >
    > Johan Henselmans
    > joha..etsense.nl
    >
    >
    >

    -- 
    Seeya...Q
    

    Quinton Dolan - qdola..mail.com Gold Coast, QLD, Australia (GMT+10)



    This archive was generated by hypermail 2.0.0 : Mon Jan 18 2010 - 17:52:33 EST