i'm sorry. simplexml is a bad example, it has no dependencies. When i,
for instance, try to build mmbaseconfig, this is what happens:

++++++++++++++++++++++++++++++++++
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.1

Probeer simplexml-1.1.jar te downloaden.
WAARSCHUWING: Kan simplexml-1.1.jar niet downloaden.
Het bouwen kan niet doorgaan, omdat de volgende afhankelijkheid niet
achterhaald kan worden:

simplexml-1.1.jar (try downloading from
http://mmapps.sourceforge.net/simplexml/index.html)

Total time: 2 seconds
Finished at: Fri Feb 10 11:19:36 CET 2006
++++++++++++++++++++++++++++++++++

(at least if the jar is not yet in the local repository)
I can fix this by copying the global project.properties into the
mmbaseconfig folder (after that the dependancies can be downloaded), but
i was just wondering if this was the right approach.

regards,

Ernst



> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Nico Klasens
> Verzonden: donderdag 9 februari 2006 17:06
> Aan: Discussion list for developers
> Onderwerp: Re: [Developers] mmapps maven question
> 
> 
> Don't understand youe problem. Please post the error message when you 
> don't have the project.properties
> 
> Nico
> 
> PS
> I just did this.
> 
> C:\test>maven scm:checkout-project -Dmaven.scm.method=cvs 
> -Dmaven.scm.cvs.module=simplexml  
> -Dmaven.scm.cvs.root=:pserver:ano 
> [EMAIL PROTECTED]:/cvsroot/mmapps -Dmaven.scm.checkout.dir=.
>   __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> build:start:
> 
> scm:parse-connection:
> 
> scm:validate:
> 
> scm:checkout-project:
> scm:cvs-checkout-project:
>      [echo] Checking out simplexml; from CVSROOT: 
> :pserver:[EMAIL PROTECTED]:/cvsroot/mmapps
>      [mkdir] Created dir: C:\test\simplexml
>      [cvs] U simplexml/.cvsignore
>      [cvs] U simplexml/LICENSE.txt
>      [cvs] U simplexml/project.xml
>      [cvs] U simplexml/src/simplexml/XMLElement.java
>      [cvs] U simplexml/src/simplexml/XMLParseException.java
>      [cvs] U simplexml/src/simplexml/XMLUtil.java
>      [cvs] U simplexml/xdocs/navigation.xml
>      [cvs] U mmapps-base/checkstyle-mmapps.xml
>      [cvs] U mmapps-base/example_build.properties
>      [cvs] U mmapps-base/maven.xml
>      [cvs] U mmapps-base/mmapps-project.xml
>      [cvs] U mmapps-base/project.properties
> BUILD SUCCESSFUL
> Total time: 18 seconds
> Finished at: Thu Feb 09 16:51:56 CET 2006
> 
> C:\test>cd simplexml
> 
> C:\test\simplexml>maven jar
>   __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> build:start:
> 
> .........
> 
> 
> jar:jar:
>      [jar] Building jar: C:\test\simplexml\target\simplexml-1.1.jar
> BUILD SUCCESSFUL
> Total time: 7 seconds
> Finished at: Thu Feb 09 16:52:18 CET 2006
> 
> 
> 
> Ernst Bunders wrote:
> > hello
> > 
> > I figured this out a while ago, but i forgot again.
> > 
> > 1 i got maven working
> > 2 i got an mmapps dir with mmapps-project.xml and 
> project.properties 3 
> > i download the mmapps module of chose by :
> > 
> > maven scm:checkout-project
> >             -Dmaven.scm.method=cvs
> >             -Dmaven.scm.cvs.module=simplexml
> >  
> > 
> -Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/cvsroot/m
> > ma
> > pps
> >             -Dmaven.scm.checkout.dir=.
> > 
> > in the mmapps dir
> > 
> > question:
> > I can build my app and do all the tasks if i first copy 
> > project.properties to the simplexml dir. I don't think this 
> is how it 
> > is supposed to go.
> > 
> > How should  i use the build in stead (and why is it not on the 
> > website)?
> > 
> > many thanks.
> > 
> > Ernst
> > 
> > 
> > 
> > -----------
> > Ernst Bunders
> > Ontwikkelaar nieuwe media Vara
> > tel: 035 6711653 _______________________________________________
> > Developers mailing list
> > [email protected]
> > http://lists.mmbase.org/mailman/listinfo/developers
> > 
> > 
> > 
> 
> 
> _______________________________________________
> Developers mailing list
> [email protected] 
> http://lists.mmbase.org/mailman/listinfo/developers
> 
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to