Re: How to build cocoon 2.2 from source for debugging
Hi Joel, i had the same troubles as well, asked about it in the mailing as well, nothing changed apparently. It looks like a mess, which is strange. I got everything working in the end, but the easiest is to just add dependencies and don't try to compile everything yourself. If you must you must, but I recommend against it. I hope you'll get away with not debugging the Cocoon source code. Hartelijke groet, Huib. Verstuurd vanaf mijn iPhone Op 9 jul. 2012 om 22:07 heeft Joel McConaughy joelmcconau...@gmail.commailto:joelmcconau...@gmail.com het volgende geschreven: Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though! On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael rafael.re...@tigo.com.comailto:rafael.re...@tigo.com.co wrote: Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache’s server deploying the proyect, clean some parts of the proyect and everything its going to be all right. Alexander R. Este mensaje (incluyendo cualquier anexo) contiene información confidencial que se encuentra protegida por la ley. La información que contiene sólo puede ser utilizada por la persona o la compañía a la cual está dirigido. Si usted no es un receptor autorizado, o por error recibe el mensaje, omita su contenido y elimínelo inmediatamente. Cualquier retención, difusión, distribución y/o copia así como la ejecución de cualquier acción basado en el contenido del mismo, se encuentra estrictamente prohibido, y esta amparado por la ley. -- This message (including any attachments) contains confidential information intented for a specific individual and purpose, and is protected by law. If you are not the intented recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. -- Joel McConaughy 206-300-4732 joelmcconau...@gmail.commailto:joelmcconau...@gmail.com
Re: How to build cocoon 2.2 from source for debugging
Hi, you shouldn't need to build 2.2 artifacts yourself, just use the provided maven dependencies as suggested. Could you please describe your use case in order to understand whether you absolutely need to build the 2.2 source tree? Regards. On 10/07/2012 10:42, Huib Verwey wrote: Hi Joel, i had the same troubles as well, asked about it in the mailing as well, nothing changed apparently. It looks like a mess, which is strange. I got everything working in the end, but the easiest is to just add dependencies and don't try to compile everything yourself. If you must you must, but I recommend against it. I hope you'll get away with not debugging the Cocoon source code. Hartelijke groet, Huib. Verstuurd vanaf mijn iPhone Op 9 jul. 2012 om 22:07 heeft Joel McConaughy joelmcconau...@gmail.com mailto:joelmcconau...@gmail.com het volgende geschreven: Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though! On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael rafael.re...@tigo.com.co mailto:rafael.re...@tigo.com.co wrote: Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache’s server deploying the proyect, clean some parts of the proyect and everything its going to be all right. -- Francesco Chicchiriccò ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member http://people.apache.org/~ilgrosso/
RE: How to build cocoon 2.2 from source for debugging
You can also change the problematic pom’s to point to the correct parent pom.xml parent groupIdorg.apache.cocoon/groupId artifactIdcocoon/artifactId version10-SNAPSHOT/version -- this is currently 6-SNAPSHOT relativePath../parent/relativePath /parent @Francesco, can you confirm this? I guess we should fix this in trunk in that case. Robby [ERROR] The build could not read 7 projects - [Help 1] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-blocks-modules:6-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\blocks\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 24, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-commons-modules:2-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\commons\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 27, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-core-modules:6-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\core\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 25, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-dists-modules:2-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\dists\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 26, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-servlet-service-components:1.1.0-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\core\cocoon-servlet-service\cocoon-se rvlet-service-components\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 24, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-servlet-service-components-sample:1.0.0-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\core\cocoon-servlet-service\co coon-servlet-service-components-sample\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 23, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-project:1 (c:\development\workspaces\cocoon22\trunk\pom.xml) has 1 error [ERROR] Child module c:\development\workspaces\cocoon22\trunk\subprojects\pom.xml of c:\development\workspaces\cocoon22\trunk\pom.xml does not exist [ERROR] From: Francesco Chicchiriccò [mailto:ilgro...@apache.org] Sent: Tuesday, July 10, 2012 10:48 AM To: users@cocoon.apache.org Subject: Re: How to build cocoon 2.2 from source for debugging Hi, you shouldn't need to build 2.2 artifacts yourself, just use the provided maven dependencies as suggested. Could you please describe your use case in order to understand whether you absolutely need to build the 2.2 source tree? Regards. On 10/07/2012 10:42, Huib Verwey wrote: Hi Joel, i had the same troubles as well, asked about it in the mailing as well, nothing changed apparently. It looks like a mess, which is strange. I got everything working in the end, but the easiest is to just add dependencies and don't try to compile everything yourself. If you must you must, but I recommend against it. I hope you'll get away with not debugging the Cocoon source code. Hartelijke groet, Huib. Verstuurd vanaf mijn iPhone Op 9 jul. 2012 om 22:07 heeft Joel McConaughy joelmcconau...@gmail.commailto:joelmcconau...@gmail.com het volgende geschreven: Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though! On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael rafael.re...@tigo.com.comailto:rafael.re...@tigo.com.co wrote: Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache’s server deploying the proyect, clean some parts of the proyect and everything its going to be all right. -- Francesco Chicchiriccò ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member http://people.apache.org/~ilgrosso/
Re: How to build cocoon 2.2 from source for debugging
On 10/07/2012 12:57, Robby Pelssers wrote: You can also change the problematic pom’s to point to the correct parent pom.xml parent groupIdorg.apache.cocoon/groupId artifactIdcocoon/artifactId version10-SNAPSHOT/version àthis is currently 6-SNAPSHOT relativePath../parent/relativePath /parent @Francesco, can you confirm this? I guess we should fix this in trunk in that case. I'd rather point to recently released parent 9: parent groupIdorg.apache.cocoon/groupId artifactIdcocoon/artifactId version9/version relativePath / /parent I might try to see if C2.2 sources can be compiled with few modifications; however, I am not very familiar with C2.2... Regards. [ERROR] The build could not read 7 projects - [Help 1] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-blocks-modules:6-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\blocks\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 24, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-commons-modules:2-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\commons\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 27, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-core-modules:6-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\core\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 25, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-dists-modules:2-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\dists\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 26, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-servlet-service-components:1.1.0-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\core\cocoon-servlet-service\cocoon-se rvlet-service-components\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 24, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-servlet-service-components-sample:1.0.0-SNAPSHOT (C:\development\workspaces\cocoon22\trunk\core\cocoon-servlet-service\co coon-servlet-service-components-sample\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.cocoon:cocoon:pom:6-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 23, co lumn 11 - [Help 2] [ERROR] [ERROR] The project org.apache.cocoon:cocoon-project:1 (c:\development\workspaces\cocoon22\trunk\pom.xml) has 1 error [ERROR] Child module c:\development\workspaces\cocoon22\trunk\subprojects\pom.xml of c:\development\workspaces\cocoon22\trunk\pom.xml does not exist [ERROR] *From:*Francesco Chicchiriccò [mailto:ilgro...@apache.org] *Sent:* Tuesday, July 10, 2012 10:48 AM *To:* users@cocoon.apache.org *Subject:* Re: How to build cocoon 2.2 from source for debugging Hi, you shouldn't need to build 2.2 artifacts yourself, just use the provided maven dependencies as suggested. Could you please describe your use case in order to understand whether you absolutely need to build the 2.2 source tree? Regards. On 10/07/2012 10:42, Huib Verwey wrote: Hi Joel, i had the same troubles as well, asked about it in the mailing as well, nothing changed apparently. It looks like a mess, which is strange. I got everything working in the end, but the easiest is to just add dependencies and don't try to compile everything yourself. If you must you must, but I recommend against it. I hope you'll get away with not debugging the Cocoon source code. Hartelijke groet, Huib. Verstuurd vanaf mijn iPhone Op 9 jul. 2012 om 22:07 heeft Joel McConaughy joelmcconau...@gmail.com mailto:joelmcconau...@gmail.com het volgende geschreven: Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though! On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael rafael.re...@tigo.com.co mailto:rafael.re...@tigo.com.co wrote: Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache’s server deploying the proyect, clean some parts
Re: How to build cocoon 2.2 from source for debugging
Hi Francesco, Thanks for the reply. I am trying to implement a multiple file uploader using input type=file multiple=multiple/ and am not getting an array of PartOnDisk objects but just getting a single PartOnDisk for the last item selected. I have walked through the source and it looks like it should work but doesn't. I would like to compile a debug version of cocoon 2.2 so I can step through the code with a debugger. On Tue, Jul 10, 2012 at 1:47 AM, Francesco Chicchiriccò ilgro...@apache.org wrote: Hi, you shouldn't need to build 2.2 artifacts yourself, just use the provided maven dependencies as suggested. Could you please describe your use case in order to understand whether you absolutely need to build the 2.2 source tree? Regards. On 10/07/2012 10:42, Huib Verwey wrote: Hi Joel, i had the same troubles as well, asked about it in the mailing as well, nothing changed apparently. It looks like a mess, which is strange. I got everything working in the end, but the easiest is to just add dependencies and don't try to compile everything yourself. If you must you must, but I recommend against it. I hope you'll get away with not debugging the Cocoon source code. Hartelijke groet, Huib. Verstuurd vanaf mijn iPhone Op 9 jul. 2012 om 22:07 heeft Joel McConaughy joelmcconau...@gmail.com het volgende geschreven: Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though! On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael rafael.re...@tigo.com.cowrote: Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache’s server deploying the proyect, clean some parts of the proyect and everything its going to be all right. -- Francesco Chicchiriccò ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Memberhttp://people.apache.org/~ilgrosso/ -- Joel McConaughy 206-300-4732 joelmcconau...@gmail.com
Re: How to build cocoon 2.2 from source for debugging
On 10/07/2012 16:13, Joel McConaughy wrote: Hi Francesco, Thanks for the reply. I am trying to implement a multiple file uploader using input type=file multiple=multiple/ and am not getting an array of PartOnDisk objects but just getting a single PartOnDisk for the last item selected. I have walked through the source and it looks like it should work but doesn't. I would like to compile a debug version of cocoon 2.2 so I can step through the code with a debugger. Hi Joel, first of all, I've just committed some fixes that make the build to succeed. Anyway, I still don't think that you'd need to build the source tree in order to debug a running C2.2 webapp: just start your container with debug options (for example http://wiki.apache.org/tomcat/FAQ/Developing#Q1) and attach your IDE to the port specified. I have no much experience with Eclipse, but at least with Netbeans this should be enough. Regards. On Tue, Jul 10, 2012 at 1:47 AM, Francesco Chicchiriccò ilgro...@apache.org mailto:ilgro...@apache.org wrote: Hi, you shouldn't need to build 2.2 artifacts yourself, just use the provided maven dependencies as suggested. Could you please describe your use case in order to understand whether you absolutely need to build the 2.2 source tree? Regards. On 10/07/2012 10:42, Huib Verwey wrote: Hi Joel, i had the same troubles as well, asked about it in the mailing as well, nothing changed apparently. It looks like a mess, which is strange. I got everything working in the end, but the easiest is to just add dependencies and don't try to compile everything yourself. If you must you must, but I recommend against it. I hope you'll get away with not debugging the Cocoon source code. Hartelijke groet, Huib. Verstuurd vanaf mijn iPhone Op 9 jul. 2012 om 22:07 heeft Joel McConaughy joelmcconau...@gmail.com mailto:joelmcconau...@gmail.com het volgende geschreven: Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though! On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael rafael.re...@tigo.com.co mailto:rafael.re...@tigo.com.co wrote: Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache’s server deploying the proyect, clean some parts of the proyect and everything its going to be all right. -- Francesco Chicchiriccò ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member http://people.apache.org/~ilgrosso/
RE: How to build cocoon 2.2 from source for debugging
Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache's server deploying the proyect, clean some parts of the proyect and everything its going to be all right. Alexander R. Este mensaje (incluyendo cualquier anexo) contiene información confidencial que se encuentra protegida por la ley. La información que contiene sólo puede ser utilizada por la persona o la compañía a la cual está dirigido. Si usted no es un receptor autorizado, o por error recibe el mensaje, omita su contenido y elimínelo inmediatamente. Cualquier retención, difusión, distribución y/o copia así como la ejecución de cualquier acción basado en el contenido del mismo, se encuentra estrictamente prohibido, y esta amparado por la ley. -- This message (including any attachments) contains confidential information intented for a specific individual and purpose, and is protected by law. If you are not the intented recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
Re: How to build cocoon 2.2 from source for debugging
Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though! On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael rafael.re...@tigo.com.cowrote: Hi joel, i had the same trouble when i began with cocoon but I recommend that you download the cocoon`s .war proyect, in google you can find this file with the name of cocoon 2.1.6 .war, after, you should to put this in the apache’s server deploying the proyect, clean some parts of the proyect and everything its going to be all right. ** ** Alexander R. ** ** Este mensaje (incluyendo cualquier anexo) contiene información confidencial que se encuentra protegida por la ley. La información que contiene sólo puede ser utilizada por la persona o la compañía a la cual está dirigido. Si usted no es un receptor autorizado, o por error recibe el mensaje, omita su contenido y elimínelo inmediatamente. Cualquier retención, difusión, distribución y/o copia así como la ejecución de cualquier acción basado en el contenido del mismo, se encuentra estrictamente prohibido, y esta amparado por la ley. -- This message (including any attachments) contains confidential information intented for a specific individual and purpose, and is protected by law. If you are not the intented recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. -- Joel McConaughy 206-300-4732 joelmcconau...@gmail.com