You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/05/12 15:06:07 UTC

git commit: [flex-asjs] [refs/heads/release0.8.0] - Fix to get StorageExample working again.

Repository: flex-asjs
Updated Branches:
  refs/heads/release0.8.0 413451159 -> 8b9908867


Fix to get StorageExample working again.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8b990886
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8b990886
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8b990886

Branch: refs/heads/release0.8.0
Commit: 8b9908867fa5c714e90e7a43235ed9f382d1a411
Parents: 4134511
Author: Peter Ent <pe...@apache.org>
Authored: Fri May 12 11:06:05 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Fri May 12 11:06:05 2017 -0400

----------------------------------------------------------------------
 examples/flexjs/StorageExample/build.xml        | 10 ++++++
 .../src/main/flex/MyInitialView.mxml            | 32 ++++++++++----------
 2 files changed, 26 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b990886/examples/flexjs/StorageExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/build.xml b/examples/flexjs/StorageExample/build.xml
index a93bf25..89fd353 100644
--- a/examples/flexjs/StorageExample/build.xml
+++ b/examples/flexjs/StorageExample/build.xml
@@ -53,6 +53,16 @@
     <include file="${basedir}/../../build_example.xml" />
 
     <target name="main" depends="clean,build_example.compile" description="Clean build of ${example}">
+    	<copy todir="${basedir}/bin-debug" >
+            <fileset dir="${basedir}">
+                <include name="*-app.xml" />
+            </fileset>
+        </copy>
+        <copy todir="${basedir}/bin-release" >
+            <fileset dir="${basedir}">
+                <include name="*-app.xml" />
+            </fileset>
+        </copy>
     </target>
     
     <target name="clean">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b990886/examples/flexjs/StorageExample/src/main/flex/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/src/main/flex/MyInitialView.mxml b/examples/flexjs/StorageExample/src/main/flex/MyInitialView.mxml
index 370d0af..31d14a8 100644
--- a/examples/flexjs/StorageExample/src/main/flex/MyInitialView.mxml
+++ b/examples/flexjs/StorageExample/src/main/flex/MyInitialView.mxml
@@ -202,44 +202,44 @@ limitations under the License.
 		<js:ViewDataBinding />
 	</js:beads>
 	
-	<js:VContainer width="100%" height="100%">
+	<js:VGroup>
 		<js:Label text="Storage Example" width="100%" />
 		<js:Spacer height="20" />
 		
-		<js:HContainer>
+		<js:HGroup>
 			<js:Label text="Write File Name:" className="labelStyle" />
 			<js:TextInput id="writeFileNameField" text="testfile.txt" />
-		</js:HContainer>
-		<js:HContainer>
+		</js:HGroup>
+		<js:HGroup>
 			<js:Label text="Content:" className="labelStyle" />
 			<js:TextInput id="contentField" />
-		</js:HContainer>
-		<js:HContainer>
+		</js:HGroup>
+		<js:HGroup>
 			<js:TextButton text="SAVE" click="onSave()" />
 			<js:Spacer width="10" />
 			<js:TextButton text="SAVE STREAM" click="onSaveStream()" />
-		</js:HContainer>
+		</js:HGroup>
 		<js:Spacer height="20" />
 		
 		<js:Label id="status" />
 		<js:Spacer height="20" />
 		
-		<js:HContainer>
+		<js:HGroup>
 			<js:Label text="Read File Name:" className="labelStyle" />
 			<js:TextInput id="readFileNameField" text="testfile.txt" />
-		</js:HContainer>
-		<js:HContainer>
+		</js:HGroup>
+		<js:HGroup>
 			<js:TextButton text="READ" click="onRead()" />
 			<js:Spacer width="10" />
 			<js:TextButton text="READ STREAM" click="onReadStream()" />
-		</js:HContainer>
-		<js:HContainer>
+		</js:HGroup>
+		<js:HGroup>
 			<js:Label text="Content:" className="labelStyle" />
-		</js:HContainer>
-		<js:HContainer>
+		</js:HGroup>
+		<js:HGroup>
 			<js:Label id="readContent" className="contentStyle" />
-		</js:HContainer>
-	</js:VContainer>
+		</js:HGroup>
+	</js:VGroup>
 		
 
 </js:View>