Error reading archetype catalog http://cocoon.apache.org

2008-09-02 Thread lswa
Hello! I can't execute "Your first Cocoon application using Maven 2". Error occur during execution: mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org Stacktrace bellow: D:\MySolutions\java\cocoon>mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org [INFO] Scanning f

Re: C22 - Maven artifact missing

2008-09-02 Thread David Legg
Yosauron, I can confirm that on my windows XP system I updated my copy of the Cocoontrunk to revision 691183 (the latest version) and then ran: mvn install -P allblocks 23 minutes and 21 seconds later it had built everything with no failures. I've followed these step: % rm -R ~/.m2

Re: C22 - Maven artifact missing

2008-09-02 Thread David Legg
Tak, Cocoon is a big project. Not all people need all features. For the newbies, we can always go back to the old tag that we know, and use that version. Could that be a solution? That's not the issue. One of the reasons for making Cocoon 2.2 the way it is is to allow people to only add

Re: C22 - Maven artifact missing

2008-09-02 Thread Tak-po Li
Could we have tags in subvision? The company I work for still use CVS as version control. We put tags in CVS during development. Cocoon is a big project. Not all people need all features. For the newbies, we can always go back to the old tag that we know, and use that version. Could that be a

Re: C22 - Maven artifact missing

2008-09-02 Thread David Legg
Hi Martin, I think that the subversion checkout works well, but maven is the problem. I think your right. Tak, probably avoided problems with svn because he was using https protocol which might have been allowed by the proxy. Maybe you should try the following: Correctly configure maven

Re: cforms

2008-09-02 Thread Tak-po Li
Thanks, Martin and Andre, I reset my XP and rerun "mvn jetty:run". Same error happens, then I switch to known block (myBlock1) that I built previously and run "mvn jetty:run". MyBlock1 works. It seems the problem is not in Jetty run time. Thanks, Tak On 9/2/08, Andre Juffer <[EMAIL PROTEC

Re: cforms

2008-09-02 Thread Andre Juffer
Tak-po Li wrote: I followed the Cform instruction. All steps are OK until "mvn jetty:run". I got Build Error "Address already in use: bind". Could any one help? This probably means that you already running a mvn process with goal jetty:run. How can I clear up files build by Maven to

Re: cforms

2008-09-02 Thread Martin Heiden
Hi! Tak-po Li schrieb: I followed the Cform instruction. All steps are OK until "mvn jetty:run". I got Build Error "Address already in use: bind". Could any one help? Stop the jetty instance which is listening on Port before you start another ;-) cheers Martin -

Re: cforms

2008-09-02 Thread Tak-po Li
I followed the Cform instruction. All steps are OK until "mvn jetty:run". I got Build Error "Address already in use: bind". Could any one help? How can I clear up files build by Maven to start a fresh new build? Thanks, Tak On 8/31/08, David Legg <[EMAIL PROTECTED]> wrote: > > Hi Tak, > >

Re: C22 - Maven artifact missing

2008-09-02 Thread Martin Heiden
Hi! David Legg schrieb: I'm behind a proxy, could be this the source of the problem Is this new info that you omitted to tell us?!!! ;-) I'm not a subversion expert and I'm not personally behind a proxy here but I did notice that you have to make some adjustments if you are behind a proxy

Not Required CalculatedField in CForms

2008-09-02 Thread Victor Vera
I'm working in a forms application, with some calculated fields. The problem is, when i put a calculated field with "not required" dependents fields, i get an exception because the expression search for the value of the second argument in the expression and this is not yet loaded. For example:

Re: C22 - Maven artifact missing

2008-09-02 Thread David Legg
I'm behind a proxy, could be this the source of the problem Is this new info that you omitted to tell us?!!! ;-) I'm not a subversion expert and I'm not personally behind a proxy here but I did notice that you have to make some adjustments if you are behind a proxy. See here [1] for more i

Re: C22 - Maven artifact missing

2008-09-02 Thread yosauron
> > David Legg wrote: >> >> Hi Yosauron, >> >>> I've updated to rev. 690861 and I've still gotten the same tests errors. >>> Could anyone help me? >>> Which revision do i have to download to compile cocoon successfully? >>> >> >> I can confirm that on my windows XP system I updated my cop

Re: C22 - Maven artifact missing

2008-09-02 Thread David Legg
Hi Yosauron, I've updated to rev. 690861 and I've still gotten the same tests errors. Could anyone help me? Which revision do i have to download to compile cocoon successfully? I can confirm that on my windows XP system I updated my copy of the Cocoontrunk to revision 691183 (the latest ve

Text generator in cocoon 2.2

2008-09-02 Thread Carlos Tejo Alonso
Hello, Somebody know a generator that only read a plain text file and produce a valid XML file? I found TextGenerator (org.apache.cocoon.generation.TextGenerator) in Cocoon 2.1 but not in Cocoon 2.2 Regards, Carlos Tejo Alonso R&D and Innovation Department CTIC Foundation [Asturias, Spain] www.

Re: C22 - Maven artifact missing

2008-09-02 Thread yosauron
> > Martin Heiden wrote: >> >> yosauron schrieb: >>> I've tried to compile without using tests. I've used this sentence: >>> %./build.sh -Dmave.test.skip=true install >>> >> >> There's a typo in your command: >> >> It should be: >> mvn -Dmaven.test.skip=true install >> >> See >> >> http:/