Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  
  3. <!-- ======================================================================
  4. Copyright 2011 Google Inc. All Rights Reserved.
  5. Author: lizlooney@google.com (Liz Looney)
  6. App Inventor common libraries
  7. ====================================================================== -->
  8.  
  9. <project name="AllProjects" default="all">
  10. <description>
  11. App Inventor
  12. </description>
  13.  
  14. <target name="all">
  15. <ant inheritAll="false" useNativeBasedir="true" dir="appengine"/>
  16. <ant inheritAll="false" useNativeBasedir="true" dir="blocklyeditor"/>
  17. <ant inheritAll="false" useNativeBasedir="true" dir="common"/>
  18. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver"/>
  19. <ant inheritAll="false" useNativeBasedir="true" dir="components"/>
  20. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="PlayApp"/>
  21. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="PlayAppExtras"/>
  22. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="Emulator"/>
  23. </target>
  24.  
  25. <target name="MakeAuthKey">
  26. <ant inheritAll="false" useNativeBasedir="true" dir="appengine" target="MakeAuthKey"/>
  27. </target>
  28.  
  29. <target name="comps">
  30. <ant inheritAll="false" useNativeBasedir="true" dir="components"/>
  31. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="installplay"/>
  32. </target>
  33.  
  34. <target name="comps1">
  35. <ant inheritAll="false" useNativeBasedir="true" dir="components"/>
  36. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="BuildServer"/>
  37. </target>
  38.  
  39. <target name="docs">
  40. <ant inheritAll="false" useNativeBasedir="true" dir="appengine" target="CopyToBuildWar"/>
  41. </target>
  42.  
  43. <target name="extensions">
  44. <ant inheritAll="false" useNativeBasedir="true" dir="components" target="clean"/>
  45. <ant inheritAll="false" useNativeBasedir="true" dir="components" target="extensions"/>
  46. </target>
  47.  
  48. <target name="noplay">
  49. <ant inheritAll="false" useNativeBasedir="true" dir="appengine"/>
  50. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver"/>
  51. </target>
  52.  
  53. <target name="installplay">
  54. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="installplay"/>
  55. </target>
  56.  
  57. <target name="RunLocalBuildServer">
  58. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="RunLocalBuildServer"/>
  59. </target>
  60.  
  61. <target name="PlayApp">
  62. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="PlayApp"/>
  63. </target>
  64.  
  65. <target name="PlayAppExtras">
  66. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="PlayAppExtras"/>
  67. </target>
  68.  
  69. <target name="Emulator">
  70. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="Emulator"/>
  71. </target>
  72.  
  73. <target name="AIMergerApp">
  74. <ant inheritAll="false" useNativeBasedir="true" dir="aimerger" target="AIMergerApp"/>
  75. </target>
  76.  
  77. <target name="devmode" depends="noplay">
  78. <ant inheritAll="false" useNativeBasedir="true" dir="appengine" target="devmode"/>
  79. </target>
  80.  
  81. <!-- Convenient target for just running the blockly related tests -->
  82. <target name="BlocklyTest">
  83. <ant inheritAll="false" useNativeBasedir="true" dir="blocklyeditor" target="tests"/>
  84. </target>
  85.  
  86. <target name="tests">
  87. <ant inheritAll="false" useNativeBasedir="true" dir="appengine" target="tests"/>
  88. <ant inheritAll="false" useNativeBasedir="true" dir="blocklyeditor" target="tests"/>
  89. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="tests"/>
  90. <ant inheritAll="false" useNativeBasedir="true" dir="common" target="tests"/>
  91. <ant inheritAll="false" useNativeBasedir="true" dir="components" target="tests"/>
  92. <mkdir dir="reports"/>
  93. <junitreport todir="reports">
  94. <fileset dir="appengine/reports/raw" includes="TEST-*.xml"/>
  95. <!-- These are not the comments you're looking for. This is for testing -->
  96. <fileset dir="blocklyeditor/reports/raw" includes="TEST-*.xml"/>
  97. <fileset dir="buildserver/reports/raw" includes="TEST-*.xml"/>
  98. <fileset dir="common/reports/raw" includes="TEST-*.xml"/>
  99. <fileset dir="components/reports/raw" includes="TEST-*.xml"/>
  100. <report format="frames" todir="reports/html"/>
  101. </junitreport>
  102. <echo message="Please see the report at file://${basedir}/reports/html/index.html"/>
  103. </target>
  104.  
  105. <target name="javadoc">
  106. <mkdir dir="build/javadoc"/>
  107. <javadoc destdir="build/javadoc">
  108. <sourcepath>
  109. <pathelement location="appengine/src" />
  110. <pathelement location="buildserver/src" />
  111. <pathelement location="common/src" />
  112. <pathelement location="components/src" />
  113. <pathelement location="build/components/ComponentTranslation/src" />
  114. </sourcepath>
  115. <classpath>
  116. <fileset dir="buildserver/lib" includes="**/*.jar"/>
  117. <fileset dir="lib" includes="**/*.jar"/>
  118. <pathelement location="common/build/classes/CommonVersion" />
  119. </classpath>
  120. <!-- TODO(opensource) - Add more <link> elements that correspond to the jars on the
  121. classpath above,so our javadoc will link appropriate online javadoc for libraries we
  122. depend on. -->
  123. <link href="http://download.oracle.com/javase/6/docs/api/"/>
  124. <link href="http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/"/>
  125. <link href="http://d.android.com/reference"
  126. offline="true"
  127. packagelistLoc="lib/android"/>
  128. </javadoc>
  129. </target>
  130.  
  131. <target name="clean">
  132. <ant inheritAll="false" useNativeBasedir="true" dir="appengine" target="clean"/>
  133. <ant inheritAll="false" useNativeBasedir="true" dir="blocklyeditor" target="clean"/>
  134. <ant inheritAll="false" useNativeBasedir="true" dir="aimerger" target="clean"/>
  135. <ant inheritAll="false" useNativeBasedir="true" dir="buildserver" target="clean"/>
  136. <ant inheritAll="false" useNativeBasedir="true" dir="common" target="clean"/>
  137. <ant inheritAll="false" useNativeBasedir="true" dir="components" target="clean"/>
  138. <delete dir="build"/>
  139. <delete dir="reports"/>
  140. </target>
  141. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement