Batch build - can you specify output location in bat file?

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
jhamrick
Propeller Head
Posts: 31
Joined: Thu Jun 03, 2010 8:56 am

Batch build - can you specify output location in bat file?

Post by jhamrick »

I'm attempting to set up my Flare project in a source control system and use a .bat file to build the output from a command line (scheduled by our automated build process).
Our build developer asked if it is possible to specify the output location in the bat file so that we can avoid hard coding it into the project? And if so, what output location would I choose in the target - the default or could the bat file just override whatever was there?

If this is not possible, is there a way to specify a relative file location within the target? For example, an Output folder within the project folder that would automatically move along with the project?

Thanks,
Janice Hamrick
lemalsaint
Jr. Propeller Head
Posts: 6
Joined: Mon Jul 05, 2010 6:39 am

Re: Batch build - can you specify output location in bat file?

Post by lemalsaint »

I have the same problem, and since I didn't find a suitable answer I choose a workaround.

-Set one default location for the output
-Call your batch file with a variable for the batch-specific output location
-use Xcopy in the batchfile to move the output from the default to the specific location.

You can as well add a conditions etc.

Best regards,


Oliver
Post Reply