You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Tatjana Fuhr <ta...@web.de> on 2005/09/12 13:16:21 UTC

Can not create new Project with maven-plugin

I have been trying to follow the instructions at:

http://portals.apache.org/jetspeed-2/getting-started.html#4__Creating_a_new_Portal_Application

but on the step "Generate a new portal project" with

maven j2:portal.genapp

i get the errormassage:

---snip----

j2:_generate.sql:
    [echo] Using Torque schema located under: C:\JETSPEED01/src/schema
torque:init:

    [echo] Generating SQL schema creation scripts for hypersonic
    [mkdir] Created dir: C:\home\myportal\target\portal-sql\hsql\schema
    [torque-sql] Using classpath
    [torque-sql] Generating to file C:\home\myportal\target\portal-sql\hsql\schema\report.portal.sql.generation

BUILD FAILED
File...... C:\Documents and Settings\fuhrtat\.maven\cache\maven-jetspeed2-plugin-2.0-M4-SNAPSHOT\plugin.jelly
Element... torque-sql
Line...... 658
Column.... 37
org.apache.torque.engine.EngineException: java.net.ConnectException: Connection timed out: connect
Total time: 42 seconds
---snip---

Please help me
Tatiana
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Can not create new Project with maven-plugin

Posted by Ate Douma <at...@douma.nu>.
Tatjana Fuhr said:
>
> I have been trying to follow the instructions at:
>
> http://portals.apache.org/jetspeed-2/getting-started.html#4__Creating_a_new_Portal_Application
>
> but on the step \"Generate a new portal project\" with
>
> maven j2:portal.genapp
>
> i get the errormassage:
>
> ---snip----
>
> j2:_generate.sql:
>     [echo] Using Torque schema located under: C:\\JETSPEED01/src/schema
> torque:init:
>
>     [echo] Generating SQL schema creation scripts for hypersonic
>     [mkdir] Created dir:
C:\\home\\myportal\\target\\portal-sql\\hsql\\schema
>     [torque-sql] Using classpath
>     [torque-sql] Generating to file
> C:\\home\\myportal\\target\\portal-sql\\hsql\\schema\\report.portal.sql.generation
>
> BUILD FAILED
> File...... C:\\Documents and
> Settings\\fuhrtat\\.maven\\cache\\maven-jetspeed2-plugin-2.0-M4-SNAPSHOT\\plugin.jelly
> Element... torque-sql
> Line...... 658
> Column.... 37
> org.apache.torque.engine.EngineException: java.net.ConnectException:
> Connection timed out: connect
> Total time: 42 seconds
> ---snip---
Strange error.

Note: you don\'t have the latest version of of the plugin installed as the
torque-sql element is on line 712 of the most recent plugin.jelly.
You might want to run an svn update on your local jetspeed-2 source tree
(and don\'t forget to run maven initMavenPlugin after that).
But even then, I don\'t see why torque-sql should throw a ConnectException.
Please try again with maven -X j2:portal.genapp and check the stack trace
it will report.


>
> Please help me
> Tatiana
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org