Update build.xml, make some folders not obligatory for JS apps

Folders 'models', 'model_views', 'collections', 'collection_views'
not obligatory for JavaScript applications any more.
This commit is contained in:
Dmitriy Simushev 2013-02-08 09:06:40 +00:00
parent d2018e1863
commit a6006211f2

View File

@ -176,43 +176,43 @@
</fileset> </fileset>
<!-- Include models files --> <!-- Include models files -->
<fileset dir="${js_path}/compiled/${app_name}/models"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/base*.js" /> <include name="models/**/base*.js" />
</fileset> </fileset>
<fileset dir="${js_path}/compiled/${app_name}/models"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/*.js" /> <include name="models/**/*.js" />
<!-- Exclude base files --> <!-- Exclude base files -->
<exclude name="**/base*.js" /> <exclude name="models/**/base*.js" />
</fileset> </fileset>
<!-- Include collections files --> <!-- Include collections files -->
<fileset dir="${js_path}/compiled/${app_name}/collections"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/base*.js" /> <include name="collections/**/base*.js" />
</fileset> </fileset>
<fileset dir="${js_path}/compiled/${app_name}/collections"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/*.js" /> <include name="collections/**/*.js" />
<!-- Exclude base files --> <!-- Exclude base files -->
<exclude name="**/base*.js" /> <exclude name="collections/**/base*.js" />
</fileset> </fileset>
<!-- Include models views files --> <!-- Include models views files -->
<fileset dir="${js_path}/compiled/${app_name}/model_views"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/base*.js" /> <include name="model_views/**/base*.js" />
</fileset> </fileset>
<fileset dir="${js_path}/compiled/${app_name}/model_views"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/*.js" /> <include name="model_views/**/*.js" />
<!-- Exclude base files --> <!-- Exclude base files -->
<exclude name="**/base*.js" /> <exclude name="model_views/**/base*.js" />
</fileset> </fileset>
<!-- Include collections views files --> <!-- Include collections views files -->
<fileset dir="${js_path}/compiled/${app_name}/collection_views"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/base*.js" /> <include name="collection_views/**/base*.js" />
</fileset> </fileset>
<fileset dir="${js_path}/compiled/${app_name}/collection_views"> <fileset dir="${js_path}/compiled/${app_name}">
<include name="**/*.js" /> <include name="collection_views/**/*.js" />
<!-- Exclude base files --> <!-- Exclude base files -->
<exclude name="**/base*.js" /> <exclude name="collection_views/**/base*.js" />
</fileset> </fileset>
<!-- Include all other files --> <!-- Include all other files -->