In the project set up I have those two xml files in META-INF folder(upper case). But when maven generates the jar file it puts them in a lower case folder. :(
"Petar Tahchiev" <[EMAIL PROTECTED]> 19/03/2007 16:43 Please respond to "Maven Users List" <[email protected]> To "Maven Users List" <[email protected]> cc Subject Re: ejb3 on Linux 2007/3/19, Vidya Mahavadi <[EMAIL PROTECTED]>: > > Hi, > > I have posted this question earlier, but I am still struggling to find a > solution. Any one who has come across the problem or have a work around > can help me. > > I have a ejb3 application and I am generating a jar file which I am > deploying it on JBoss. All the dependency injections work properly on > Jboss running on Windows machine, but fail on Jboss running on Linux. I > think it is because maven puts jboss.xml and persistence.xml in a meta-inf This seems like a reasonable guess, as in linux boxes file(directory) names are case-sensitive. Maybe a solution is to generate your jboss.xml and persistence.xml and keep them in the resource/META-INF directory, and so they will be picked up when building the jar. I am not sure if this approach will help, or maybe I have misunderstood the question, for what I appologize myself. HTH (lower case) folder. Has anyone come across this problem earlier.. Any > help is appriciated. > > Regards > This e-mail is subject to a disclaimer, available at > > http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html > > -- Regards, Petar! Karlovo, Bulgaria. Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
