Re: Buildnumber plugin and svn
If you run maven with the -X flag, you can see the commands that the buildnumber plugin creates. For example when doCheck=false and doUpdate=true, the buildnumber plugin executes svn --non-interactive update So you should login to your server and try the same command from the appropriate directory to see if you can reproduce the problem. You can work around it by configuring buildnumber doUpdate=false HTH, J On 14-Aug-07, at 7:49 AM, DCVer wrote: I use the maven buildnumber plugin and it works fine on my local pc. But on the Continuum server (checked out from the same svn repository) i receive an error (in fact Continuum/Maven2 generates it): [INFO] [buildnumber:create {execution: default}] Provider message: The svn command failed. Command output: Subcommand 'info' doesn't accept option '--non-interactive' Type 'svn help info' for usage. I deleted --batch-mode from Continuum arguments (which means non- interactive I believe), but received the same error message. I've read about similar problems and it may look like the svn version is too old on the Continuum server (there is 1.4.4 from April 2005 and on my local pc I have version 1.4.4). Is it svn version problem? Regards. -- View this message in context: http://www.nabble.com/Buildnumber- plugin-and-svn-tf4267375s177.html#a12144761 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Julian Wood Web, E-Mail, and Middleware Services University of Calgary Information Technologies, 2500 University Drive, Calgary, Alberta, Canada T2N 1N4 (403) 220-5868
Re: Buildnumber plugin and svn
Right so it dosent support that flag. Time for an upgrade :) On 8/16/07, DCVer <[EMAIL PROTECTED]> wrote: > > I've made a mistake, sorry. On the Continuum server there is version 1.1.4 of > the svn, not 1.4.4.. > > > ben short-2 wrote: > > > > I would ofr started by typing svn --version on you continuum server, > > to get the version. If your using a redhat box then chances are its > > svn version 1 or something. > > > > But it seem that somewhere between svn version 1.2 [1] and current [2] > > the --non-interactive flag of the info command was introduced. > > > > Regards > > > > Ben > > > > [1] http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.info.html > > [2] http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.info.html > > > > On 8/15/07, DCVer <[EMAIL PROTECTED]> wrote: > >> > >> Nobody knows? ... > >> > >> > >> DCVer wrote: > >> > > >> > I use the maven buildnumber plugin and it works fine on my local pc. > >> But > >> > on the Continuum server (checked out from the same svn repository) i > >> > receive an error (in fact Continuum/Maven2 generates it): > >> > > >> > [INFO] [buildnumber:create {execution: default}] > >> > Provider message: > >> > The svn command failed. > >> > Command output: > >> > Subcommand 'info' doesn't accept option '--non-interactive' > >> > Type 'svn help info' for usage. > >> > > >> > I deleted --batch-mode from Continuum arguments (which means > >> > non-interactive I believe), but received the same error message. I've > >> read > >> > about similar problems and it may look like the svn version is too old > >> on > >> > the Continuum server (there is 1.4.4 from April 2005 and on my local pc > >> I > >> > have version 1.4.4). Is it svn version problem? > >> > > >> > Regards. > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12171061 > >> Sent from the Maven - Users mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12176490 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Buildnumber plugin and svn
I've made a mistake, sorry. On the Continuum server there is version 1.1.4 of the svn, not 1.4.4.. ben short-2 wrote: > > I would ofr started by typing svn --version on you continuum server, > to get the version. If your using a redhat box then chances are its > svn version 1 or something. > > But it seem that somewhere between svn version 1.2 [1] and current [2] > the --non-interactive flag of the info command was introduced. > > Regards > > Ben > > [1] http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.info.html > [2] http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.info.html > > On 8/15/07, DCVer <[EMAIL PROTECTED]> wrote: >> >> Nobody knows? ... >> >> >> DCVer wrote: >> > >> > I use the maven buildnumber plugin and it works fine on my local pc. >> But >> > on the Continuum server (checked out from the same svn repository) i >> > receive an error (in fact Continuum/Maven2 generates it): >> > >> > [INFO] [buildnumber:create {execution: default}] >> > Provider message: >> > The svn command failed. >> > Command output: >> > Subcommand 'info' doesn't accept option '--non-interactive' >> > Type 'svn help info' for usage. >> > >> > I deleted --batch-mode from Continuum arguments (which means >> > non-interactive I believe), but received the same error message. I've >> read >> > about similar problems and it may look like the svn version is too old >> on >> > the Continuum server (there is 1.4.4 from April 2005 and on my local pc >> I >> > have version 1.4.4). Is it svn version problem? >> > >> > Regards. >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12171061 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12176490 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Buildnumber plugin and svn
I would ofr started by typing svn --version on you continuum server, to get the version. If your using a redhat box then chances are its svn version 1 or something. But it seem that somewhere between svn version 1.2 [1] and current [2] the --non-interactive flag of the info command was introduced. Regards Ben [1] http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.info.html [2] http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.info.html On 8/15/07, DCVer <[EMAIL PROTECTED]> wrote: > > Nobody knows? ... > > > DCVer wrote: > > > > I use the maven buildnumber plugin and it works fine on my local pc. But > > on the Continuum server (checked out from the same svn repository) i > > receive an error (in fact Continuum/Maven2 generates it): > > > > [INFO] [buildnumber:create {execution: default}] > > Provider message: > > The svn command failed. > > Command output: > > Subcommand 'info' doesn't accept option '--non-interactive' > > Type 'svn help info' for usage. > > > > I deleted --batch-mode from Continuum arguments (which means > > non-interactive I believe), but received the same error message. I've read > > about similar problems and it may look like the svn version is too old on > > the Continuum server (there is 1.4.4 from April 2005 and on my local pc I > > have version 1.4.4). Is it svn version problem? > > > > Regards. > > > > -- > View this message in context: > http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12171061 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Buildnumber plugin and svn
Nobody knows? ... DCVer wrote: > > I use the maven buildnumber plugin and it works fine on my local pc. But > on the Continuum server (checked out from the same svn repository) i > receive an error (in fact Continuum/Maven2 generates it): > > [INFO] [buildnumber:create {execution: default}] > Provider message: > The svn command failed. > Command output: > Subcommand 'info' doesn't accept option '--non-interactive' > Type 'svn help info' for usage. > > I deleted --batch-mode from Continuum arguments (which means > non-interactive I believe), but received the same error message. I've read > about similar problems and it may look like the svn version is too old on > the Continuum server (there is 1.4.4 from April 2005 and on my local pc I > have version 1.4.4). Is it svn version problem? > > Regards. > -- View this message in context: http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12171061 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]