portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Assigned: (JS2-638) Error while running jetspeed seed scripts when using a path containing spaces
Date Mon, 15 Jan 2007 19:24:27 GMT

     [ https://issues.apache.org/jira/browse/JS2-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Sean Taylor reassigned JS2-638:
-------------------------------------

    Assignee: David Sean Taylor

> Error while running jetspeed seed scripts when using a path containing spaces
> -----------------------------------------------------------------------------
>
>                 Key: JS2-638
>                 URL: https://issues.apache.org/jira/browse/JS2-638
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1-dev
>         Environment: Windows XP
>            Reporter: Nicolas Dutertry
>         Assigned To: David Sean Taylor
>
> When I use the maven goal "j2:db.entities" I get the following error :
> [echo] running _db.seed with data: D:/DEV/7.x/HR Projects/HR Portal/target/portal-sql/
 arguments: -b target/portal-sql/assembly/boot/ -c target/portal-sql/assembly/  database-url:
jdbc:mysql://localhost/hrportal
> [java] Exception in thread "main" java.lang.IllegalArgumentException: Unknown argument:
Projects
> [java] 	at org.apache.jetspeed.serializer.JetspeedSerializerApplication.main(JetspeedSerializerApplication.java:163)
> [java] [ERROR] Java Result: 1
> That's because the path I use contains spaces.
> To correct this issue, I think you can edit the file maven-plugin/plugin.jelly and replace
:
> <arg line="-I ${DATAFILE} -b ${temp.assembly.dir}/boot/ -c ${temp.assembly.dir}/ -dc
${org.apache.jetspeed.database.driver} -ds ${org.apache.jetspeed.database.url} -du ${org.apache.jetspeed.database.user}
-dp ${org.apache.jetspeed.database.password}"/>
> with : 
> <arg line="-I &quot;${DATAFILE}&quot; -b ${temp.assembly.dir}/boot/ -c ${temp.assembly.dir}/
-dc ${org.apache.jetspeed.database.driver} -ds ${org.apache.jetspeed.database.url} -du ${org.apache.jetspeed.database.user}
-dp ${org.apache.jetspeed.database.password}"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message