No, it doesn't work, in the file:applicationContext-service.xml, i add a
service and use <constructor-arg value="classpath:/filename.xml"/> to get
the real path of this config file, but I got "classpath:/filename.xml"
string, not real path, any idea what's up here?


mraible wrote:
> 
> classpath:/filename.xml should work.
> 
> Matt
> 
> On Sun, Jul 27, 2008 at 12:47 PM, brantman <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>>   In my appfuse application, I need read a xml config file:myapp.xml in a
>> service bean:mymanagerImpl.java, I put it in src/main/resources, after
>> run
>> mvn jetty:run-war, it are copied to classes/myapp.xml, but there are
>> several
>> classes folders, which one should I set as the file path? What is the
>> correct relative path for this config file?
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-read-a-new-config-file-tp18679204s2369p18679204.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-read-a-new-config-file-tp18679204s2369p18829690.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to