cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <ilgro...@apache.org>
Subject Re: How to build cocoon 2.2 from source for debugging
Date Tue, 10 Jul 2012 14:48:02 GMT
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ò 
> <ilgrosso@apache.org <mailto:ilgrosso@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"
>>     <joelmcconaughy@gmail.com <mailto:joelmcconaughy@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.Reyes@tigo.com.co <mailto:Rafael.Reyes@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/


Mime
View raw message