You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by paksegu <pa...@yahoo.com> on 2007/09/29 23:55:26 UTC

DIR was unexpected at this thime

Hi, how do I go about this (DIR was unexpected at this time)
   
  After running this on windows xp?
   
   
   for DIR in commons-io commons-fileupload commons-collections commons-beanutils commons-codec \
   jsp-api commons-el cglib ; \
   do cd ${DIR} mvn package org.apache.sling:maven-sling-plugin:2.0.0-incubator-SNAPSHOT:install ; cd .. ; done

   


Ransford Segu-Baffoe

paksegu@yahoo.com

https://serenade.dev.java.net/
http://www.noqturnalmediasystems.com/
       
---------------------------------
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

Re: DIR was unexpected at this thime

Posted by Felix Meschberger <fm...@gmail.com>.
Am Samstag, den 29.09.2007, 14:55 -0700 schrieb paksegu:
> Hi, how do I go about this (DIR was unexpected at this time)
>    
>   After running this on windows xp?
>    
>    
>    for DIR in commons-io commons-fileupload commons-collections commons-beanutils commons-codec \
>    jsp-api commons-el cglib ; \
>    do cd ${DIR} mvn package org.apache.sling:maven-sling-plugin:2.0.0-incubator-SNAPSHOT:install ; cd .. ; done

Well Windows shell scripting is really something completely strange and
weird .... Anyway, you might have success with some like this:

        for %d in (commons-io commons-fileupload commons-collections commons-beanutils commons-codec) do ( cd %d & mvn clean & cd .. )
        
Note that the loop variable must be a single character and the '&' is used to separate the commands.

Regards
Felix