RE: Using Jakarta Configuration with Merlin
"David Leangen" <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <[email protected]> |
Ok, thanks a lot for looking into this! :-) > -----Original Message----- > From: Niclas Hedhman [mailto:[email protected]] > Sent: 19 September 2004 11:51 > To: Avalon framework users > Subject: Re: Using Jakarta Configuration with Merlin > > > On Sunday 19 September 2004 09:54, David Leangen wrote: > > I can send the entire package as a zip file, too, but IIUC it will be > > rejected by the mail server... > > Looks like a bug in commons-configuration. > > This is passed into the ConfigurationFactory.setConfigurationURL(); > > jar:file:/home/niclas/temp/leangen/target/deliverables/jars/myproj > ect-test-SNAPSHOT.jar!/config.xml > > which is correct. > > And then noone of Avalon is involved until the call at > factory.getConfiguration(). > > The reason why it may work without Magic, is that the File > config.xml is found > on the file system, instead of inside the Jar file. > > Sorry, you need to bring this to the jakarta-commons folks. > > And to them, just provide the simple case; Jar file with the > config inside and > the testcase that reads it. Don't confuse the issue with your buildsystem. > > Cheers > Niclas > -- > +------//-------------------+ > / http://www.bali.ac / > / http://niclas.hedhman.org / > +------//-------------------+ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]