Nebojša Marinkov wrote:

> I have set up a magnolia project using  this guide 
> http://academy.magnolia-cms.com/display/MA/2+Step+by+step+instructions. I 
> want my project to use mySql database. I downloaded 
> mysql-connector-java-5.1.34.tar.gz and extract it and there is 
> mysql-connector-java-5.1.34-bin.jar file.
> 
> Now I need to put that file in magnoliaAuthor/WEB-INF/lib filder. I checked 
> myproject-webapp/src/main/webapp/WEB-INF and there is no lib folder in there. 
> I have created lib filder myself and put my .jar here but I strongly doubt 
> that is a right way.

If you're using Maven for your project, you normally add dependencies to your 
project's pom.xml file. When you build a WAR project, the library will end up 
in the WEB-INF/lib folder.

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

Nils.

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to