RE: [flexcoders] flex2ant

2007-01-09 Thread Dirk Eismann
You might want to use the eclipse.incrementalBuild Task that comes with
Eclipse. This allows to invoke the incremental Flex Builder compiler
from within Ant. This gives you the same compilation performance as
using Build Automatically plus adds all the nice stuff you can achieve
with Ant :-)
 
Check my blog post here:
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B9855
2AF89BBE463
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B985
52AF89BBE463 
 
You'll only need to make sure that Ant runs in the same JRE as the
workspace.
 
Dirk.




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Sascha
Sent: Monday, January 08, 2007 6:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant



Actually I would like to use Ant in Eclipse running with Flex2
PlugIn to build my projects! For AS2 is always used AS2Ant with FDT and
MTASC and it was the best!

Unfortunately things look different for Flex Builder. Building
the project with an Ant task is slower than using Flex Builder and
'Build Automatically' is necessary for compile time error checking
(while MTASC did this automatically on-the-fly) but it would then also
always build when using the Ant task.

 

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks
(i.e. increasing build number and store in an auto generated AppInfo
class) and then call the Flex builder build process from Ant. I'm not
Ant magican but is this possible?

 

Sascha

 

 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Lance Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

Very nice work!

 

I thought about doing something like this before and ended up
taking a bit of a different approach. What I did was create a task that
can read the flex project files and from these use mxmlc and compc to
build the projects. What I figured is that if Flex Builder is creating
the project files for me and can compile off of these that I would mimic
the same thing! If people are interested in using this approach I will
look at hosting it somewhere. This is however an NAnt task so I suspect
there will be less people interested in this.

 

Lance

 

From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

 

Hi list,

Now Flash player 9 (beta) for Linux has been released we can
finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof
of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within
Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go
over
to http://www.flex2ant.org http://www.flex2ant.org  and
download the latest release.

regards,
Luke



 



RE: [flexcoders] flex2ant

2007-01-09 Thread Sascha
Thanks for the info Dirk (and all others)! I will give the incrementalBuild
task a try! This is definitely going to makes some things more comfortable.

As mentioned before when I used FDT/MATSC I had several default At files
that were imported into a build file template and every time I started a new
Project, I just had to create a build.xml, hit the init task and it would
prepare stuff like default classes etc. Plus a build number was saved
(buildnumber task) and a class was created everytime that stores version and
build number among some copyright tags etc.

 

Cheers,

Sascha

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Tuesday, 09 January, 2007 21:44
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

You might want to use the eclipse.incrementalBuild Task that comes with
Eclipse. This allows to invoke the incremental Flex Builder compiler from
within Ant. This gives you the same compilation performance as using Build
Automatically plus adds all the nice stuff you can achieve with Ant :-)

 

Check my blog post here:
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B98552AF
89BBE463
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B98552AF8
9BBE463

 

You'll only need to make sure that Ant runs in the same JRE as the
workspace.

 

Dirk.

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha
Sent: Monday, January 08, 2007 6:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to
build my projects! For AS2 is always used AS2Ant with FDT and MTASC and it
was the best!

Unfortunately things look different for Flex Builder. Building the project
with an Ant task is slower than using Flex Builder and 'Build Automatically'
is necessary for compile time error checking (while MTASC did this
automatically on-the-fly) but it would then also always build when using the
Ant task.

 

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks (i.e.
increasing build number and store in an auto generated AppInfo class) and
then call the Flex builder build process from Ant. I'm not Ant magican but
is this possible?

 

Sascha

 

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lance Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

Very nice work!

 

I thought about doing something like this before and ended up taking a bit
of a different approach. What I did was create a task that can read the flex
project files and from these use mxmlc and compc to build the projects. What
I figured is that if Flex Builder is creating the project files for me and
can compile off of these that I would mimic the same thing! If people are
interested in using this approach I will look at hosting it somewhere. This
is however an NAnt task so I suspect there will be less people interested in
this.

 

Lance

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

 

Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant http://www.flex2ant.org .org and download the
latest release.

regards,
Luke

 



RE: [flexcoders] flex2ant

2007-01-08 Thread Dimitrios Gianninas
I do everything in an ant build script. The compiler used in Flex Builder is 
the same u would use via ant, no difference. Actually I find it slower in FB.
 
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sascha
Sent: Monday, January 08, 2007 12:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant



Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to build 
my projects! For AS2 is always used AS2Ant with FDT and MTASC and it was the 
best!

