That looks close to what I just committed.

Modified: incubator/flex/falcon/trunk/compiler/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler/build.xml
?rev=1403867&r1=1403866&r2=1403867&view=diff
===========================================================================
===
--- incubator/flex/falcon/trunk/compiler/build.xml (original)
+++ incubator/flex/falcon/trunk/compiler/build.xml Tue Oct 30 20:59:36 2012
@@ -763,6 +763,8 @@
                 <exclude name="frameworks/projects/**/*"/>
              </fileset>
         </copy>
+        <!-- if sdk.branch is set to binary distro antTasks is in a
different place -->
+        <copy file="${sdk.branch}/ant/lib/antTasks.jar"
todir="${sdk}/lib" failonerror="false"/>
         <copy todir="${sdk}/bin-legacy" includeEmptyDirs="false">
             <fileset dir="${sdk.branch}/bin">
                 <include name="**/*"/>



Carol


On 10/30/12 5 :13PM, "Cyrill Zadra" <cyrill.za...@gmail.com> wrote:

>In my case I just added following part at line 770 to the build.xml
>
>         <!-- Copy flexTasks.jar from binary kit if it doesn't already
>exists  -->
>    <copy todir="${sdk}/lib" overwrite="false" failonerror="false" >
>    <fileset file="${sdk.branch}/ant/lib/flexTasks.jar" />
>    </copy>
>
>If this is sufficient I can create a Jira and add a patch to it.
>
>cyrill
>
>On Tue, Oct 30, 2012 at 1:04 PM, Carol Frampton <cfram...@adobe.com>
>wrote:
>
>> The location of flexTasks.jar is different in the binary kit then it is
>>in
>> the source tree.
>>
>> In the source tree it is in the lib directory.  In the kit it is in
>> ant/lib.
>>
>> The build file can be made to look in both places.
>>
>> Carol
>>
>> On 10/30/12 3 :41PM, "Cyrill Zadra" <cyrill.za...@gmail.com> wrote:
>>
>> >Hi
>> >
>> >After reading through
>> >https://cwiki.apache.org/confluence/display/FLEX/Falcon+Overview I
>> started
>> >the building procedure.
>> >
>> >Instead of using a flex sdk builded by my own (ant main) I set the
>> >reference of the sdk.branch property to the downloaded apache flex sdk
>> >4.8.0.
>> >Everything would work except that the java lib flexTasks.jar isn't
>>copied.
>> > So i copied the flexTasks.jar manually and the build could finish
>>with no
>> >other errors.. Great!!
>> >
>> >Is it a prerequisite to use sdk builded with ant main? If so, it would
>>be
>> >helpful to have this information in the wiki page.
>> >
>> >cyrill
>>
>>

Reply via email to