Changing controller request to refer to simple method files by component:// url instead of classpath resource location
---------------------------------------------------------------------------------------------------------------------- Key: OFBIZ-2051 URL: https://issues.apache.org/jira/browse/OFBIZ-2051 Project: OFBiz Issue Type: Improvement Components: ecommerce, order, party Reporter: Surya Kusumakar Priority: Minor Remove script directory from classpath and changing controller request to refer to simple method files by component:// url instead of classpath resource location.This way project would be less class path dependent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Surya Kusumakar updated OFBIZ-2051: ----------------------------------- Attachment: EcommerceScriptDirectoryPathChanged.patch Made changes in controller.xml of ecommerce ,changed the path of simple method files , groovy files from class path resource location to component://url. Also changed the path of ftl files in Data files. -- Regards Surya Kusumakar > Changing controller request to refer to simple method files by component:// url instead of classpath resource location > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2051 > URL: https://issues.apache.org/jira/browse/OFBIZ-2051 > Project: OFBiz > Issue Type: Improvement > Components: ecommerce, order, party > Reporter: Surya Kusumakar > Priority: Minor > Attachments: EcommerceScriptDirectoryPathChanged.patch > > > Remove script directory from classpath and changing controller request to refer to simple method files by component:// url instead of classpath resource location.This way project would be less class path dependent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya reassigned OFBIZ-2051: ------------------------------------------ Assignee: Ashish Vijaywargiya > Changing controller request to refer to simple method files by component:// url instead of classpath resource location > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2051 > URL: https://issues.apache.org/jira/browse/OFBIZ-2051 > Project: OFBiz > Issue Type: Improvement > Components: ecommerce, order, party > Reporter: Surya Kusumakar > Assignee: Ashish Vijaywargiya > Priority: Minor > Attachments: EcommerceScriptDirectoryPathChanged.patch > > > Remove script directory from classpath and changing controller request to refer to simple method files by component:// url instead of classpath resource location.This way project would be less class path dependent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya reassigned OFBIZ-2051: ------------------------------------------ Assignee: Vikas Mayur (was: Ashish Vijaywargiya) > Changing controller request to refer to simple method files by component:// url instead of classpath resource location > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2051 > URL: https://issues.apache.org/jira/browse/OFBIZ-2051 > Project: OFBiz > Issue Type: Improvement > Components: ecommerce, order, party > Reporter: Surya Kusumakar > Assignee: Vikas Mayur > Priority: Minor > Attachments: EcommerceScriptDirectoryPathChanged.patch > > > Remove script directory from classpath and changing controller request to refer to simple method files by component:// url instead of classpath resource location.This way project would be less class path dependent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648954#action_12648954 ] Rishi Solanki commented on OFBIZ-2051: -------------------------------------- Hello Surya, I have quick look at your patch. why you are not specifying the path of component xml-resource="component://ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateMapProcs.xml" instead you use the path from upper level in case of map-processors. xml-resource="applications/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateMapProcs.xml" Regards -- Rishi Solanki > Changing controller request to refer to simple method files by component:// url instead of classpath resource location > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2051 > URL: https://issues.apache.org/jira/browse/OFBIZ-2051 > Project: OFBiz > Issue Type: Improvement > Components: ecommerce, order, party > Reporter: Surya Kusumakar > Assignee: Vikas Mayur > Priority: Minor > Attachments: EcommerceScriptDirectoryPathChanged.patch > > > Remove script directory from classpath and changing controller request to refer to simple method files by component:// url instead of classpath resource location.This way project would be less class path dependent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648961#action_12648961 ] Surya Kusumakar commented on OFBIZ-2051: ---------------------------------------- Hello Rishi, I tried doing it the same way as you said but it could not find the simple map processor when i tried to pass the simple map-processor location as component specific path i.e component://url. -- Regards Surya Kusumakar > Changing controller request to refer to simple method files by component:// url instead of classpath resource location > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2051 > URL: https://issues.apache.org/jira/browse/OFBIZ-2051 > Project: OFBiz > Issue Type: Improvement > Components: ecommerce, order, party > Reporter: Surya Kusumakar > Assignee: Vikas Mayur > Priority: Minor > Attachments: EcommerceScriptDirectoryPathChanged.patch > > > Remove script directory from classpath and changing controller request to refer to simple method files by component:// url instead of classpath resource location.This way project would be less class path dependent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya closed OFBIZ-2051. -------------------------------------- Resolution: Fixed This issue is very old and most of the changes has been covered after rev 755618 (for map-processor handling, url starting with component://). The component:// style URL pattern has been handled in recent commits for "map-processor" tag in simple method. The same will be done for the entries present in the controller.xml files. This needs some exploration and it will take some time. So for now I am closing this issue. -- Ashish Vijaywargiya > Changing controller request to refer to simple method files by component:// url instead of classpath resource location > ---------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2051 > URL: https://issues.apache.org/jira/browse/OFBIZ-2051 > Project: OFBiz > Issue Type: Improvement > Components: ecommerce, order, party > Reporter: Surya Kusumakar > Assignee: Vikas Mayur > Priority: Minor > Attachments: EcommerceScriptDirectoryPathChanged.patch > > > Remove script directory from classpath and changing controller request to refer to simple method files by component:// url instead of classpath resource location.This way project would be less class path dependent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |