accessing framework resources from "external" special purpose component

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

accessing framework resources from "external" special purpose component

frabjousB
For source control purposes, we have separated our specialpurpose "test_project" component from the main ofbiz directory structure like so:

/projects/ofbiz/  (OFBiz location)
/projects/test_project/ (test_project component location)

/projects/ofbiz/specialpurpose/build.xml then contains:

    <filelist id="specialpurpose-builds" dir="."
        files="
                ../../test_project/build.xml"
    />

and /projects/ofbiz/specialpurpose/component-load.xml contains:

<component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd">               
    <load-component component-location="../../test_project"/>
</component-loader>

So, test_project is an ofbiz component with source code located at the same directory level as ofbiz instead of being located within ofbiz/specialpurpose.

Is it possible to access /projects/ofbiz/framework/common/widget/CommonScreens.xml definitions and pages contained within /projects/ofbiz/framework/common/webcommon from within our test_project component and, if so, how can we do so?

Thanks in advance for your help.