incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gordonsm...@apache.org
Subject svn commit: r1383692 - in /incubator/flex/falcon/trunk/compiler: build.xml downloads.xml
Date Wed, 12 Sep 2012 00:29:29 GMT
Author: gordonsmith
Date: Wed Sep 12 00:29:29 2012
New Revision: 1383692

URL: http://svn.apache.org/viewvc?rev=1383692&view=rev
Log:
Falcon: Added some <echo> tasks to various targets to indicate what they are doing.
The idea is that with the -q option the Ant output will look nice.

Modified:
    incubator/flex/falcon/trunk/compiler/build.xml
    incubator/flex/falcon/trunk/compiler/downloads.xml

Modified: incubator/flex/falcon/trunk/compiler/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler/build.xml?rev=1383692&r1=1383691&r2=1383692&view=diff
==============================================================================
--- incubator/flex/falcon/trunk/compiler/build.xml (original)
+++ incubator/flex/falcon/trunk/compiler/build.xml Wed Sep 12 00:29:29 2012
@@ -101,7 +101,7 @@
     </target>
 
     <target name="clean" description="clean">
-        <echo message="Cleaning out generated dir: ${generated.output}" />
+        <echo message="Deleting 'generated' directory" />
         <delete failonerror="false" quiet="true" includeemptydirs="true">
             <fileset dir="${generated.output}">
                 <include name="**/*" />
@@ -396,6 +396,7 @@
     </macrodef>
 
     <target name="as3.lexer">
+        <echo message="Generating RawASTokenizer and RawASDocTokenizer"/>
         <sequential>
         	<!-- Generate RawASTokenizer.java from RawASTokenizer.lex -->
             <jflex output="${as3.parser.package}" input="${as3.grammar.dir}/RawASTokenizer.lex"
skeleton="${as3.grammar.dir}/skeleton.falcon" />
@@ -405,6 +406,7 @@
     </target>
 
     <target name="as3.parser" depends="prepare,as3.lexer" unless="as3.parser.uptodate">
+        <echo message="Generating ASParser and ASTokenTypes"/>
         <sequential>
             <as3.antlr grammar="${as3.grammar.dir}/ASParser.g" output="${as3.parser.package}"
/>
             <as3.antlr grammar="${as3.grammar.dir}/MetadataParser.g" output="${as3.parser.package}"
/>
@@ -421,6 +423,7 @@
     </target>
 
     <target name="mxml.tokenizer" depends="prepare" unless="mxml.tokenizer.uptodate">
+        <echo message="Generating RawMXMLTokenizer"/>
         <sequential>
         	<!-- Generate RawMXMLTokenizer.java from RawMXMLTokenizer.lex -->
             <jflex output="${mxml.tokenizer.package}" input="${mxml.grammar.dir}/RawMXMLTokenizer.lex"
/>
@@ -459,6 +462,7 @@
 
     <!-- Generate CSS3 lexer, parser and tree walker using ANTLR3. -->
     <target name="css.grammar" description="Generate CSS3 lexer, parser and tree walker
using ANTLR3." depends="prepare" unless="CSS3.uptodate">
+        <echo message="Generating CSSLexer, CSSParser, and CSSTree"/>
         <antlr3 grammar="${css.grammar.parser}" output="${css.parser.package}" />
         <antlr3 grammar="${css.grammar.tree}" output="${css.parser.package}" />
         <annotate.class file="${css.parser.package}/CSSLexer.java" annotation='@SuppressWarnings("unused")'
/>
@@ -507,6 +511,7 @@
     </macrodef>
 
     <target name="as3.codegen.emitter" depends="as3.codegen.support" unless="CmcEmitter.uptodate">
+        <echo message="Generating CmcEmitter"/>
         <dirname property="as3.codegen.emitter.@{grammar}.dirname" file="@{grammar}" />
         <jburg spec="${as3.codegen}/cmc.jbg" output="${as3.codegen.generated.src}/${as3.codegen.package.dir}/CmcEmitter.java"
/>
         <annotate.class file="${as3.codegen.generated.src}/${as3.codegen.package.dir}/CmcEmitter.java"
annotation='@SuppressWarnings({"rawtypes", "unchecked", "unused"})' />
@@ -528,6 +533,7 @@
     </target>
 
     <target name="css.codegen.emitter" depends="as3.codegen.support" unless="CSSEmitter.uptodate">
