You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Surya Kusumakar (JIRA)" <ji...@apache.org> on 2008/11/18 07:55:44 UTC

[jira] Created: (OFBIZ-2051) Changing controller request to refer to simple method files by component:// url instead of classpath resource location

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.


[jira] Closed: (OFBIZ-2051) Changing controller request to refer to simple method files by component:// url instead of classpath resource location

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (OFBIZ-2051) Changing controller request to refer to simple method files by component:// url instead of classpath resource location

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (OFBIZ-2051) Changing controller request to refer to simple method files by component:// url instead of classpath resource location

Posted by "Surya Kusumakar (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Assigned: (OFBIZ-2051) Changing controller request to refer to simple method files by component:// url instead of classpath resource location

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (OFBIZ-2051) Changing controller request to refer to simple method files by component:// url instead of classpath resource location

Posted by "Surya Kusumakar (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (OFBIZ-2051) Changing controller request to refer to simple method files by component:// url instead of classpath resource location

Posted by "Rishi Solanki (JIRA)" <ji...@apache.org>.
    [ 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.