Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-23 Thread Francesco Chicchiriccò
On 23/03/2012 16:31, Lars Huttar wrote: > On 3/23/2012 7:33 AM, Francesco Chicchiriccò wrote: >> On 22/03/2012 17:03, Lars Huttar wrote: >>> As so often happens, asking for help generated some further thoughts >>> and I was able to get things working better. >>> >>> Although I had added a COB-INF/s

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-23 Thread Lars Huttar
On 3/23/2012 7:33 AM, Francesco Chicchiriccò wrote: On 22/03/2012 17:03, Lars Huttar wrote: As so often happens, asking for help generated some further thoughts and I was able to get things working better. Although I had added a COB-INF/sitemap.xmap to src in my block (e-17-pub/src/main/resou

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-23 Thread Francesco Chicchiriccò
On 22/03/2012 17:03, Lars Huttar wrote: > As so often happens, asking for help generated some further thoughts > and I was able to get things working better. > > Although I had added a COB-INF/sitemap.xmap to src in my block > (e-17-pub/src/main/resources/COB-INF/sitemap.xmap), I noticed that the >

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
sers@cocoon.apache.org *Cc:* Francesco Chicchiriccò *Subject:* Re: [C3] Working with archetypes [Was Re: parent of parent artifact?] Francesco, Thanks for your patience. I feel like I'm very close, but I apparently still don't have some of the concept understood correctly, because

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
On 3/22/2012 11:09 AM, Robby Pelssers wrote: In the root of your project folder you will see a rcl.properties file looking sth like this: #com.nxp.spider2.shared.service%classes-dir=./target/classes Just comment it out and this will tell the reloading classloader to reload files from the ta

RE: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Robby Pelssers
[mailto:lars_hut...@sil.org] Sent: Thursday, March 22, 2012 5:04 PM To: users@cocoon.apache.org Cc: Francesco Chicchiriccò Subject: Re: [C3] Working with archetypes [Was Re: parent of parent artifact?] As so often happens, asking for help generated some further thoughts and I was able to get things

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
As so often happens, asking for help generated some further thoughts and I was able to get things working better. Although I had added a COB-INF/sitemap.xmap to src in my block (e-17-pub/src/main/resources/COB-INF/sitemap.xmap), I noticed that the target (e-17-pub/target/classes) did not have

RE: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Robby Pelssers
Chicchiriccò Subject: Re: [C3] Working with archetypes [Was Re: parent of parent artifact?] Francesco, Thanks for your patience. I feel like I'm very close, but I apparently still don't have some of the concept understood correctly, because things are not working for me. I gen

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
Francesco, Thanks for your patience. I feel like I'm very close, but I apparently still don't have some of the concept understood correctly, because things are not working for me. I generated the myparent, mysite, and mywebapp artifacts as described in your instructions at http://markmail.org

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Francesco Chicchiriccò
On 21/03/2012 21:09, Lars Huttar wrote: > [...] > Thank you, that is definitely clearer. > So I do my development in blocks, not in the webapp; the webapp is for > packaging for external deployment. > > The one thing I'm not clear on, then, is this part of your > instructions: (http://markmail.org/

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
Hi Robby, We have about 12-14 production intranet web "apps" (as we call them -- not in the maven or C3 sense of "webapp"), which are all running under a single instance of Cocoon 2.1.11 under Tomcat 7. Most of them access a SQL Server database on the back end; some also access a remote Oracle

RE: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Robby Pelssers
rchetypes [Was Re: parent of parent artifact?] On 3/21/2012 4:03 AM, Robby Pelssers wrote: Hi Lars, Can you explain what is the difference between mysite and mywebapp? OK, I think I understand now. From Francesco's email today [1], I understand that mysite (a Cocoon block) is where I do act

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
On 3/21/2012 5:27 AM, Francesco Chicchiriccò wrote: On 20/03/2012 22:55, Lars Huttar wrote: On 3/20/2012 4:35 PM, Lars Huttar wrote: On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3 web application You need to generate a multimodule maven project [2]

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
On 3/21/2012 4:03 AM, Robby Pelssers wrote: Hi Lars, Can you explain what is the difference between mysite and mywebapp? OK, I think I understand now. From Francesco's email today [1], I understand that mysite (a Cocoon block) is where I do actual development -- such blocks are where the a

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
On 3/21/2012 4:03 AM, Robby Pelssers wrote: Hi Lars, Hi, thanks for responding, and sharing details about your setup. Can you explain what is the difference between mysite and mywebapp? No, that's really something I need explained to me... I was following Francesco's directions in this

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Francesco Chicchiriccò
On 20/03/2012 22:55, Lars Huttar wrote: On 3/20/2012 4:35 PM, Lars Huttar wrote: On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3 web application You need to generate a multimodule maven project [2] with the following structure: myparent/ mysit

RE: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Robby Pelssers
esday, March 20, 2012 10:56 PM To: users@cocoon.apache.org Cc: Francesco Chicchiriccò Subject: Re: [C3] Working with archetypes [Was Re: parent of parent artifact?] On 3/20/2012 4:35 PM, Lars Huttar wrote: On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-20 Thread Lars Huttar
On 3/20/2012 4:35 PM, Lars Huttar wrote: On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3 web application You need to generate a multimodule maven project [2] with the following structure: myparent/ mysite/ mywebapp/ Basically, you will nee

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-20 Thread Lars Huttar
On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3 web application You need to generate a multimodule maven project [2] with the following structure: myparent/ mysite/ mywebapp/ Basically, you will need this when either having multiple blocks

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Lars Huttar
On 3/16/2012 11:53 AM, Francesco Chicchiriccò wrote: On 16/03/2012 17:49, Lars Huttar wrote: Francesco, after following the updated instructions (including starting over from scratch), I'm still getting an error... Lars, my bad: take my last e-mail and change mvn clean package with mvn clea

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Francesco Chicchiriccò
On 16/03/2012 18:03, Lars Huttar wrote: [...] I just started again from scratch, adding -U to each of the mvn commands to force update. But had a similar error: [...] [ERROR] Failed to execute goal on project theWebapp: Could not resolve dependenc ies for project org.sil:theWebapp:war:1.0-SNA

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Lars Huttar
On 3/16/2012 11:49 AM, Lars Huttar wrote: Francesco, after following the updated instructions (including starting over from scratch), I'm still getting an error... C:\Users\HuttarL\Documents\work\c3\theParent\theWebapp>mvn jetty:run ... [ERROR] Failed to execute goal on project theWebapp: Coul

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Lars Huttar
On 3/16/2012 4:01 AM, Francesco Chicchiriccò wrote: Lars, you are right: first of all, yesterday I've fixed some minor errors on C3 archetypes; moreover, there are some errors in the instructions C reported below. Basically, once you've generated all projects and indicated below, you have t

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Francesco Chicchiriccò
On 15/03/2012 23:08, Lars Huttar wrote: Francesco, I've been following your instructions below, starting from C). It all seems to work well, but when I get down to "mvn jetty:run", I get the following error: [ERROR] Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.1.26:run ( defa

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-15 Thread Lars Huttar
Francesco, I've been following your instructions below, starting from C). It all seems to work well, but when I get down to "mvn jetty:run", I get the following error: [ERROR] Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.1.26:run ( default-cli) on project theWebapp: Webapp sou

Re: parent of parent artifact?

2012-03-10 Thread Jos Snellings
eases . false mycompany-snapshots . Robby -Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: Saturday, March 10, 2012 3:13 PM To: users@cocoon.apache.org Subject: Re: pare

RE: parent of parent artifact?

2012-03-10 Thread Robby Pelssers
lings [mailto:jos.snelli...@pandora.be] Sent: Saturday, March 10, 2012 3:13 PM To: users@cocoon.apache.org Subject: Re: parent of parent artifact? Thanks for sharing this, Thorsten. How do your poms then all fit together? Via a parent pom? I have to draw up an architecture for a similar project: XML conte

Re: parent of parent artifact?

2012-03-10 Thread Jos Snellings
Thanks for sharing this, Thorsten. How do your poms then all fit together? Via a parent pom? I have to draw up an architecture for a similar project: XML content is addressable via web services. (not necessarily cocoon). Cheers, Jos On 03/10/2012 01:27 AM, Thorsten Scherler wrote: major dep

Re: parent of parent artifact?

2012-03-09 Thread Thorsten Scherler
On 03/09/2012 10:47 PM, Lars Huttar wrote: Thorsten, Thanks for this helpful reply. One follow-up question below... On 3/8/2012 3:32 PM, Thorsten Scherler wrote: On 03/08/2012 10:09 PM, Lars Huttar wrote: Thanks, that's very helpful! We have a lot of what we call "applications" that run si

Re: parent of parent artifact?

2012-03-09 Thread Lars Huttar
Thorsten, Thanks for this helpful reply. One follow-up question below... On 3/8/2012 3:32 PM, Thorsten Scherler wrote: On 03/08/2012 10:09 PM, Lars Huttar wrote: Thanks, that's very helpful! We have a lot of what we call "applications" that run side-by-side under a single Cocoon 2 instance

Re: parent of parent artifact?

2012-03-08 Thread Thorsten Scherler
On 03/08/2012 10:09 PM, Lars Huttar wrote: Thanks, that's very helpful! We have a lot of what we call "applications" that run side-by-side under a single Cocoon 2 instance. They each live under a separate subfolder (child of "mount/") under the main Cocoon sitemap. Each "application" has its

RE: parent of parent artifact?

2012-03-08 Thread Robby Pelssers
Original Message- From: Lars Huttar [mailto:lars_hut...@sil.org] Sent: Thursday, March 08, 2012 10:10 PM To: users@cocoon.apache.org Cc: Robby Pelssers Subject: Re: parent of parent artifact? Thanks, that's very helpful! We have a lot of what we call "applications" that run si

Re: parent of parent artifact?

2012-03-08 Thread Lars Huttar
Thanks, that's very helpful! We have a lot of what we call "applications" that run side-by-side under a single Cocoon 2 instance. They each live under a separate subfolder (child of "mount/") under the main Cocoon sitemap. Each "application" has its own sitemap. It sounds like these "applicat

RE: parent of parent artifact?

2012-03-08 Thread Robby Pelssers
Pelssers Subject: Re: parent of parent artifact? Thanks for this... I see that relative to the instructions I've been following, it eliminates creating a samples block, and optionally a parent block. It also makes clearer that the Cocoon block and webapp I create do not need to (should not) g

Re: parent of parent artifact?

2012-03-08 Thread Lars Huttar
Thanks for this... I see that relative to the instructions I've been following, it eliminates creating a samples block, and optionally a parent block. It also makes clearer that the Cocoon block and webapp I create do not need to (should not) go in the same tree as the archetypes I installed,

RE: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-08 Thread Robby Pelssers
Sent: Thursday, March 08, 2012 4:24 PM To: users@cocoon.apache.org Cc: Francesco Chicchiriccò; Robby Pelssers Subject: Re: [C3] Working with archetypes [Was Re: parent of parent artifact?] Thank you both, Francesco and Robby. I will be looking through these two sets of instructions (hopefully no

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-08 Thread Lars Huttar
Thank you both, Francesco and Robby. I will be looking through these two sets of instructions (hopefully not too contradictory! :-) and will be back with questions I'm sure. The attention to helping users is much appreciated! Lars -

[C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-08 Thread Francesco Chicchiriccò
Hi all, taking inspiration from Robby's e-mail, I spent some time trying to figure out how to make [1] working with latest version (3.0.0-beta-1-SNAPSHOT). I've also made some fixes, committed and deployed, so now everything should be working. You don't need to checkout C3 sources, since latest ver

RE: parent of parent artifact?

2012-03-08 Thread Robby Pelssers
Notes Cocoon 3 quick start guide: Check out latest sources from trunk. In my case i checked them trunk out to c:/development/workspaces/cocoon3/trunk Next change directory into that folder and run mvn install: nxp10009@NXL01262 /c/development/workspaces/coc

Re: parent of parent artifact?

2012-03-07 Thread Lars Huttar
That would be very helpful. I will eagerly await it. Lars On 3/7/2012 11:08 AM, Robby Pelssers wrote: If I have some time tomorrow I will update trunk here as well and try to setup simple C3 project while documenting exactly how I did it. Robby ---

RE: parent of parent artifact?

2012-03-07 Thread Robby Pelssers
: Robby Pelssers Subject: Re: parent of parent artifact? Robby, You're right, there is a parent folder after all. Sorry. So I wonder what the error means, and how to fix it? Yes, I checked out from http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk r1171608 That's last September. Mayb

Re: parent of parent artifact?

2012-03-07 Thread Lars Huttar
: Lars Huttar [mailto:lars_hut...@sil.org] Sent: Wednesday, March 07, 2012 5:04 PM To: users@cocoon.apache.org Subject: parent of parent artifact? Hi all, Again, I'm following the directions at http://cocoon.apache.org/3.0/download.html to create a new Cocoon 3 web application. I've created a

RE: parent of parent artifact?

2012-03-07 Thread Robby Pelssers
erate some kind of stub webapp project using maven. What did you checkout from SVN in the first place? Complete trunk? Robby -Original Message- From: Lars Huttar [mailto:lars_hut...@sil.org] Sent: Wednesday, March 07, 2012 5:04 PM To: users@cocoon.apache.org Subject: parent of paren

parent of parent artifact?

2012-03-07 Thread Lars Huttar
Hi all, Again, I'm following the directions at http://cocoon.apache.org/3.0/download.html to create a new Cocoon 3 web application. I've created a Cocoon block for samples, an empty block, an empty Java web app project (which depends on the cocoon block), and a parent module. Next, I "cd" to