[ http://issues.apache.org/jira/browse/AXIS2C-65?page=all ]
     
Damitha Kumarage resolved AXIS2C-65:
------------------------------------

    Resolution: Fixed

added a method called aixs2_platform_get_dll_name(env, name)
into utils.c. 
Now from xml we read just the dll name. inside the above method it is 
prefixed and/or suffixed in a platform independant way

> Need a platform independent way of specifying dynamically loaded modules in 
> axis2.xml and services.xml
> ------------------------------------------------------------------------------------------------------
>
>          Key: AXIS2C-65
>          URL: http://issues.apache.org/jira/browse/AXIS2C-65
>      Project: Axis2-C
>         Type: Improvement
>  Environment: windows , linux 
>     Reporter: nandika jayawardana
>     Assignee: Damitha Kumarage

>
> currently , dynamically loaded modules are specified in axis2.xml and 
> services.xml as "libaxis2_receivers.so" ... ect.
> But in windows the extension has to be  .dll , so I think if we can put the 
> extension part to platform specific code and just have the module name in 
> axis2.xml and append the extension  to create the correct module name 
> depending on the platform.
> eg.
> <messageReceiver class="axis2_core" />
> axis2_unix.h =>
> #define AXIS2_LIB_SUFFIX  ".so"
> #define AXIS2_LIB_PREFIX  "lib"
> axis2_windows.h=>
> #define AXIS2_LIB_SUFFIX  ".dll" 
> #define AXIS2_LIB_PREFIX

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to