Unfortunately things look different for Flex Builder. Building the project with 
an Ant task is slower than using Flex Builder and 'Build Automatically' is 
necessary for compile time error checking (while MTASC did this automatically 
on-the-fly) but it would then also always build when using the Ant task.

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks (i.e. increasing 
build number and store in an auto generated AppInfo class) and then call the 
Flex builder build process from Ant. I'm not Ant magican but is this possible?

Sascha



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lance 
Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

Very nice work!

I thought about doing something like this before and ended up taking a bit of a 
different approach. What I did was create a task that can read the flex project 
files and from these use mxmlc and compc to build the projects. What I figured 
is that if Flex Builder is creating the project files for me and can compile 
off of these that I would mimic the same thing! If people are interested in 
using this approach I will look at hosting it somewhere. This is however an 
NAnt task so I suspect there will be less people interested in this.

Lance

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant.org http://www.flex2ant.org  and download the latest 
release.

regards,
Luke

 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



RE: [flexcoders] flex2ant

2007-01-08 Thread Lance Linder
Sascha,

 

I looked into doing this before and found that it should be possible to
get Ant to do incremental builds inside of Eclipse using its built in
Ant capabilities. Going back several months I remember reading that Flex
Builder adds a couple Ant tasks that it uses internally which can also
be used by any Ant script that uses Eclipses internal Ant library.

 

Maybe others can shed some light on this subject?

 

My approach is slightly different in that I use Flex Builder as is out
of the box and I have a build server which uses Ant scripts to basically
mimic how Flex Builder works with its project files.

 

Lance

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha
Sent: Sunday, January 07, 2007 11:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to
build my projects! For AS2 is always used AS2Ant with FDT and MTASC and
it was the best!

Unfortunately things look different for Flex Builder. Building the
project with an Ant task is slower than using Flex Builder and 'Build
Automatically' is necessary for compile time error checking (while MTASC
did this automatically on-the-fly) but it would then also always build
when using the Ant task.

 

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks (i.e.
increasing build number and store in an auto generated AppInfo class)
and then call the Flex builder build process from Ant. I'm not Ant
magican but is this possible?

 

Sascha

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lance Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

Very nice work!

 

I thought about doing something like this before and ended up taking a
bit of a different approach. What I did was create a task that can read
the flex project files and from these use mxmlc and compc to build the
projects. What I figured is that if Flex Builder is creating the project
files for me and can compile off of these that I would mimic the same
thing! If people are interested in using this approach I will look at
hosting it somewhere. This is however an NAnt task so I suspect there
will be less people interested in this.

 

Lance

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

 

Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant.org and download the latest release.

regards,
Luke

 



RE: [flexcoders] flex2ant

2007-01-08 Thread Sascha
Did you turn off Automatic Build? I think otherwise it always build twice?

Maybe the speed is just an illusion as the internal build operation only
compiles if changes happened and Ant builds it every time no matter if
changes happened.

However with Ant it takes 3-4 seconds to build a simple project here. With
the Run… it takes 1-2 seconds, after doing changes and I have auto saving
checked so the build is being compiled and not just started.

 

How fast is your Ant build going and do you have any hints on making it
faster?

 

Thanks,

Sascha

 

 

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dimitrios Gianninas
Sent: Monday, 08 January, 2007 23:32
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

I do everything in an ant build script. The compiler used in Flex Builder is
the same u would use via ant, no difference. Actually I find it slower in
FB.

 

Dimitrios Gianninas

RIA Developer

Optimal Payments Inc.

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha
Sent: Monday, January 08, 2007 12:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to
build my projects! For AS2 is always used AS2Ant with FDT and MTASC and it
was the best!

Unfortunately things look different for Flex Builder. Building the project
with an Ant task is slower than using Flex Builder and 'Build Automatically'
is necessary for compile time error checking (while MTASC did this
automatically on-the-fly) but it would then also always build when using the
Ant task.

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks (i.e.
increasing build number and store in an auto generated AppInfo class) and
then call the Flex builder build process from Ant. I'm not Ant magican but
is this possible?

Sascha

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lance Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

Very nice work!

I thought about doing something like this before and ended up taking a bit
of a different approach. What I did was create a task that can read the flex
project files and from these use mxmlc and compc to build the projects. What
I figured is that if Flex Builder is creating the project files for me and
can compile off of these that I would mimic the same thing! If people are
interested in using this approach I will look at hosting it somewhere. This
is however an NAnt task so I suspect there will be less people interested in
this.

Lance

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant http://www.flex2ant.org .org and download the
latest release.

regards,
Luke


AVIS IMPORTANT

