this still sucks... henning, do you have any time to help me with this? even if you can just update the public site. the changes are checked in, i just can't get
newgrp velocity /export/home/velocity/bin/build_velocity_site.sh to run for me on the zone. On Mon, Jul 7, 2008 at 11:42 AM, Nathan Bubna <[EMAIL PROTECTED]> wrote: > Ok, in a fit of procrastinating what i should really work on this > morning, i thought i'd try and do a quick update of the site to show > the Tools 2.0-beta1 release, and thus ensure i can update the site on > my new laptop, prior to finalizing (hopefully) the 2.0-beta2 release. > Unfortunately, i can't build the site tools. It looks like the > velocity-site-news plugin is not keeping pace with plexus: > > ... > C:\java\apache\velocity\site\tools\velocity-site-news-plugin\target\generated-sources\modello\org\apache\velocity\site\news\model\ > io\xpp3\NewsXpp3Reader.java:[18,31] cannot find symbol > symbol : class ReaderFactory > location: package org.codehaus.plexus.util > ... > > now, this was just a matter of telling the pom to use some older > version of plexus and in theory i shouldn't even need to have to site > stuff all working on my computer, but i feel better about checking > stuff in if i can try it locally. so, i tweaked the > velocity-site-news-plugin pom, got the site tools to all build and was > able to go to the site directory and run the site target successfully. > but then, the site:run target failed. frustrated i decided to go > ahead and check in my changes and just try building and deploying the > site from velocity.zones.apache.org. I followed the instructions and > all seemed to go well until the build_velocity_site.sh script failed > when trying to actually deploy the updated site: > > [INFO] [site:deploy] > scpexe://people.apache.org/www/velocity.apache.org - Session: Opened > Using private key: /export/home/velocity/.ssh/id_rsa > Executing command: /bin/bash -c 'ssh -i > /export/home/velocity/.ssh/id_rsa -o "BatchMode yes" > [EMAIL PROTECTED] "mkdir -p /w > ww/velocity.apache.org/."' > > Permission denied (publickey,keyboard-interactive). > > scpexe://people.apache.org/www/velocity.apache.org - Session: Disconnecting > scpexe://people.apache.org/www/velocity.apache.org - Session: Disconnected > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error uploading site > > Embedded error: Error performing commands for file transfer > Exit code 255 - Permission denied (publickey,keyboard-interactive). > > > this is far from the first time i've seen this. in fact, i recall > spending much time fighting this same error in the past. i can't even > remember if i succeeded though. either way, i'm sick of the maven > site building headaches. what should be a fairly simple task has been > an ordeal *for YEARS now*! the current process is brittle, unwieldy > and worst of all, unmaintained. in contrast, there is the site > process for VelocityTools: > > - uses DVSL (VTL-based, encourages DVSL maintenance) > - deploy process is just: > ant publish.docs > ssh <user>@people.apache.org > cd /www/velocity.apache.org/tools/devel (or release/<ver>) > unzip -o ../docs.zip > - and it works! no headaches! > > it's simple, low-maintenance, and doesn't make me want to throw > things. granted, it may not have all the snazzy features Maven > provides, but we're barely taking advantage of them anyway. so, > consider this my warning that i intend to ditch this whole > velocity-site thing. if any of you think this is a bad idea, by all > means, please step up and maintain the velocity-site mess. i don't > think anything less than that will change my mind, and it's doubtful > whether even that would change it for long. i'm not sure when i'll > get to making the change; i've little doubt that it will be more work > than i imagine (especially figuring out what to do with those APT > files); and i'm sure it won't be fun. but consider this my notice > that i will no longer waste my time with this convoluted, > temperamental Maven-crazy velocity-site stuff. > > p.s. help is welcome, and no one is allowed to complain about the lack > of site updates unless they help, one way or another. ;-) > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
