Hello,

thanks for your response, but that wasn't the solution either, unfortunately. I don't think, it's that maven can't find the driver for MySql. I think Maven just can't find the goal 'import'. So I tried to make the tip of David Sean Taylor to work:

I created a file 'maven.xml' and wrote as suggested:

<goal name="import"
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>


He also mentioned that I have to update the path to include the jetspeed 1.5 jar. But I don't know how. I tried several things, but I know always get the error message, that the file NULL/.../TurbineResources.properties was not found. Maven is looking in the wrong directory (in NULL). Could you (or somebody else) send me an example of this file and/or $HOME/build.properties, so that I can figure out how?

Thank you very much,
Sven.




Am Fri, 18 Mar 2005 08:19:05 +0100 schrieb Boukhalfa BRAHITI <[EMAIL PROTECTED]>:


HY,

I imported psml i my Postregsql yesterday. I tried several solutions and
finally I put the driver in the path %JAVA_HOME%\jre\lib\ext and it works.


I hope it will help you.


-----Message d'origine----- DeÂ: Sven Richter [mailto:[EMAIL PROTECTED] EnvoyÃÂ: jeudi 17 mars 2005 17:49 ÃÂ: Jetspeed Users List ObjetÂ: Re: importing PSML into the database - where do I put the driver?

Hello,

First, thanks for your quick response.

I did everything you mentioned there. But I still get the error message:

=========================================================================
[MyPortal]# maven import
  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

BUILD FAILED
Goal "import" does not exist in this project.
Total time: 4 seconds
Finished at: Thu Mar 17 17:30:59 CET 2005
=========================================================================

That doesn't seem to be the problem. I also didn't understand where you
put the mysql.xml (./etc/project-dependencies/ <= I don't have any such
directory). So I added the statement directly into the project.xml.

Thank you very much,
Sven.


Am Thu, 17 Mar 2005 15:43:59 +0100 schrieb Roel van Dijk <[EMAIL PROTECTED]>:

I didn't do this, but I guess it should work. For my project I altered
some of the files in the Jetspeed source directories. Read my
description from earlier this week on:

http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg15698.html

Roel


-----Oorspronkelijk bericht-----
I works for you? Did you put it into your HOME-Directory and not
into your
project-root-directory (did you just create a new file or did it already
exist)? Could you please post your file as an example please?

>> > I did see this, but was unsure how to use it. Where do I define
these
>> > variables ${org.apache.jetspeed.test.jdbc.j1.drivers.path} ?
>>
>> in your $HOME/build.properties




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


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