Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CheckIn:Fix 152828 -- add APIs to support 'projectFolder' as default value of resourceFolder

Summary:

Do some refactor to ModuleOption.
- Bugzilla Bug (s) Resolved: 152828


- Description:

1. Add get/set methods in Session to operate ‘resourceFolder’. Originally, two static methods ‘getBirtResourcePath’

    and ‘setBirtResourcePath’ will not work since now. Please replace all these two methods caller with get/set ‘resourceFolder’.

2. Add get/set methods in ModuleHandle to operate ‘resourceFolder’.

3. If caller wants to set ‘resourceFolder’ in module when opening it, call method like openDesign(String filename, ModuleOption options).

 

- Tests Description:

 Unit test
- Notes to Build Team: None


- Notes to Developers: None


- Notes to QA: None


- Notes to Documentation: None


- Files Added:

- Files Edited:

 

    Checking in test/org/eclipse/birt/report/model/library/DesignLoadLibraryTest.java;

    Checking in test/org/eclipse/birt/report/model/api/DefaultSearchFileAlgorithmTest.java;

    Checking in test/org/eclipse/birt/report/model/api/ReportDesignHandleTest.java;

    Checking in src/org/eclipse/birt/report/model/core/DesignSession.java;

    Checking in src/org/eclipse/birt/report/model/core/Module.java;

    Checking in src/org/eclipse/birt/report/model/api/DefaultResourceLocator.java;

    Checking in src/org/eclipse/birt/report/model/api/SessionHandle.java;

    


Back to the top