Skip to content
This repository
Browse code

Updating the build to put the files in the order specified by include…

…s.list. The ordering of the JS fils is very important.
  • Loading branch information...
commit fb61b4a48d17df5fe51d63d4e13a46af0cc55d73 1 parent 96eb88d
Shane Tomlinson authored October 23, 2010

Showing 2 changed files with 19 additions and 20 deletions. Show diff stats Hide diff stats

  1. 10  build.xml
  2. 29  includes.list
10  build.xml
@@ -12,7 +12,7 @@
12 12
 	<property name="docs_parse" location="docparse" />
13 13
 	<property file="per_user.properties" />
14 14
 	<property file="yuidoc.properties" />
15  
-	
  15
+	<property file="includes.list" />
16 16
 	
17 17
 	<target name="get_build_number" >
18 18
 		<property file="build.number" />
@@ -55,8 +55,8 @@
55 55
 		<echo level="info" message="JSLint: running..." />
56 56
 		<foreach param="filename" target="lintfile">
57 57
 			<path>
58  
-				<fileset dir="${src}" includesfile="includes.list">
59  
-				</fileset>
  58
+				<filelist dir="${src}" files="${includes.list}">
  59
+				</filelist>
60 60
 			</path>
61 61
 			
62 62
 			
@@ -69,8 +69,8 @@
69 69
 		description="concatinate the script">
70 70
 			<echo message="Combining js files to ${js_combined}" />
71 71
 			<concat destfile="${js_combined}">
72  
-				<fileset dir="${src}" includesfile="includes.list">
73  
-				</fileset>
  72
+				<filelist dir="${src}" files="${includes.list}">
  73
+				</filelist>
74 74
 			</concat>
75 75
 	</target>
76 76
 
29  includes.list
... ...
@@ -1,17 +1,16 @@
1  
-
2  
-core.js
3  
-aframe.js
4  
-dataContainer.js
5  
-observable.js
6  
-observablesMixin.js
7  
-aobject.js
8  
-plugin.js
9  
-arrayCommonFunctionsMixin.js
10  
-mvcHash.js
11  
-mvcArray.js
12  
-display.js
13  
-list.js
14  
-listPluginBindToCollection.js
15  
-collectionPluginPersistence.js
  1
+includes.list=core.js,\
  2
+aframe.js,\
  3
+dataContainer.js,\
  4
+observable.js,\
  5
+observablesMixin.js,\
  6
+aobject.js,\
  7
+plugin.js,\
  8
+arrayCommonFunctionsMixin.js,\
  9
+mvcHash.js,\
  10
+mvcArray.js,\
  11
+display.js,\
  12
+list.js,\
  13
+listPluginBindToCollection.js,\
  14
+collectionPluginPersistence.js,\
16 15
 form.js
17 16
 

0 notes on commit fb61b4a

Please sign in to comment.
Something went wrong with that request. Please try again.