Hi, In order to make a start on the new codebase I am testing a component under 2.2 I was hoping someone has got SQLTransformer working yet? I get 'Unknown datasources' when I try to use my legacy xconf section in the cocoon-sitemap.xconf
Running under Websphere requires use of the j2ee config too so getting this working under the new regime would be a winner for me. I'm not using the archetype technique yet for block management but I don't think this should be the source of problem. As database access is so vital to most real world projects a little advice from you 2.2 gurus would really bolster the vanguard of movement to the future of Cocoon. Thanks for any help as this is pretty vital to getting Cocoon used in my new company, Best regards Warrell -----Original Message----- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 10:01 To: [email protected] Subject: Re: Getting started again... Justin Fagnani-Bell napisaĆ(a): > Ok, I got cocoon-trunk running. Just had to run mvn install about 10 > times (I hope end users won't have to use Maven). The will have to, all hope and prayers should cast a spell on Maven repositories to be more stable. ;) Side-note: I really do not experience all problems with Maven not being able to download this or that. I do not have any spectacular Internet connection, also. Maybe tweaking settings.xml [1] really solves the problem? I strongly advice to do it. > Most things work, but quite a few of the samples I'm interested in are > broken (CForms: Bindings, SQL access, Cocoon suggests; User Preferences). I encountered the same, not have time to invest this issue this week, though. > Now, I'm trying to go through the tutorial at [1] and I'm getting an > error when trying to use maven to create a block skeleton: >> Failed to resolve artifact. >> >> GroupId: org.apache.cocoon >> ArtifactId: cocoon-archetype-block >> Version: 1.0-SNAPSHOT >> >> Reason: Unable to download the artifact from any repository You use out-dated articaftId, proper values are: GroupId=org.apache.cocoon ArtifactId=cocoon-22-archetype-block Version=1.0.0-SNAPSHOT > > I can't really find anything in the list archives yet about this. I'm > not sure if the docs are out of date and the command given is wrong or > what. > > Any idea? There is interesting in-depth report on running C2.2 posted by Gavin Carothes: http://article.gmane.org/gmane.text.xml.cocoon.devel/65013 > All this new stuff, especially Maven is going to take some time to > learn. My first thought after getting the build working was "great, it > works, but now what?". I obviously can't just go in and hack away at > sitemaps and toss in files like I was used to because this version > will get overwritten next time I build with Maven. It looks like I > want to create a block, and that's my site/app right? I guess the docs > are behind development... can anyone give me some guidance here? Yes, you are right. Your application is just another Cocoon block based on proper Maven's archetype. I think abandoned possibility to "hack away at sitemaps and toss in files" is strengths not weakness. Cocoon in 2.1.x suffered enough not having standard way of building your own apps. And you had to learn other tool: Ant. In short: Ask questions here, hopefully someone will be able to cover your doubts. [1] http://maven.apache.org/guides/mini/guide-mirror-settings.html -- Grzegorz Kossakowski --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________ NOD32 1.1663 (20060716) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
