SapphireSteel Forum
Welcome, Guest. Please login or register.
May 25, 2013, 07:59:10 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Ruby In Steel and Amethyst IDEs
3884 Posts in 800 Topics by 669 Members
Latest Member: m
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Amethyst
| | |-+  html and cache files
« previous next »
Pages: [1] Print
Author Topic: html and cache files  (Read 631 times)
rkosko
Jr. Member
**
Posts: 65


« on: May 25, 2012, 11:14:47 AM »

Hello All,

When I build a flex file using Amethyst, it builds a .html and .cache file along with the SWF  in the build folder. Now I dont mind these files in bin-debug folder but I dont want them in my bin folder.

How do I turn off the creation of the two files?

Thank you

Bob
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #1 on: May 25, 2012, 04:07:32 PM »

Hi,

The .html one is generated by Amethyst (you can't turn this off currently) and the .cache file is the Adobe compiler's incremental database. You can stop the .cache file being created by turning off incremental compilation, but it's going to be quite a bit slower compiling.

However, you can get move these files (or get them generated) somewhere more suitable for you. You can define where you want Amethyst to create the files by setting the Output Path (Compiler Project properties tab). Normally this is 'bin\Debug' or something similar. But you can set this to be 'bin\Debug\temp' say or any other directory relative to the project folder. You can then use the Post Build Event to move the output files to where you want them to be. Look in the Build Events project properties tab and you'll see a 'Post-build event command line' box. Set this to something like 'move $(TargetPath) where-I-want-it-to-go'. There's a whole load of $ macros that allow you to specify the paths easily which are documented in the tab page.

Alternatively, you can use the Post build event to delete the .html file and/or the .cache file.

Dermot
Logged
rkosko
Jr. Member
**
Posts: 65


« Reply #2 on: May 29, 2012, 06:50:36 AM »

Thank you Dermot

I will implement your suggestions

Bob
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!