You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Cyrill Zadra <cy...@gmail.com> on 2012/10/30 20:41:05 UTC
Building Falcon
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
Re: Building Falcon
Posted by Cyrill Zadra <cy...@gmail.com>.
Great. It's working now. Thanks.
On Thu, Nov 1, 2012 at 8:31 AM, Carol Frampton <cf...@adobe.com> wrote:
> Sorry about that. I just fixed it. I don't quite understand how I messed
> that up since I thought I tested it.
>
> Carol
>
> On 10/30/12 8 :03PM, "Cyrill Zadra" <cy...@gmail.com> wrote:
>
> >Hi carol
> >
> >Shouldn't it be flexTasks.jar instead of antTasks.jar?
> >
> >cyrill
> >
> >
> >On Tue, Oct 30, 2012 at 2:18 PM, Carol Frampton <cf...@adobe.com>
> >wrote:
> >
> >> 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.x
> >>ml
> >> ?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" <cy...@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 <cf...@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" <cy...@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
> >> >>
> >> >>
> >>
> >>
>
>
Re: Building Falcon
Posted by Carol Frampton <cf...@adobe.com>.
Sorry about that. I just fixed it. I don't quite understand how I messed
that up since I thought I tested it.
Carol
On 10/30/12 8 :03PM, "Cyrill Zadra" <cy...@gmail.com> wrote:
>Hi carol
>
>Shouldn't it be flexTasks.jar instead of antTasks.jar?
>
>cyrill
>
>
>On Tue, Oct 30, 2012 at 2:18 PM, Carol Frampton <cf...@adobe.com>
>wrote:
>
>> 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.x
>>ml
>> ?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" <cy...@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 <cf...@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" <cy...@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
>> >>
>> >>
>>
>>
Re: Building Falcon
Posted by Cyrill Zadra <cy...@gmail.com>.
Hi carol
Shouldn't it be flexTasks.jar instead of antTasks.jar?
cyrill
On Tue, Oct 30, 2012 at 2:18 PM, Carol Frampton <cf...@adobe.com> wrote:
> 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" <cy...@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 <cf...@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" <cy...@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
> >>
> >>
>
>
Re: Building Falcon
Posted by Carol Frampton <cf...@adobe.com>.
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" <cy...@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 <cf...@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" <cy...@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
>>
>>
Re: Building Falcon
Posted by Cyrill Zadra <cy...@gmail.com>.
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 <cf...@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" <cy...@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
>
>
Re: Building Falcon
Posted by Carol Frampton <cf...@adobe.com>.
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" <cy...@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