+        <echo message="Generating CSSEmitter"/>
         <dirname property="as3.codegen.emitter.@{grammar}.dirname" file="@{grammar}" />
         <jburg spec="${css.codegen}/css.jbg" output="${css.codegen.generated.src}/${css.codegen.package.dir}/CSSEmitter.java"
/>
         <annotate.class file="${css.codegen.generated.src}/${css.codegen.package.dir}/CSSEmitter.java"
annotation='@SuppressWarnings({"rawtypes", "unchecked", "unused"})' />
@@ -536,6 +542,7 @@
 
     <!-- Build support.swc -->
     <target name="support.library" depends="prepare,copy.sdk" unless="support.library.uptodate"
description="Builds 'support.swc' library.">
+        <echo message="Building support.swc"/>
         <taskdef name="compc" classname="flex.ant.CompcTask">
             <classpath>
                 <pathelement location="${oldlib.dir}/flexTasks.jar" />

Modified: incubator/flex/falcon/trunk/compiler/downloads.xml
URL: http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler/downloads.xml?rev=1383692&r1=1383691&r2=1383692&view=diff
==============================================================================
--- incubator/flex/falcon/trunk/compiler/downloads.xml (original)
+++ incubator/flex/falcon/trunk/compiler/downloads.xml Wed Sep 12 00:29:29 2012
@@ -58,7 +58,6 @@
 		description="Downloads all the required thirdparty JARs"/>
 
     <target name="prepare" >
-		<echo message="Making lib directory ${basedir}/${lib.dir}"/>
         <mkdir dir="${lib.dir}" />
     </target>
     
@@ -211,7 +210,7 @@
     
     <target name="antlr-jar" depends="antlr-jar-check" unless="antlr.jar.exists"
         description="Copies the antlr jar to the lib directory.">
-
+        <echo message="Obtaining lib/antlr.jar"/>
         <antcall target="antlr-download-jar"/>
         <echo file="${lib.dir}/antlr-LICENSE.TXT">http://www.antlr.org/license.html</echo>

     </target>
@@ -243,7 +242,7 @@
     
     <target name="commons-cli-jar" depends="commons-cli-jar-check" unless="commons.cli.jar.exists"

         description="Downloads and copies common-cli.jar to the lib directory.">
-                
+        <echo message="Obtaining lib/commons-cli.jar"/>
         <antcall target="download-zip">
           <param name="srcUrl" value="http://archive.apache.org/dist/commons/cli/binaries"/>
           <param name="zipFile" value="${commons-cli.name}-bin.tar.gz"/>
@@ -271,7 +270,7 @@
     <target name="commons-io-jar" depends="commons-io-jar-check" 
         unless="commons.io.jar.exists" 
         description="Copies commons-io.jar to the lib directory.">
-                
+        <echo message="Obtaining lib/commons-io.jar"/>
         <antcall target="download-zip">
           <param name="srcUrl" value="http://archive.apache.org/dist/commons/io/binaries"/>
           <param name="zipFile" value="${commons-io.name}-bin.tar.gz"/>
@@ -300,7 +299,7 @@
     <target name="guava-jar" depends="guava-jar-check" 
         unless="guava.jar.exists" 
         description="Downloads and copies guava.jar to the lib directory.">
-
+        <echo message="Obtaining lib/guava.jar"/>
         <antcall target="download-zip">
           <param name="srcUrl" value="http://guava-libraries.googlecode.com/files/"/>
           <param name="zipFile" value="${guava.name}.zip"/>
@@ -322,7 +321,7 @@
     
     <target name="jburg-jar" depends="jburg-jar-check" unless="jburg.jar.exists" 
         description="Copies jburg.jar to the lib directory.">
-
+        <echo message="Obtaining lib/jburg.jar"/>
         <antcall target="download-zip">
           <param name="srcUrl" value="http://downloads.sourceforge.net/project/jburg"/>
           <param name="zipFile" value="${jburg.name}.tar.gz"/>
@@ -351,6 +350,7 @@
     
 	<target name="lzma-jar" depends="lzma-jar-check" unless="lzma.jar.exists" 
         description="Copies the lzma build jars.">
+        <echo message="Obtaining lib/lzma.jar"/>
         <antcall target="download-bz2">
           <param name="srcUrl" value="http://downloads.sourceforge.net/project/sevenzip/LZMA%20SDK"/>
           <param name="zipFile" value="lzma920.tar.bz2"/>
@@ -380,5 +380,4 @@
         </jar>
     </target>
     
-    
 </project>



Mime
View raw message