On 29 March 2011 04:55, Gary Gregory <garydgreg...@gmail.com> wrote: > On Mon, Mar 28, 2011 at 11:21 PM, Phil Steitz <phil.ste...@gmail.com> wrote: > >> On 3/28/11 4:49 PM, Gary Gregory wrote: >> > I am having a heck of a time pushing the release out. >> > >> > I cannot seem to be able to create the sym links per the instructions in >> > http://wiki.apache.org/commons/UsingNexus >> > >> > I cannot get the symlinks.sh script working. I copied it to my home bin >> > directory. When I invoke it, it is not found. Just running it from my >> home >> > bin w/o args does give me the usage I get: >> > >> You need to run it from the dist directory where the links are going >> to be created and you need to give it the release number. See steps >> 1 and 2 here: >> http://commons.apache.org/releases/release.html >> >> Step 2 assumes that the tars and zips have somehow made their way to >> /www/www.apache.org/dist/commons/foo/ >> >> Step 1 provides instructions on how to move things there. I think >> Nexus tries to do this moving for you. >> >> To get the symlinks created properly, you need to invoke symlinks.sh >> with the release number as its command line argument from >> /www/www.apache.org/dist/commons/foo/ >> >> For that to work, you have to have the script available and >> executable. That should happen if you put it in your bin directory >> and do chmod +x on it. Have a look at your .profile file (cat >> ~/.profile). If it does not contain a line that looks something like >> >> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; >> export PATH >> then you need to add that line (maybe minus the games and X11R6 >> stuff) or just copy a new .profile. Let me know if you are having >> problems with this and I will help. >> > > Yes, please. > > Here is my profile: > >> cat .profile > # $FreeBSD: src/share/skel/dot.profile,v 1.19.2.2 2002/07/13 16:29:10 mp Exp > $ > # > # .profile - Bourne Shell startup script for login shells > # > # see also sh(1), environ(7). > # > > # remove /usr/games and /usr/X11R6/bin if you want > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; > export PATH > > # Setting TERM is normally done through /etc/ttys. Do only override > # if you're sure that you'll never log in via telnet or xterm or a > # serial line. > # Use cons25l1 for iso-* fonts > # TERM=cons25; export TERM > > BLOCKSIZE=K; export BLOCKSIZE > EDITOR=vi; export EDITOR > PAGER=more; export PAGER > > # set ENV to a file invoked each time sh is started for interactive use. > ENV=$HOME/.shrc; export ENV > > [ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips > > Here is my bin: > >> ls -l $HOME/bin > total 3 > -rwxrwxr-x 1 ggregory commons 1775 Mar 28 22:12 symlinks.sh > > When I try to run it from $HOME, just for fun, I get: > >> symlinks.sh > symlinks.sh: Command not found.
Try logging out an in again; sometimes that's needed to pick up path changes. Which shell are you using? They use different files to initialise themselves. Try "echo $PATH" to check. > Then a couple of experiments: > >> cd bin >> symlinks.sh > symlinks.sh: Command not found. Not being found on the path. >> sh symlinks.sh > symlinks.sh: 46: Syntax error: word unexpected You did not provide a parameter. How does the script know what to link? > I am stuck. > Gary > > >> >> Sebb is right though that you should close the VOTE before moving >> stuff to dist/ >> >> Phil >> >> >> >> symlinks.sh >> > symlinks.sh: Command not found. >> > >> >> sh symlinks.sh >> > symlinks.sh: 46: Syntax error: word unexpected >> > >> > I need some UNIX help ;) >> > >> > Thank you, >> > Gary >> > >> > On Thu, Mar 24, 2011 at 9:39 PM, Gary Gregory <garydgreg...@gmail.com >> >wrote: >> > >> >> [VOTE] Release Apache Commons Codec 1.5-RC1 >> >> >> >> Tag: >> >> >> >> >> >> >> https://svn.apache.org/repos/asf/commons/proper/codec/tags/commons-codec-1.5-RC1 >> >> >> >> Site: >> >> >> >> http://people.apache.org/builds/commons/codec/1.5/RC1/site/index.html >> >> >> >> Binaries: >> >> >> >> >> https://repository.apache.org/content/repositories/orgapachecommons-041/ >> >> >> >> [ ] +1 release it >> >> [ ] +0 go ahead I don't care >> >> [ ] -1 no, do not release it because >> >> >> >> Thank you, >> >> Gary >> >> >> >> http://garygregory.wordpress.com/ >> >> http://garygregory.com/ >> >> http://people.apache.org/~ggregory/ >> >> http://twitter.com/GaryGregory >> >> >> > >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > > > -- > Thank you, > Gary > > http://garygregory.wordpress.com/ > http://garygregory.com/ > http://people.apache.org/~ggregory/ > http://twitter.com/GaryGregory > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org