You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "David Sean Taylor (JIRA)" <je...@portals.apache.org> on 2007/01/15 20:30:27 UTC

[jira] Resolved: (JS2-638) Error while running jetspeed seed scripts when using a path containing spaces

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

David Sean Taylor resolved JS2-638.
-----------------------------------

    Resolution: Fixed

patch applied

> 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