Add support for adding a folder to classpath in JSW
---------------------------------------------------

                 Key: MAPPASM-67
                 URL: http://jira.codehaus.org/browse/MAPPASM-67
             Project: Mojo AppAssembler Plugin
          Issue Type: Improvement
    Affects Versions: 1.0
         Environment: linux
            Reporter: Erik Drolshammer
         Attachments: hardcodeEtcAsClasspath.patch

I have a project which uses a 3rd party library that loads configuration from 
classpath. To override the configuration in the jar-file, mye configuration 
file needs to come prior to the jar-file in classpath. It seems the folder 
"etc" and 
"<includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>"
 can be used for other platforms/generators, but is not implemented for JSW. 

Consider this a feature request. :) 

The attachment contains a crude workaround that adds the "etc" folder to 
classpath if daemon.getClasspath() == null. 

If someone can give me some pointers as how to add support properly, I can try 
to implement it myself. 




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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to