WARNING


Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés destinés
au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
privilège ou à aucun autre droit si le présent message a été transmis
involontairement ou s'il est retransmis sans son autorisation. Si vous
n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
que toutes ses pièces jointes, de votre système. La lecture, la
distribution, la copie ou tout autre usage du présent message ou de ses
pièces jointes par des personnes autres que le destinataire visé ne sont pas
autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
électronique par erreur, veuillez en aviser l'expéditeur.

This electronic message and its attachments may contain confidential,
proprietary or legally privileged information, which is solely for the use
of the intended recipient. No privilege or other rights are waived by any
unintended transmission or unauthorized retransmission of this message. If
you are not the intended recipient of this message, or if you have received
it in error, you should immediately stop reading this message and delete it
and all attachments from your system. The reading, distribution, copying or
other use of this message or its attachments by unintended recipients is
unauthorized and may be unlawful. If you have received this e-mail in error,
please notify the sender.

 



Re: [flexcoders] flex2ant

2007-01-08 Thread Douglas Knudsen

http://www.mail-archive.com/search?l=flexcoders%40yahoogroups.comq=ant+mxmlc
You can search the archives with this on ANT.  Its possible to do this,
there are some examples inthe archives on it.

DK

On 1/8/07, Lance Linder [EMAIL PROTECTED] wrote:


 Sascha,



I looked into doing this before and found that it should be possible to
get Ant to do incremental builds inside of Eclipse using its built in Ant
capabilities. Going back several months I remember reading that Flex Builder
adds a couple Ant tasks that it uses internally which can also be used by
any Ant script that uses Eclipses internal Ant library.



Maybe others can shed some light on this subject?



My approach is slightly different in that I use Flex Builder as is out of
the box and I have a build server which uses Ant scripts to basically mimic
how Flex Builder works with its project files.



Lance



*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Sascha
*Sent:* Sunday, January 07, 2007 11:27 PM
*To:* flexcoders@yahoogroups.com
*Subject:* RE: [flexcoders] flex2ant



Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to
build my projects! For AS2 is always used AS2Ant with FDT and MTASC and it
was the best!

Unfortunately things look different for Flex Builder. Building the project
with an Ant task is slower than using Flex Builder and 'Build Automatically'
is necessary for compile time error checking (while MTASC did this
automatically on-the-fly) but it would then also always build when using the
Ant task.



Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks (i.e.
increasing build number and store in an auto generated AppInfo class) and
then call the Flex builder build process from Ant. I'm not Ant magican but
is this possible?



Sascha




  --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Lance Linder
*Sent:* Monday, 08 January, 2007 03:37
*To:* flexcoders@yahoogroups.com
*Subject:* RE: [flexcoders] flex2ant



Very nice work!



I thought about doing something like this before and ended up taking a bit
of a different approach. What I did was create a task that can read the flex
project files and from these use mxmlc and compc to build the projects. What
I figured is that if Flex Builder is creating the project files for me and
can compile off of these that I would mimic the same thing! If people are
interested in using this approach I will look at hosting it somewhere. This
is however an NAnt task so I suspect there will be less people interested in
this.



Lance



*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *flex2ant
*Sent:* Friday, October 27, 2006 7:50 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] flex2ant



Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant.org and download the latest release.

regards,
Luke

 





--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


RE: [flexcoders] flex2ant

2007-01-07 Thread Lance Linder
Very nice work!

 

I thought about doing something like this before and ended up taking a
bit of a different approach. What I did was create a task that can read
the flex project files and from these use mxmlc and compc to build the
projects. What I figured is that if Flex Builder is creating the project
files for me and can compile off of these that I would mimic the same
thing! If people are interested in using this approach I will look at
hosting it somewhere. This is however an NAnt task so I suspect there
will be less people interested in this.

 

Lance

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

 

Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant.org and download the latest release.

regards,
Luke

 



RE: [flexcoders] flex2ant

2007-01-07 Thread Sascha
Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to
build my projects! For AS2 is always used AS2Ant with FDT and MTASC and it
was the best!

Unfortunately things look different for Flex Builder. Building the project
with an Ant task is slower than using Flex Builder and 'Build Automatically'
is necessary for compile time error checking (while MTASC did this
automatically on-the-fly) but it would then also always build when using the
Ant task.

 

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks (i.e.
increasing build number and store in an auto generated AppInfo class) and
then call the Flex builder build process from Ant. I'm not Ant magican but
is this possible?

 

Sascha

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lance Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

Very nice work!

 

I thought about doing something like this before and ended up taking a bit
of a different approach. What I did was create a task that can read the flex
project files and from these use mxmlc and compc to build the projects. What
I figured is that if Flex Builder is creating the project files for me and
can compile off of these that I would mimic the same thing! If people are
interested in using this approach I will look at hosting it somewhere. This
is however an NAnt task so I suspect there will be less people interested in
this.

 

