2015-02-10 85 views
0

我有這個項目叫做Foo具有以下結構,但是我應該從版本控制中排除哪些文件?我用FlashDevelop構建它。Flash/AS3項目中的版本控制需要保留哪些文件?

├── bin     <-- already in 
│   └── Foo.swf   <-- .gitignore 
├── css.xml 
├── lib 
│   └── as3corelib.swc 
├── locales 
│   ├── de_DE 
│   │   └── ... 
│   └── en_US 
│    └── ... 
├── obj     <-- what 
│   ├── FooConfig.old  <-- about 
│   └── FooConfig.xml  <--  these? 
├── src 
│   ├── com 
│   │   └── ... 
│   └── printf.as 
├── Foo.as3proj 
└── Foo.report    <-- and this one? 

我注意到obj/下的文件和文件report通過每次構建改變。所以我想我可以排除他們?

Foo.report(10146個系)

<report> 
    <scripts> 
    <script name="/home/max/Projects/flash-compiler/apache-flex-sdk/frameworks/libs/framework.swc(mx.graphics:GradientStroke)" mod="1422002215000" size="3188" optimizedsize="1400"> 
     <def id="mx.graphics:GradientStroke" /> 
     <pre id="mx.graphics:GradientBase" /> 
     <pre id="mx.graphics:IStroke" /> 
     <dep id="flash.display:GraphicsGradientFill" /> 
     <dep id="flash.display:Graphics" /> 
     <dep id="flash.display:CapsStyle" /> 
     <dep id="AS3" /> 
     <dep id="flash.display:GraphicsStroke" /> 
     <dep id="flash.geom:Rectangle" /> 
     <dep id="mx.core:mx_internal" /> 
     <dep id="flash.geom:Point" /> 
     <dep id="flash.display:JointStyle" /> 
    </script> 
    <!-- more scripts are following here --> 
    </scripts> 
    <external-defs> 
    <ext id="flash.events:AsyncErrorEvent" /> 
    <ext id="RegExp" /> 
    <!-- more exts are following here --> 
    </external-defs> 
</report> 

OBJ/FooConfig.old始於...

<?xml version="1.0" encoding="utf-8"?> 
<!--This Adobe Flex compiler configuration file was generated by a tool.--> 
<!--Any modifications you make may be lost.--> 
<flex-config> 
    <target-player>11.2</target-player> 
    <benchmark>false</benchmark> 
    <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries> 
    <compiler> 
    <define append="true"> 
     <name>CONFIG::debug</name> 

OBJ/FooConfig.xml開頭.. 。

<?xml version="1.0" encoding="utf-8"?> 
<!--This Adobe Flex compiler configuration file was generated by a tool.--> 
<!--Any modifications you make may be lost.--> 
<flex-config> 
    <target-player>11.2</target-player> 
    <benchmark>false</benchmark> 
    <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries> 
    <compiler> 
    <define append="true"> 
     <name>CONFIG::debug</name> 
+0

我使用FlashDevelop,但我不知道'obj' /'FooConfig.old'和'FooConfig.xml'是什麼。 – Aaron 2015-02-10 15:45:09

+0

@Aaron我添加了這些文件的第一行。 – dAnjou 2015-02-12 10:24:11

回答

1

將您的.as,.swc,.xml,.as3proj和所有其他資源(圖像,聲音等)放在源代碼控制之下。任何在binobj文件夾下的文件都可以忽略 - 這些文件是在編譯期間由編譯器生成的。

我不知道.report文件是什麼 - 我在FlashDevelop中沒有。我認爲這是一個詳細構建的編譯器報告文件,但我不確定。如果您還沒有創建它,那麼源代碼管理就不太可能需要它。

+0

如果你發佈你的'.report'文件,我會看看確定 - 我不認爲這是必要的。我在這臺機器上沒有FlashDevelop,所以我現在無法檢查。 – xxbbcc 2015-02-10 16:51:54

+0

我添加了這個文件。 – dAnjou 2015-02-12 10:24:42

+0

@dAnjou它看起來像一個編譯器報告。我不認爲這是必要的 - 我的項目沒有。有一個編譯器報告設置在項目屬性的某處。 – xxbbcc 2015-02-12 15:39:11

相關問題