Skip to main content



      Home
Home » Archived » Buckminster » Headless buckminster and script file
Headless buckminster and script file [message #698040] Mon, 18 July 2011 12:48 Go to next message
Eclipse UserFriend
I run headless Buckminster, passing in multiple commands via a script file (buckminster --scriptfile <filename>), but sometimes it stops before all lines in the file have been processed, even though previous commands seem to have completed ok.

At least, that's how it appears to me - I'm still trying to get a handle on exactly what I'm seeing. Has anyone else noticed this type of behaviour?

Thanks
Re: Headless buckminster and script file [message #698448 is a reply to message #698040] Tue, 19 July 2011 09:43 Go to previous messageGo to next message
Eclipse UserFriend
Have not seen this reported before...
Sorry.
- henrik

On 7/18/11 6:48 PM, Matthew Webber wrote:
> I run headless Buckminster, passing in multiple commands via a script
> file (buckminster --scriptfile <filename>), but sometimes it stops
> before all lines in the file have been processed, even though previous
> commands seem to have completed ok.
>
> At least, that's how it appears to me - I'm still trying to get a handle
> on exactly what I'm seeing. Has anyone else noticed this type of behaviour?
>
> Thanks
>
Re: Headless buckminster and script file [message #702588 is a reply to message #698448] Tue, 26 July 2011 10:46 Go to previous message
Eclipse UserFriend
On further investigation, it appears that Buckminster Headless did process all the commands in the script file. However, I was mislead because the output was out of order (or duplicated).

The script file has these commands:
build
perform -Dtarget.os=linux -Dtarget.ws=gtk -Dtarget.arch=x86 -Diu=uk.ac.diamond.scisoft uk.ac.gda.beamline.i13j.site#create.product


What mislead me in the stdout was a number of "Warning: <path>: line nnn, message" compilation warnings. These of course are the result of the build command, but appeared in the output after the perform command, which made me think (incorrectly) that the perform had not been done.

This was running under Jenkins, and I suspect that Jenkins has got the output out-of-order, and there is no Buckminster error.

Matthew
(Adding the explanation for the benefit of future searches).
Previous Topic:Dynamic branchToTag in cquery
Next Topic:p2 site creation fails with &quot;No component named com.jcraft.jsch:osgi.bundle is known to Buc
Goto Forum:
  


Current Time: Wed Jul 02 17:04:01 EDT 2025

Powered by FUDForum. Page generated in 0.03890 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top