logo       

OutputOptions Before/After build patch: msg#00028

gnome.mono.monodevelop.general

Subject: OutputOptions Before/After build patch

Attached is a patch for some source files.

They change the Before/After build-fields in the OutputOptions-dialog
from FileEntry-widgets to normal entry widgets. The previous version
would only work with a single parameter, so to copy a file, for example,
it seems one had to write a shell-script and reference it from this
field.

Now, you can write, for example:

"cp MyAssembly.dll /usr/lib/plugins/".

The patch will split the string into the three blocks, searches for the
initial block (in this case "cp") in the PATH-variable, changes working
directory to the current target's output-directory and then tries to
execute. The current implementation will halt the build if an illegal
command is input.

Hopefully this is a more desirable behavior than the previous
implementation.

PS: This is my first time playing with glade and MD-source, so best look
closely at the changes before committing anywhere.

Lars Thomas Denstad
larsde@xxxxxxxxxxxxxxx

Attachment: outputoptions_execute.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise