Author: rwhitcomb
Date: Wed Jan 31 22:39:28 2018
New Revision: 1822840

URL: http://svn.apache.org/viewvc?rev=1822840&view=rev
Log:
Update the build.xml correctly so that both the "deploy" task and running
the tutorials from the offline directories will work correctly.  This entails
copying more files to the "tutorials/ant-bin" directory, but also excluding
these newly copied files from the "deploy" task (because they are .jar'd
from the "src" locations).


Modified:
    pivot/trunk/build.xml

Modified: pivot/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/pivot/trunk/build.xml?rev=1822840&r1=1822839&r2=1822840&view=diff
==============================================================================
--- pivot/trunk/build.xml (original)
+++ pivot/trunk/build.xml Wed Jan 31 22:39:28 2018
@@ -232,8 +232,12 @@ limitations under the License.
                 <fileset dir="@{project}/${folder.bin}">
                     <exclude name="**/test/**"/>
                     <exclude name="**/*.bxml"/>
+                    <exclude name="**/*.js"/>
+                    <exclude name="**/*.jpg"/>
                     <exclude name="**/*.json"/>
                     <exclude name="**/*.png"/>
+                    <exclude name="**/*.svg"/>
+                    <exclude name="**/*.txt"/>
                 </fileset>
                 <fileset dir="@{project}/src">
                     <exclude name="**/*.java"/>
@@ -553,8 +557,12 @@ limitations under the License.
         <compile project="tutorials"/>
         <copy todir="tutorials/${folder.bin}">
             <fileset dir="tutorials/src" includes="**/*.bxml"/>
+            <fileset dir="tutorials/src" includes="**/*.js"/>
+            <fileset dir="tutorials/src" includes="**/*.jpg"/>
             <fileset dir="tutorials/src" includes="**/*.json"/>
             <fileset dir="tutorials/src" includes="**/*.png"/>
+            <fileset dir="tutorials/src" includes="**/*.svg"/>
+            <fileset dir="tutorials/src" includes="**/*.txt"/>
         </copy>
     </target>
 


Reply via email to