Then yeah, your bash is too old to use with the jetty.sh Sorry. If you want to take a stab at making a patch for the jetty.sh that works on your system, that would be something we could possibly roll back into the distribution.
-- Joakim Erdfelt <[email protected]> webtide.com <http://www.webtide.com/> Developer advice, services and support from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, Jul 9, 2013 at 6:05 PM, Blair Pallopson < [email protected]> wrote: > No It doesn't work:**** > > ** ** > > $ bash**** > > A="EAT"**** > > $ A+="A"**** > > bash: A+=A: command not found**** > > $**** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Joakim Erdfelt > *Sent:* Tuesday, July 09, 2013 5:50 PM > > *To:* JETTY user mailing list > *Subject:* Re: [jetty-users] XMLFILE Error Jetty.sh**** > > ** ** > > Does this work (on your command line)?**** > > ** ** > > [joakim@lapetus ~]$ A="Eat"**** > > [joakim@lapetus ~]$ A+="A"**** > > [joakim@lapetus ~]$ A+="Gramova"**** > > [joakim@lapetus ~]$ A+="Bits"**** > > [joakim@lapetus ~]$ echo $A**** > > EatAGramovaBits**** > > ** ** > > > **** > > --**** > > Joakim Erdfelt <[email protected]>**** > > webtide.com <http://www.webtide.com/>**** > > Developer advice, services and support > from the Jetty & CometD experts**** > > eclipse.org/jetty - cometd.org**** > > ** ** > > On Tue, Jul 9, 2013 at 2:40 PM, Joakim Erdfelt <[email protected]> wrote: > **** > > Unfortunately, the syntax we use...**** > > ** ** > > KEY+=(VAL)**** > > ** ** > > Isn't that well supported on your version of Bash.**** > > And it is used ALOT in the jetty.sh (not just those 2 lines)**** > > ** ** > > > **** > > --**** > > Joakim Erdfelt <[email protected]>**** > > webtide.com <http://www.webtide.com/>**** > > Developer advice, services and support > from the Jetty & CometD experts**** > > eclipse.org/jetty - cometd.org**** > > ** ** > > On Tue, Jul 9, 2013 at 2:39 PM, Joakim Erdfelt <[email protected]> wrote: > **** > > That is an old version of bash.**** > > ** ** > > Try changing that line (#321) in the jetty.sh to**** > > ** ** > > CONFIGS="$CONFIGS $XMLFILE"**** > > ** ** > > Also line #327**** > > From:**** > > CONFIGS+=($CONF)**** > > To:**** > > CONFIGS="$CONFIGS $CONF"**** > > > **** > > --**** > > Joakim Erdfelt <[email protected]>**** > > webtide.com <http://www.webtide.com/>**** > > Developer advice, services and support > from the Jetty & CometD experts**** > > eclipse.org/jetty - cometd.org**** > > ** ** > > On Tue, Jul 9, 2013 at 1:57 PM, Blair Pallopson < > [email protected]> wrote:**** > > $ bash --version**** > > GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)**** > > Copyright (C) 2004 Free Software Foundation, Inc.**** > > **** > > $ echo $XMLFILE**** > > **** > > $ ./jetty.sh check**** > > ./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'**** > > ./jetty.sh: line 321: ` CONFIGS+=("$XMLFILE")'**** > > **** > > as you can see nothing is set in $XMLFILE prior. I haven't modified the > $XMLFILE in the .sh script either.**** > > **** > > Blair Pallopson**** > > DonRiver Inc.**** > > www.donriver.com**** > > m: 0437983981**** > > [email protected]**** > > **** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Joakim Erdfelt > *Sent:* Tuesday, July 09, 2013 4:47 PM**** > > > *To:* JETTY user mailing list > *Subject:* Re: [jetty-users] XMLFILE Error Jetty.sh**** > > **** > > Wow, SunOS 5.1 (aka Solaris 2.1)**** > > The various shell script techniques within the jetty.sh might be too old > for your OS.**** > > **** > > What is your shell and version?**** > > Also, do you have any values in $XMLFILE before the script runs?**** > > **** > > > **** > > --**** > > Joakim Erdfelt <[email protected]>**** > > webtide.com <http://www.webtide.com/>**** > > Developer advice, services and support > from the Jetty & CometD experts**** > > eclipse.org/jetty - cometd.org**** > > **** > > On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson < > [email protected]> wrote:**** > > thanks guys. See below:**** > > **** > > $ uname -a**** > > SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc > SUNW,Sun-Fire-15000**** > > **** > > jetty-9.0.4.v20130625 - 25 June 2013**** > > **** > > FYI - same issue happens on jetty 8 as well as I've tried both.**** > > **** > > Blair Pallopson**** > > DonRiver Inc.**** > > www.donriver.com**** > > m: 0437983981**** > > [email protected]**** > > **** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Joakim Erdfelt > *Sent:* Tuesday, July 09, 2013 3:53 PM > *To:* JETTY user mailing list > *Subject:* Re: [jetty-users] XMLFILE Error Jetty.sh**** > > **** > > We need more details about your environment.**** > > **** > > We cannot replicate this error, and would appreciate some details so we > can replicate it.**** > > > **** > > --**** > > Joakim Erdfelt <[email protected]>**** > > webtide.com <http://www.webtide.com/>**** > > Developer advice, services and support > from the Jetty & CometD experts**** > > eclipse.org/jetty - cometd.org**** > > **** > > On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson < > [email protected]> wrote:**** > > I'm receiving the following error when I run jetty.sh script:**** > > **** > > hostname $ ./jetty.sh check**** > > ./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'**** > > ./jetty.sh: line 321: ` CONFIGS+=("$XMLFILE")'**** > > hostname $**** > > **** > > it is exactly this problem:**** > > **** > > http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html**** > > **** > > Did this get resolved? Any assistance would be appreciated.**** > > **** > > Thanks in advance.**** > > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users**** > > **** > > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users**** > > **** > > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users**** > > ** ** > > ** ** > > ** ** > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
