Re: [vote] Release Cocoon 2.2-final
You going to the happiest place on earth? Isn't that Carsten's favorite place? Never having been (Disneyland is only 1 hr from here) I can't whether Orlando is much of a culture shock but I somehow doubt it. Try New York, San Francisco or Hollywood for that. Joerg Heinicke wrote: On 02.04.2008 11:36, Reinhard Poetz wrote: I've prepared the artifacts for the release of Cocoon 2.2 final. Find instructions about how you can test in a seperate mail. Report your findings to that thread and use this one for voting only. Thanks! +1 Unfortunately without testing. I planned to do it but haven't made it ... and in few hours I'm leaving for 1 week of American culture shock: Orlando, Florida :) Joerg
Re: [vote] Release Cocoon 2.2-final
On 02.04.2008 11:36, Reinhard Poetz wrote: I've prepared the artifacts for the release of Cocoon 2.2 final. Find instructions about how you can test in a seperate mail. Report your findings to that thread and use this one for voting only. Thanks! +1 Unfortunately without testing. I planned to do it but haven't made it ... and in few hours I'm leaving for 1 week of American culture shock: Orlando, Florida :) Joerg
[hackathon] Anyone coming on Sunday?
Hi guys, I'm wondering if there is anyone coming to Amsterdam on Sunday. I'm going to have a free evening and would love to meet with some to talk/discuss and drink a beer or smoke something. 8-) BTW. It would be great if you could add yourself to this resource: https://svn.apache.org/repos/private/committers/hackathons/2008/ApacheCon_Europe.txt -- Grzegorz Kossakowski
Re: Meeting in Amsterdam
Reinhard Poetz wrote: Seriously, everybody who wants to attend, please add yourself to this list: http://doodle.ch/m5uuc89vidvtqmes Thanks for the votes. So let's meet on Monday, 3pm in the "official" Hackathon room. -- Reinhard PötzManaging Director, {Indoqa} GmbH http://www.indoqa.com/en/people/reinhard.poetz/ Member of the Apache Software Foundation Apache Cocoon Committer, PMC member, PMC Chair[EMAIL PROTECTED] _
[jira] Updated: (COCOON-2192) CachingOutputStream does not cache all contents.
[ https://issues.apache.org/jira/browse/COCOON-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Dolg updated COCOON-2192: Attachment: CachingOutputStream.txt A patch that fixes the problem. > CachingOutputStream does not cache all contents. > > > Key: COCOON-2192 > URL: https://issues.apache.org/jira/browse/COCOON-2192 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core >Affects Versions: 2.2-dev (Current SVN) >Reporter: Steven Dolg > Attachments: CachingOutputStream.txt, CachingOutputStreamTest.txt > > > The method "public void write(byte b[], int off, int len)" does not cache all > relevant bytes to the internal buffer. > The method actually copies all "len" bytes to its internal buffer, but > increments the byte counter only by "len - off". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (COCOON-2192) CachingOutputStream does not cache all contents.
[ https://issues.apache.org/jira/browse/COCOON-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Dolg updated COCOON-2192: Attachment: CachingOutputStreamTest.txt A patch with a unit test that demonstrates the problem. Relative to "core\cocoon-pipeline\cocoon-pipeline-impl". > CachingOutputStream does not cache all contents. > > > Key: COCOON-2192 > URL: https://issues.apache.org/jira/browse/COCOON-2192 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core >Affects Versions: 2.2-dev (Current SVN) >Reporter: Steven Dolg > Attachments: CachingOutputStreamTest.txt > > > The method "public void write(byte b[], int off, int len)" does not cache all > relevant bytes to the internal buffer. > The method actually copies all "len" bytes to its internal buffer, but > increments the byte counter only by "len - off". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (COCOON-2192) CachingOutputStream does not cache all contents.
CachingOutputStream does not cache all contents. Key: COCOON-2192 URL: https://issues.apache.org/jira/browse/COCOON-2192 Project: Cocoon Issue Type: Bug Components: * Cocoon Core Affects Versions: 2.2-dev (Current SVN) Reporter: Steven Dolg The method "public void write(byte b[], int off, int len)" does not cache all relevant bytes to the internal buffer. The method actually copies all "len" bytes to its internal buffer, but increments the byte counter only by "len - off". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [OT] Mac OS X and Java development
Joerg Heinicke wrote: On 03.04.2008 23:33, Jörg Heinicke (JIRA) wrote: With Mac OS X I also have no access to the source code of the JDK. Which makes me wonder again how to do serious Java development with Mac OS X. I know a few of you guys are using Mac OS X. How do you do it? Er... without any problem, and I nothing would make me swith back to Windoze :-) Whenever I start this I get annoyed very fast. The missing Java sources are only the tip of the iceberg. What missing Java sources? They are in /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/src.jar Every tree representation in Eclipse just sucks. What sucks? The missing vertical lines? It means a bit more indentation, but less visual clutter. And my Mighty Mouse's scroll ball does magic to navigate in all directions :-) Keyboard navigation in Mac OS X is completely inconsistent, especially with Java programs. Uh? What is "consistency" besides the usual cut/copy/paste? Note that I don't use anything else than a Mac, so maybe I'm just used to the Mac's own consistency :-) There seems to be no serious SVN command line client (or at least the CollabNet download page is just self-linking at the moment: http://downloads.open.collab.net/binaries.html). Install macports and just run "sudo port install subversion" And so on ... Windows has also bunch of annoying issues but there is at least consistency and usually there is a solution for everything. Do you guys all switch to Linux when it comes to Java development? :) Nh. I'm very happy with my Mac :-) Sylvain -- Sylvain Wallez - http://bluxte.net
Re: [vote] Release Cocoon 2.2-final
On 03.04.2008 15:06, Grzegorz Kossakowski wrote: COCOON BLOCKS - cocoon-template-impl-1.1.0.jar* - cocoon-forms-impl-1.1.0.jar* [*] The 1.0.0 releases are still missing but provided for a version that hasn't been mirgrated to Spring. These artifacts will hopefully follow soon. Any reason for such a weird practice marked with [*]? It's really questionable to release 1.1.0 before 1.0.0... If think you of linearly releases, yes, it is weird. But we have branches, so I don't see a real problem with it. Would be nice if we could release them sometime in the next weeks though. Joerg
[jira] Updated: (COCOON-2063) NekoHTMLTransformer needs to set the default-encoding of the current system to work properly with UTF-8
[ https://issues.apache.org/jira/browse/COCOON-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörg Heinicke updated COCOON-2063: -- Fix version (Component): Parent values: Blocks: HTML(10240). (was: Parent values: Blocks: HTML(10240). Level 1 values: 1.0.0-RC1(10271). ) Fix Version/s: (was: 2.2-dev (Current SVN)) Also had to revert the fix for Cocoon 2.2 since Charset.defaultCharset() is only available on Java 5. > NekoHTMLTransformer needs to set the default-encoding of the current system > to work properly with UTF-8 > --- > > Key: COCOON-2063 > URL: https://issues.apache.org/jira/browse/COCOON-2063 > Project: Cocoon > Issue Type: Bug > Components: Blocks: HTML >Affects Versions: 2.1.11, 2.2 >Reporter: Alexander Klimetschek >Assignee: Jörg Heinicke >Priority: Minor > Attachments: NekoHTMLGenerator_BRANCH2_1_X.patch, > nekohtmltransformer-encoding.patch > > > The NekoHTMLTransformer uses the cyberneko HTMLConfiguration for tidying > html. Unfortunately it does not use the system's current encoding as default, > instead you have to set a property to set your encoding. But this varies from > one OS to another, so the best solution is to set this property automatically > in the NekoHTMLTransformer depending on what Java uses as defaultCharset: > > config.setProperty("http://cyberneko.org/html/properties/default-encoding";, > Charset.defaultCharset().name()); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: 2.2 Docs (was Re: [vote] Release Cocoon 2.2-final)
Andrew Savory wrote: Hi, We should accept this and get 2.2 out the door (honestly, I think delaying it further will lose more users than not having sufficient docs) and then if we can, turn some of the energy of this debate into writing docs. Better yet, let's be diligent in taking questions on the mailing lists and turning them into FAQs/documentation, and improve the docs that way. I agree with Andrew on this part. Delaying 2.2 even more would not be a good signal too our users. Maybe we can arrange some things about documentation at the upcoming ApacheCon? I have not been able to find some descent time the past couple of months to work on Cocoon, but during the ApacheCon i might be able to find some time during sessions. For those that indicate that the documentation needs to be improved before this release, maybe we can setup a list of missing things? -- Kind regards, Jeroen Reijn Hippo Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 www.onehippo.com [EMAIL PROTECTED]
[jira] Closed: (COCOON-2183) "mvn site" fails (missing artifact org.apache.cocoon:cocoon-core:jar:2.2.0-RC3-SNAPSHOT)
[ https://issues.apache.org/jira/browse/COCOON-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Kuckartz closed COCOON-2183. Resolution: Fixed Fix Version/s: (was: 2.2) 2.2-dev (Current SVN) > "mvn site" fails (missing artifact > org.apache.cocoon:cocoon-core:jar:2.2.0-RC3-SNAPSHOT) > > > Key: COCOON-2183 > URL: https://issues.apache.org/jira/browse/COCOON-2183 > Project: Cocoon > Issue Type: Bug > Components: - Build System: Maven, - Documentation >Affects Versions: 2.2 >Reporter: Andreas Kuckartz >Assignee: Reinhard Poetz > Fix For: 2.2-dev (Current SVN) > > > $ mvn site > for revision 641709 results in: > ... > [INFO] snapshot org.apache.cocoon:cocoon-configuration-api:1.0.3-SNAPSHOT: > checking for updates from apache.snapshots > Downloading: > http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-configuration-api/1.0.3-SNAPSHOT/cocoon-configuration-api-1.0.3-SNAPSHOT.jar > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Failed to resolve artifact. > Missing: > -- > 1) org.apache.cocoon:cocoon-configuration-api:jar:1.0.3-SNAPSHOT > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.cocoon > -DartifactId=cocoon-configuration-api -Dversion=1.0.3-SNAPSHOT > -Dpackaging=jar -Dfile=/path/to/file > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.cocoon > -DartifactId=cocoon-configuration-api -Dversion=1.0.3-SNAPSHOT > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > Path to dependency: > 1) org.apache.cocoon:cocoon-spring-configurator:jar:1.0.3-SNAPSHOT > 2) org.apache.cocoon:cocoon-configuration-api:jar:1.0.3-SNAPSHOT > -- > 1 required artifact is missing. > for artifact: > org.apache.cocoon:cocoon-spring-configurator:jar:1.0.3-SNAPSHOT > from the specified remote repositories: > apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), > central (http://repo1.maven.org/maven2) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Disabling JavaPrimitiveWrap in flowscript
Vadim Gritsenko wrote: In FOM_JavaScriptInterpreter, look for Context.enter() calls. These are the places where you can add your initialization: context.getWrapFactory().setJavaPrimitiveWrap(false); Thank you very much, it works like a charm. Would you like me to try and make a patch to make it a configurable option, for example via properties? I'm finding it very useful to write flowscripts when I can assume that all numbers, booleans and especially strings are native javascript objects. I think others might find it useful too. Tobia
Re: [vote] Release Cocoon 2.2-final
Reinhard Poetz wrote: I've prepared the artifacts for the release of Cocoon 2.2 final. See the list of all proposed artifacts below. +1 Jeroen
Re: [test] Instructions to test Cocoon 2.2-final
Andrew Savory wrote: Hi On 02/04/2008, Reinhard Poetz <[EMAIL PROTECTED]> wrote: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0 -DgroupId=com.mycompany -DartifactId=myBlock -DremoteRepositories=http://people.apache.org/builds/cocoon/ works for me Please test the "getting-started" application (http://people.apache.org/~reinhard/cocoon-staging/cocoon-getting-started/) whether it runs at your environment. works for me Andrew. Same here. Both work great! Good to see some sort of getting started app! This will help out users a lot! Regards, Jeroen
Re: [OT] Mac OS X and Java development
Joerg Heinicke schrieb: On 03.04.2008 23:33, Jörg Heinicke (JIRA) wrote: With Mac OS X I also have no access to the source code of the JDK. Which makes me wonder again how to do serious Java development with Mac OS X. I know a few of you guys are using Mac OS X. How do you do it? I switched from Windows to Mac 4 years ago, and the only things I'm missing are Half-Life and Strikeforce :) The time I used to spend on installing ZoneAlarm & Co. is now happily spent on keyboard shortcut configuration in Eclipse. Whenever I start this I get annoyed very fast. The missing Java sources are only the tip of the iceberg. Every tree representation in Eclipse just sucks. The indentation is a bit wide, and the horizontal scrolling is annoying, but maybe that's why Apple has invented the mighty mouse (which I, alas, do not possess) :) Keyboard navigation in Mac OS X is completely inconsistent, especially with Java programs. There seems to be no serious SVN command line client (or at least the CollabNet download page is just self-linking at the moment: http://downloads.open.collab.net/binaries.html). I use the Metissian subversion client, and I didn't notice any problems yet. Speaking of which: Windows doesn't have a serious command-line at all, or has this changed with Vista? cygwin doesn't come close to a native Unix IMO. And so on ... Windows has also bunch of annoying issues but there is at least consistency and usually there is a solution for everything. Do you guys all switch to Linux when it comes to Java development? :) IMO the situation with Java is quite acceptable. Porting shell scripts from a Linux environment is a PITA, though. -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: +41 (0) 43 818 57 01
Re: [OT] Mac OS X and Java development (was: Re: [jira] Updated: (COCOON-2063))
Hey, 2008/4/4 Joerg Heinicke <[EMAIL PROTECTED]>: > Which makes me wonder again how to do serious Java development with Mac OS > X. I know a few of you guys are using Mac OS X. How do you do it? Whenever I > start this I get annoyed very fast. The missing Java sources are only the > tip of the iceberg. Every tree representation in Eclipse just sucks. > Keyboard navigation in Mac OS X is completely inconsistent, especially with > Java programs. There seems to be no serious SVN command line client (or at > least the CollabNet download page is just self-linking at the moment: > http://downloads.open.collab.net/binaries.html). And so on ... Windows has > also bunch of annoying issues but there is at least consistency and usually > there is a solution for everything. Do you guys all switch to Linux when it > comes to Java development? :) Nah, we all run windows on our macs, of course ;-) Seriously though, you get used to the inconsistencies of keyboard bindings. In fairness, eclipse on mac goes some way toward Mac-ness (try Apple-, for preferences). SVN ships with OS X and I've never had a problem with it (though a mature GUI svn client like tortoisesvn would be nice sometimes). Andrew.
Re: [vote] Release Cocoon 2.2-final
Grzegorz Kossakowski wrote: Dev at weitling pisze: BTW: If I could meet some of you wizards and get an indoctrination I could/would improve docs. Florian, are you coming to ApacheCon (hackathon days)? If not, I'm available in Warsaw almost all the time always willing to speak about Cocoon. :-) I'd like to, but they enchained me here, leaving me bread, water and a computer ;-) ApacheCon takes place at my first days at a new employer, I hope there will be a second CocoonGT (or the like) this year? Bye, Florian