Re: Template block in ibiblio maven repository
Carsten Ziegeler wrote: Giacomo Pati wrote: No!?! I probably missed something. Most blocks add their component configs to the cocoon.roles files during build. As you originally build Cocoon without the template block, these configs are now missing in the cocoon.jar. So all you have to do is rebuild Cocoon with the template block enabled and upload that jar. (This clearly shows that this way of configuration is a problem which we gladly solved in 2.2). Looks like the jar still hasn't been updated. Hate to be a nag but it would really help me out to have the new one uploaded. Also, is there a way to get the cocoon-serializers-charsets.jar into the repository? The serializers block requires it and currently I have to install it into the local repository manually. Thanks much --Jason
Re: Template block in ibiblio maven repository
It would be nice to put this on the wiki. Better yet, why not also check the plugin into Cocoon in BRANCH_2_1_X? Giacomo Pati wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 24 May 2006, Gavin Carothers wrote: Date: Wed, 24 May 2006 10:49:33 -0400 From: Gavin Carothers <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Template block in ibiblio maven repository I'm sure I'm not the only one who would love to see what a maven build for 2.1.X looks like. If you have the time any chance of a either a copy of the pom or a short article on how this was done? I know the 2.2 tree is built around maven and is fully mavenized but even a half mavenized solution for 2.1.X would be a great solution for those of us who would like to use maven with cocoon but need the stability of the 2.1.X branch in order to deploy applications. For those interested in getting a quick starter with building Cocoon 2.1.X apps with Maven 1 we do have a maven plugin for it (Credits: developed together with peoples at Luminas, Jeremy Quinn and Andrew Savory). It comes with no documentation at all only the code and comments in there which should give you a clue on how to setup an cocoon app Maven 1 project. Extend your maven.repo.remote property with http://project.otego.com/maven and do a maven plugin:download -DgroupId=maven \ -DartifactId=maven-cocoon-plugin \ -Dversion=1.0.13 Afterwards you'll be able to browse the plugin under $HOME/.maven/cache/maven-cocoon-plugin-1.0.13/. Especially have a look at plugin.jelly (or do a 'maven cocoon:usage') as well as plugin.properties. The plugin allows you to create Cocoon apps and build it completely with Maven 1, include customizing a somewhere (property maven.cocoon.home has to point to it) locally installed Cocoon distribution by use of Maven 1 project.properties. It also uses the mount-table.xml file to mount the app for RAD. HTH Giacomo Cheers, Gavin On Apr 29, 2006, at 11:50 PM, Jason Johnston wrote: I'm converting one of my projects to use Maven for its build process. I've set it up to pull down the needed Cocoon JARs from the ibiblio repository at http://www.ibiblio.org/maven2/cocoon/*. It's working great, except I noticed that the template block included in 2.1.9 is not available in that repository. Is that something someone on this list can add to ibiblio? Thanks much --Jason - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEdrv1LNdJvZjjVZARAuM5AJ92KYnJKCzfzJlwGMyIdfJFVAaqswCgrIY9 X8oA9u6cOj86qcBjXSjP+3w= =o6Xt -END PGP SIGNATURE-
Re: Template block in ibiblio maven repository
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 24 May 2006, Gavin Carothers wrote: Date: Wed, 24 May 2006 10:49:33 -0400 From: Gavin Carothers <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Template block in ibiblio maven repository I'm sure I'm not the only one who would love to see what a maven build for 2.1.X looks like. If you have the time any chance of a either a copy of the pom or a short article on how this was done? I know the 2.2 tree is built around maven and is fully mavenized but even a half mavenized solution for 2.1.X would be a great solution for those of us who would like to use maven with cocoon but need the stability of the 2.1.X branch in order to deploy applications. For those interested in getting a quick starter with building Cocoon 2.1.X apps with Maven 1 we do have a maven plugin for it (Credits: developed together with peoples at Luminas, Jeremy Quinn and Andrew Savory). It comes with no documentation at all only the code and comments in there which should give you a clue on how to setup an cocoon app Maven 1 project. Extend your maven.repo.remote property with http://project.otego.com/maven and do a maven plugin:download -DgroupId=maven \ -DartifactId=maven-cocoon-plugin \ -Dversion=1.0.13 Afterwards you'll be able to browse the plugin under $HOME/.maven/cache/maven-cocoon-plugin-1.0.13/. Especially have a look at plugin.jelly (or do a 'maven cocoon:usage') as well as plugin.properties. The plugin allows you to create Cocoon apps and build it completely with Maven 1, include customizing a somewhere (property maven.cocoon.home has to point to it) locally installed Cocoon distribution by use of Maven 1 project.properties. It also uses the mount-table.xml file to mount the app for RAD. HTH Giacomo Cheers, Gavin On Apr 29, 2006, at 11:50 PM, Jason Johnston wrote: I'm converting one of my projects to use Maven for its build process. I've set it up to pull down the needed Cocoon JARs from the ibiblio repository at http://www.ibiblio.org/maven2/cocoon/*. It's working great, except I noticed that the template block included in 2.1.9 is not available in that repository. Is that something someone on this list can add to ibiblio? Thanks much --Jason - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEdrv1LNdJvZjjVZARAuM5AJ92KYnJKCzfzJlwGMyIdfJFVAaqswCgrIY9 X8oA9u6cOj86qcBjXSjP+3w= =o6Xt -END PGP SIGNATURE-
Re: Template block in ibiblio maven repository
Sure, you can take a look at my POM at http://viewvc.lojjic.net/viewvc.cgi/svn/rdfcms/trunk/pom.xml You can see in the dependencies section it pulls in the cocoon 2.1.9 artifacts I need. Unfortunately those artifacts don't declare their transient dependencies, so I had to go through and figure out what those are and include them all individually; the POMs from cocoon trunk were very helpful for figuring those out. There are still a few dependencies that aren't in the global ibiblio repository (bcel, nekodtd, dojo, cocoon-serializers-charsets) so I keep those jars in svn and have a hackish install-third-party-jars.sh script that manually installs them into the local repository. Hopefully those will be made available in the near future. --Jason On Wed, 2006-05-24 at 10:49 -0400, Gavin Carothers wrote: > I'm sure I'm not the only one who would love to see what a maven > build for 2.1.X looks like. If you have the time any chance of a > either a copy of the pom or a short article on how this was done? I > know the 2.2 tree is built around maven and is fully mavenized but > even a half mavenized solution for 2.1.X would be a great solution > for those of us who would like to use maven with cocoon but need the > stability of the 2.1.X branch in order to deploy applications. > > Cheers, > Gavin > > On Apr 29, 2006, at 11:50 PM, Jason Johnston wrote: > > > I'm converting one of my projects to use Maven for its build process. > > I've set it up to pull down the needed Cocoon JARs from the ibiblio > > repository at http://www.ibiblio.org/maven2/cocoon/*. > > > > It's working great, except I noticed that the template block > > included in > > 2.1.9 is not available in that repository. Is that something > > someone on > > this list can add to ibiblio? > > > > Thanks much > > --Jason >
Re: Template block in ibiblio maven repository
I'm sure I'm not the only one who would love to see what a maven build for 2.1.X looks like. If you have the time any chance of a either a copy of the pom or a short article on how this was done? I know the 2.2 tree is built around maven and is fully mavenized but even a half mavenized solution for 2.1.X would be a great solution for those of us who would like to use maven with cocoon but need the stability of the 2.1.X branch in order to deploy applications. Cheers, Gavin On Apr 29, 2006, at 11:50 PM, Jason Johnston wrote: I'm converting one of my projects to use Maven for its build process. I've set it up to pull down the needed Cocoon JARs from the ibiblio repository at http://www.ibiblio.org/maven2/cocoon/*. It's working great, except I noticed that the template block included in 2.1.9 is not available in that repository. Is that something someone on this list can add to ibiblio? Thanks much --Jason
Re: Template block in ibiblio maven repository
Giacomo Pati wrote: > > No!?! I probably missed something. > Most blocks add their component configs to the cocoon.roles files during build. As you originally build Cocoon without the template block, these configs are now missing in the cocoon.jar. So all you have to do is rebuild Cocoon with the template block enabled and upload that jar. (This clearly shows that this way of configuration is a problem which we gladly solved in 2.2). Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
Re: Template block in ibiblio maven repository
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 16 May 2006, Carsten Ziegeler wrote: Date: Tue, 16 May 2006 21:06:41 +0200 From: Carsten Ziegeler <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Template block in ibiblio maven repository Giacomo Pati wrote: Sorry. I had to sign the jars and forgot to chmod g+w on them after uploading them again. It's fixed now. Thanks. Did you also update the jar with the missing roles from the template block? No!?! I probably missed something. - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEaqnmLNdJvZjjVZARAkXmAKCvdBxpDD6KHHKoF1joxJ0FNNhswQCg3+7p Y+FqwnJsyP9LrLXtOeYTG10= =Z9p2 -END PGP SIGNATURE-
Re: Template block in ibiblio maven repository
Giacomo Pati wrote: > > Sorry. I had to sign the jars and forgot to chmod g+w on them after > uploading them again. It's fixed now. > Thanks. Did you also update the jar with the missing roles from the template block? Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
Re: Template block in ibiblio maven repository
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 15 May 2006, Carsten Ziegeler wrote: Date: Mon, 15 May 2006 16:38:16 +0200 From: Carsten Ziegeler <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Template block in ibiblio maven repository Jason Johnston wrote: I've noticed one more thing: It appears the main cocoon-2.1.9.jar needs to be re-uploaded, since it contains cocoon.roles which has some entries added by the previously-missing template block. The existing cocoon-2.1.9.jar does not have those entries so the template block doesn't work. Ah, you're right - Giacomo has to update this jar as only he has the required permissions to change that file on the server. Sorry. I had to sign the jars and forgot to chmod g+w on them after uploading them again. It's fixed now. Thanks. - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEaZiRLNdJvZjjVZARAki4AJ9U4Fq6iVba+t0nll97JRX9tcAB1gCdEW/D 5+W++0lVYVGWd46QV19/vms= =MAs7 -END PGP SIGNATURE-
Re: Template block in ibiblio maven repository
Jason Johnston wrote: > > I've noticed one more thing: It appears the main cocoon-2.1.9.jar needs > to be re-uploaded, since it contains cocoon.roles which has some entries > added by the previously-missing template block. The existing > cocoon-2.1.9.jar does not have those entries so the template block > doesn't work. > Ah, you're right - Giacomo has to update this jar as only he has the required permissions to change that file on the server. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
Re: Template block in ibiblio maven repository
Carsten Ziegeler wrote: They are synced with our java-repository on our server (www.apache.org/dist/java-repository/cocoon). The jars need to be signed and uploaded with signature and hash into the directories. It seems that Giacomo already uploaded most of the jars. >> Yup. I did. >> >> "Most of the jars"? >> > :) "Most of the jars" = "all jars from the standard build" > > I just uploaded the three optional ones - they should be available from > a maven repository in the next hours. Thanks Carsten! I've noticed one more thing: It appears the main cocoon-2.1.9.jar needs to be re-uploaded, since it contains cocoon.roles which has some entries added by the previously-missing template block. The existing cocoon-2.1.9.jar does not have those entries so the template block doesn't work. Thanks --Jason
Re: Template block in ibiblio maven repository
Giacomo Pati schrieb: > On Sun, 30 Apr 2006, Carsten Ziegeler wrote: > >>> Date: Sun, 30 Apr 2006 14:31:24 +0200 >>> From: Carsten Ziegeler <[EMAIL PROTECTED]> >>> Reply-To: dev@cocoon.apache.org >>> To: dev@cocoon.apache.org >>> Subject: Re: Template block in ibiblio maven repository >>> >>> Jorg Heymans wrote: >>>> Jason Johnston wrote: >>>>> I'm converting one of my projects to use Maven for its build process. >>>>> I've set it up to pull down the needed Cocoon JARs from the ibiblio >>>>> repository at http://www.ibiblio.org/maven2/cocoon/*. >>>> I had no idea our 2.1.x blocks were being uploaded to maven central. >>>> >>>>> It's working great, except I noticed that the template block included in >>>>> 2.1.9 is not available in that repository. Is that something someone on >>>>> this list can add to ibiblio? >>>> I can take care of this if someone can tell me how these jars get there >>>> in the first place :) >>>> >>> They are synced with our java-repository on our server >>> (www.apache.org/dist/java-repository/cocoon). >>> The jars need to be signed and uploaded with signature and hash into the >>> directories. It seems that Giacomo already uploaded most of the jars. > > Yup. I did. > > "Most of the jars"? > :) "Most of the jars" = "all jars from the standard build" I just uploaded the three optional ones - they should be available from a maven repository in the next hours. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
Re: Template block in ibiblio maven repository
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 30 Apr 2006, Joerg Heinicke wrote: Date: Sun, 30 Apr 2006 16:01:01 +0200 From: Joerg Heinicke <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Template block in ibiblio maven repository Sounds like the new blocks are missing. IRIC both imageop and template block were added in 2.1.9. Must they be listed in some conf? I'm using the tools/bin/create-repository-jars.sh script to produce the jars. If some blocks are not build in a plain standard build, they will not end up on the repository. Giacomo Jörg On 30.04.2006 15:51, Jason Johnston wrote: I checked the whole list of blocks and the imageop block JAR is also missing. Jason Johnston wrote: > I'm converting one of my projects to use Maven for its build process. > I've set it up to pull down the needed Cocoon JARs from the ibiblio > repository at http://www.ibiblio.org/maven2/cocoon/*. > > It's working great, except I noticed that the template block included in > 2.1.9 is not available in that repository. Is that something someone on > this list can add to ibiblio? - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEVw02LNdJvZjjVZARAvIDAJ9MGy3gaaW9FnDJmMqXLLNBhmLmvACg5RaA 8RZNS+AovG6vSV4JDF1jpKM= =Ik5M -END PGP SIGNATURE-
Re: Template block in ibiblio maven repository
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 30 Apr 2006, Carsten Ziegeler wrote: Date: Sun, 30 Apr 2006 14:31:24 +0200 From: Carsten Ziegeler <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Template block in ibiblio maven repository Jorg Heymans wrote: Jason Johnston wrote: I'm converting one of my projects to use Maven for its build process. I've set it up to pull down the needed Cocoon JARs from the ibiblio repository at http://www.ibiblio.org/maven2/cocoon/*. I had no idea our 2.1.x blocks were being uploaded to maven central. It's working great, except I noticed that the template block included in 2.1.9 is not available in that repository. Is that something someone on this list can add to ibiblio? I can take care of this if someone can tell me how these jars get there in the first place :) They are synced with our java-repository on our server (www.apache.org/dist/java-repository/cocoon). The jars need to be signed and uploaded with signature and hash into the directories. It seems that Giacomo already uploaded most of the jars. Yup. I did. "Most of the jars"? - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEVwy0LNdJvZjjVZARAl/iAJ9AwvBEbMsEdWiU7k3U99NNNXq+pgCfbyq6 8+rAjJVDyv0PdmLjPhiBpnQ= =t7Hx -END PGP SIGNATURE-
Re: Template block in ibiblio maven repository
Yes, the default excludes are not available - I'll put up the missing jars today. Carsten Jason Johnston wrote: > It looks like the block.properties shipped with 2.1.9 had the imageop, > jcr, and template blocks excluded by default. That's probably why they > didn't get built. > > Just checked the jcr block on ibiblio and its 2.1.9 jar is indeed > missing as well; I didn't notice it before since its 2.1.8 jar is there. > > > Joerg Heinicke wrote: >> Sounds like the new blocks are missing. IRIC both imageop and template >> block were added in 2.1.9. Must they be listed in some conf? >> >> Jörg >> >> On 30.04.2006 15:51, Jason Johnston wrote: >>> I checked the whole list of blocks and the imageop block JAR is also >>> missing. >>> >>> >>> Jason Johnston wrote: I'm converting one of my projects to use Maven for its build process. I've set it up to pull down the needed Cocoon JARs from the ibiblio repository at http://www.ibiblio.org/maven2/cocoon/*. It's working great, except I noticed that the template block included in 2.1.9 is not available in that repository. Is that something someone on this list can add to ibiblio? > > -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
Re: Template block in ibiblio maven repository
It looks like the block.properties shipped with 2.1.9 had the imageop, jcr, and template blocks excluded by default. That's probably why they didn't get built. Just checked the jcr block on ibiblio and its 2.1.9 jar is indeed missing as well; I didn't notice it before since its 2.1.8 jar is there. Joerg Heinicke wrote: > Sounds like the new blocks are missing. IRIC both imageop and template > block were added in 2.1.9. Must they be listed in some conf? > > Jörg > > On 30.04.2006 15:51, Jason Johnston wrote: >> I checked the whole list of blocks and the imageop block JAR is also >> missing. >> >> >> Jason Johnston wrote: >>> I'm converting one of my projects to use Maven for its build process. >>> I've set it up to pull down the needed Cocoon JARs from the ibiblio >>> repository at http://www.ibiblio.org/maven2/cocoon/*. >>> >>> It's working great, except I noticed that the template block included in >>> 2.1.9 is not available in that repository. Is that something someone on >>> this list can add to ibiblio?
Re: Template block in ibiblio maven repository
Sounds like the new blocks are missing. IRIC both imageop and template block were added in 2.1.9. Must they be listed in some conf? Jörg On 30.04.2006 15:51, Jason Johnston wrote: I checked the whole list of blocks and the imageop block JAR is also missing. Jason Johnston wrote: I'm converting one of my projects to use Maven for its build process. I've set it up to pull down the needed Cocoon JARs from the ibiblio repository at http://www.ibiblio.org/maven2/cocoon/*. It's working great, except I noticed that the template block included in 2.1.9 is not available in that repository. Is that something someone on this list can add to ibiblio?
Re: Template block in ibiblio maven repository
I checked the whole list of blocks and the imageop block JAR is also missing. Jason Johnston wrote: > I'm converting one of my projects to use Maven for its build process. > I've set it up to pull down the needed Cocoon JARs from the ibiblio > repository at http://www.ibiblio.org/maven2/cocoon/*. > > It's working great, except I noticed that the template block included in > 2.1.9 is not available in that repository. Is that something someone on > this list can add to ibiblio? > > Thanks much > --Jason
Re: Template block in ibiblio maven repository
Jorg Heymans wrote: > Jason Johnston wrote: >> I'm converting one of my projects to use Maven for its build process. >> I've set it up to pull down the needed Cocoon JARs from the ibiblio >> repository at http://www.ibiblio.org/maven2/cocoon/*. > > I had no idea our 2.1.x blocks were being uploaded to maven central. > >> It's working great, except I noticed that the template block included in >> 2.1.9 is not available in that repository. Is that something someone on >> this list can add to ibiblio? > > I can take care of this if someone can tell me how these jars get there > in the first place :) > They are synced with our java-repository on our server (www.apache.org/dist/java-repository/cocoon). The jars need to be signed and uploaded with signature and hash into the directories. It seems that Giacomo already uploaded most of the jars. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
Re: Template block in ibiblio maven repository
Jason Johnston wrote: > I'm converting one of my projects to use Maven for its build process. > I've set it up to pull down the needed Cocoon JARs from the ibiblio > repository at http://www.ibiblio.org/maven2/cocoon/*. I had no idea our 2.1.x blocks were being uploaded to maven central. > It's working great, except I noticed that the template block included in > 2.1.9 is not available in that repository. Is that something someone on > this list can add to ibiblio? I can take care of this if someone can tell me how these jars get there in the first place :) Jorg
Template block in ibiblio maven repository
I'm converting one of my projects to use Maven for its build process. I've set it up to pull down the needed Cocoon JARs from the ibiblio repository at http://www.ibiblio.org/maven2/cocoon/*. It's working great, except I noticed that the template block included in 2.1.9 is not available in that repository. Is that something someone on this list can add to ibiblio? Thanks much --Jason