Lance

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

 

Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant http://www.flex2ant.org .org and download the
latest release.

regards,
Luke

 



Re: [flexcoders] flex2ant

2006-11-02 Thread Tom Chiverton
On Thursday 02 November 2006 01:13, Luke Schreur wrote:
 I will have a look at it ASAP (means when time allows me to).

All I ever ask :-)

   externalLibraryPath=/some/path /some/other/path

Nope :-(

My build XML is now:
?xml version=1.0 encoding=ISO-8859-1?
project name=archiving basedir=. default=compile

property name=src.dir value=. /
property name=bin.dir value=../../../Archiving/trunk/index.swf /

target name=compile description=compiles the tasks
mxmlc
compiler=/opt/fds2_sdk/bin/mxmlc
mainclass=${src.dir}/index.mxml
as3=true
strict=true
output=${bin.dir}/index.swf
libraryPath=/opt/fds2_sdk/lib lib/cairngorm
benchmark=false
/
/target
/project

Compiler still can't find stuff, build fails but reports success:
Buildfile: /home/chivertont/workspace/Archiving Client Gui/trunk/src/build.xml
compile:

[mxmlc] /opt/fds2_sdk/bin/mxmlc ./index.mxml -as3 -strict -output 
../../../Archiving/trunk/index.swf/index.swf -l /opt/fds2_sdk/lib 
lib/cairngorm
[mxmlc] /bin/sh: mc: line 1: syntax error: unexpected end of file
[mxmlc] /bin/sh: error importing function definition for `mc'
[mxmlc] Loading configuration 
file /opt/fds2_sdk/frameworks/flex-config.xml
[mxmlc] /home/chivertont/workspace/Archiving Client 
Gui/trunk/src/com/halliwells/flex/archiving/view/ApplicationView.mxml: Error: 
Unable to locate specified base class 'mx.containers.VBox' for component 
class 'com.halliwells.flex.archiving.view.ApplicationView'.
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_thumbRoll.as(9): 
col: 56 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_thumbRoll extends mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_mediaType2.as(9): 
col: 57 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_mediaType2 extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_hwLogo.as(9): col: 
53 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_hwLogo extends mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_mediaType1.as(9): 
col: 57 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_mediaType1 extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_mediaType6.as(9): 
col: 57 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_mediaType6 extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_fileRejected.as(9): 
col: 59 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_fileRejected extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_listRoll.as(9): 
col: 55 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_listRoll extends mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_listOn.as(9): col: 
53 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_listOn extends mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_fileConfidentiality.as(9):
 
col: 66 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_fileConfidentiality extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_fileAccepted.as(9): 
col: 59 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_fileAccepted extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_fileConfidentialityblank.as(9):
 
col: 71 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_fileConfidentialityblank extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_mediaType4.as(9): 
col: 57 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class ArchivingAssets_mediaType4 extends 
mx.core.BitmapAsset
[mxmlc] ^
[mxmlc] 
com/halliwells/flex/archiving/view/assets/ArchivingAssets_thumbOn.as(9): col: 
54 Error: The definition of base class BitmapAsset was not found.
[mxmlc] public class 

RE: [flexcoders] flex2ant

2006-11-01 Thread Luke Schreur
Hi Tom,

I will have a look at it ASAP (means when time allows me to).

I haven't used repeatable arguments yet myself but the way I understood
the repeatable parameters were supposed to be used was something like:

--library-path=/some/path /some/other/path

So, in the ANT build file the parameter for the externalLibraryPath
attribute becomes something like:

externalLibraryPath=/some/path /some/other/path

Hope this fixes it, it not let me know.

-Luke

PS: It would be great if you could report any inconsistencies off list
by mailing me directly on info {at} flex2ant {dot} org, thanks!


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, 31 October 2006 22:29
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] flex2ant

On Saturday 28 October 2006 01:49, flex2ant wrote:
 regards,

Oh, and libraryPath doesn't seem to work how I expect - it functions
like the 
command lien argument --library-path=, not --library-path+= i.e. it
nukes the 
main library path.
libraryPath isn't repeatable (gives Attribute already specified).
Tyring to enter both the SDK lib path and the local lib. dir. doesn't
seem to 
work as I can't guess the right deliminter.

Hopefully these few hickups can easily be sorted out for v0.2, as it'd
be a 
lot easier and more standard than writing a build shell script for each 
project.

-- 
Tom Chiverton
Helping to efficiently optimize principle-centered e-tailers



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/