Wherever it is, just add it as a dependency within the project.xml file:

If the .jar file is named mysql-driver-1.0.1.jar, then

        <dependency>
            <id>mysql-driver</id>
            <version>1.0.1</version>
        </dependency>

and that's it! Run maven and it will access the driver.

Regards,
Pablo

-----Mensaje original-----
De: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Enviado el: mi�rcoles, 16 de marzo de 2005 16:55
Para: Jetspeed Users List
Asunto: Re: importing PSML into the database - where do I put the driver?

Roel van Dijk wrote:
>>-----Oorspronkelijk bericht-----
>>Van: Roel van Dijk [mailto:[EMAIL PROTECTED]
>>Verzonden: Tuesday, March 15, 2005 2:03 PM
>>Aan: Jetspeed Users List
>>Onderwerp: importing PSML into the database - where do I put the driver?
>>
>>
>>So here is the big question: where should I put the MySQL-Driver
>>JAR file so that the combination of Maven and Torque can find it?
>
> 
> [note: I'm using 1.6-dev from CVS]
>
org.apache.jetspeed.test.jdbc.j1.drivers.path:

     <goal name="import" prereqs="java:compile"
             description="Import PSML">

         <java fork="true" 
classname="org.apache.jetspeed.services.psmlmanager.PsmlImporter" >
             <!-- comment this out to preserve existing profiles -->
             <arg value="false"/>
               <classpath>
                 <path refid="maven.dependency.classpath"/>
                 <pathelement path="${maven.build.dest}"/>
                 <pathelement 
path="${org.apache.jetspeed.test.jdbc.j1.drivers.path}"/>
                 <pathelement 
path="${org.apache.jetspeed.test.jdbc.j1.drivers.path2}"/>
                 <pathelement 
path="${org.apache.jetspeed.test.jdbc.j1.drivers.path3}"/>
               </classpath>
         </java>
     </goal>


  --
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

---------------------------------------------------------------------
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]

Reply via email to