ws-savan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon S. Searl (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (SAVAN-4) savan-XXXX.mar unable to find savan-config.xml resource
Date Wed, 20 Feb 2008 17:23:43 GMT

    [ https://issues.apache.org/jira/browse/SAVAN-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570760#action_12570760
] 

lsearl edited comment on SAVAN-4 at 2/20/08 9:23 AM:
------------------------------------------------------------

This patch file 
savan-SVN-20080104_mod_mar.patch
changes the class loader that is used to load the
savan-config.xml file to be the module class loader so that
the savan-config.xml file is found in the mar resources.

This patch file depends on the previous attached patch file 
savan-SVN-20080104_mar.patch
since I moved
the SavanModule.java from the core module to the mar module.

      was (Author: lsearl):
    This patch file changes the class loader that is used to load the
savan-config.xml file to be the module class loader so that
the savan-config.xml file is found in the mar resources.

This patch file depends on the previous attached patch file 
savan-SVN-20080104_mar.patch
since I moved
the SavanModule.java from the core module to the mar module.
  
> savan-XXXX.mar unable to find savan-config.xml resource
> -------------------------------------------------------
>
>                 Key: SAVAN-4
>                 URL: https://issues.apache.org/jira/browse/SAVAN-4
>             Project: Savan
>          Issue Type: Bug
>         Environment: axis2 v1.3
> SVN snapshot of 20080104
>            Reporter: Leon S. Searl
>         Attachments: savan-SVN-20080104_mar.patch, savan-SVN-20080104_mod_mar.patch
>
>
> With a clean build
> > mvn clean install
> The savan module, when invoking the module 'init', was not finding
> the savan-config.xml in the mar resource since it is not
> using the module class loader.
> If two builds were done in a row:
> > mvn clean install; mvn install
> because of a bug in the mavan pom file, the
> savan-config.xml would be put into the 
> savan.jar file also. In this case the module 'init' would
> find the savan-config.xml file.
> I'll try to attach two patch files that will fix this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message