[flexcoders] Re: How can i include library path when using flex-mojos?

2008-06-20 Thread baztheman
Ok, here is what i have done:

Added the src/main/flex/locale/en_US to the project properties |
source directory and it seems to work. Not sure if this is the right
thing to do but it works. 

Thanks and comments are welcome. 

A.

--- In flexcoders@yahoogroups.com, baztheman [EMAIL PROTECTED] wrote:

 I am kind of frustrated when using flex-mojos when I cannot find the
 exact syntax to match the mxmlc usage. I used mvn -Dfull
 help:describe -Dplugin=flex-compiler-mojo and couldnt find how I
 should include library path. Am i going into a wrong path?
 
 Here is the original command:
 
 OPTS='-use-network=false
 -library-path+=../../frameworks/locale/{locale}
 -source-path+=locale/{local
 e} -locale=en_US'
 ../../bin/mxmlc $OPTS PhotoViewer.mxml
 
 How should i implement this in flex-mojos? So far I have the following
 errors which I can resolve in flex builder by adding
 src/main/flex/locale/en_US into the flex build path...
 
 [ERROR] Unable to resolve resource bundle strings for locale en_US.
 [ERROR] Unable to resolve resource bundle strings for locale en_US.
 [ERROR] Unable to resolve resource bundle strings for locale en_US.
 [ERROR] Unable to resolve resource bundle strings for locale en_US.
 
 Thanks. A.





[flexcoders] How can i include library path when using flex-mojos?

2008-06-19 Thread baztheman
I am kind of frustrated when using flex-mojos when I cannot find the
exact syntax to match the mxmlc usage. I used mvn -Dfull
help:describe -Dplugin=flex-compiler-mojo and couldnt find how I
should include library path. Am i going into a wrong path?

Here is the original command:

OPTS='-use-network=false
-library-path+=../../frameworks/locale/{locale}
-source-path+=locale/{local
e} -locale=en_US'
../../bin/mxmlc $OPTS PhotoViewer.mxml

How should i implement this in flex-mojos? So far I have the following
errors which I can resolve in flex builder by adding
src/main/flex/locale/en_US into the flex build path...

[ERROR] Unable to resolve resource bundle strings for locale en_US.
[ERROR] Unable to resolve resource bundle strings for locale en_US.
[ERROR] Unable to resolve resource bundle strings for locale en_US.
[ERROR] Unable to resolve resource bundle strings for locale en_US.

Thanks. A.



[flexcoders] multiple mxml files to produce multiple swf files?

2008-06-19 Thread baztheman
Hi,

Is flex-mojos by default looking for src/main/flex/Main.mxml? and
produce Main.swf? What if I have a.mxml and b.mxml in flex directory
and want to produce Main.swf, a.swf and b.swf? What should I do?

Thanks.

A.



[flexcoders] Re: Working with Flex3/Eclipse/Maven2 projects.

2008-06-16 Thread baztheman
The link returns not found error.

--- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote:

 see that
 
 http://blog.flex-mojos.info/2008/06/13/rcards4/
 
 
 
 Regards
 --Igor
 
 On Thu, Jun 12, 2008 at 8:05 PM, baztheman [EMAIL PROTECTED] wrote:
 
All,
 
  If i am developing/building Flex 3 code by using Eclipse(Europa), then
  can i build everything with Maven 2 on command line as is? How?
 
  This is assuming that I have installed the Flex 3 eclipse plug-in.
 
  Thanks.
 
  A.
 
  
 
 
 
 
 -- 
 
 Igor Costa
 www.igorcosta.com
 www.igorcosta.org





[flexcoders] Re: Silk/Flex3 SDK license issue

2008-06-16 Thread baztheman
Let me give the answer to my own question in case someone bump into
this issue as well:

The syntax for adding license information into the ant task is:

mxmlc ...

   ...
   license product=flexbuilder3 
   serial-number=-----/
   ...

/mxmlc

Thanks.

B.

--- In flexcoders@yahoogroups.com, baztheman [EMAIL PROTECTED] wrote:

 Sorry, let me re-phase my questions: How do i know there is a xml tag
 for compiler.include, and how do i know there is one called
 compiler.library-path??? So i can try to put something like
 compiler.license ?!
 
 I do not understand how to map the contents of the help document to
 the actual Ant code. For example, how can i express the followings in
 Ant configuration file?
 
 mxmlc -license=flexbuilder3, MyApp.mxml
 
 Or
 
 flex-config
 licenses
 license
 productflexbuilder3/product
 serial-number-----/serial-number
 /license
 /licenses
 ...
 /flex-config





[flexcoders] Working with Flex3/Eclipse/Maven2 projects.

2008-06-12 Thread baztheman
All,

If i am developing/building Flex 3 code by using Eclipse(Europa), then
can i build everything with Maven 2 on command line as is? How?

This is assuming that I have installed the Flex 3 eclipse plug-in.

Thanks.

A.





[flexcoders] Silk/Flex3 SDK license issue

2008-06-10 Thread baztheman
Hi,

I have the following error when running Silk with Flex3 SDK. 

My question is, do i really need the license to resolve this? I
thought if I only use Flex3 SDK and I will not need to have license.
This works before I start using Silk. 

If I do need add the license into the system, is there any file I can
manually update instead of adding via Flex3 Builder? I try to avoid
installing and IDE in the build machine.

[mxmlc] Error: Unable to resolve a class for RequiresLicense handler:
mx.controls.advancedDataGridClasses:DMVLicenseHandler.

Thank you.

A.



[flexcoders] Re: Silk/Flex3 SDK license issue

2008-06-10 Thread baztheman
So I found this page,
http://livedocs.adobe.com/flex/3/html/help.html?content=configuring_environment_2.html
 but i do not see file C:\Documents and Settings\All Users\Application
Data\Adobe\Flex\license.properties in both Flex3 SDK and Flex3 builder
machine. Why? Is this file not valid anymore for Flex 3?


--- In flexcoders@yahoogroups.com, baztheman [EMAIL PROTECTED] wrote:

 Hi,
 
 I have the following error when running Silk with Flex3 SDK. 
 
 My question is, do i really need the license to resolve this? I
 thought if I only use Flex3 SDK and I will not need to have license.
 This works before I start using Silk. 
 
 If I do need add the license into the system, is there any file I can
 manually update instead of adding via Flex3 Builder? I try to avoid
 installing and IDE in the build machine.
 
 [mxmlc] Error: Unable to resolve a class for RequiresLicense handler:
 mx.controls.advancedDataGridClasses:DMVLicenseHandler.
 
 Thank you.
 
 A.





[flexcoders] Re: Silk/Flex3 SDK license issue

2008-06-10 Thread baztheman
So i continue to read the document and found some useful direction in
how to define the license information. My question is: How can i
define license information in Ant build.xml file that invoke mxmlc?
Here are some of the existing statements:

  mxmlc file=c:\flexapp\hello.mxml
output=build\hello.swf
  load-config filename=C:\flexapp\config.xml/
   

Thanks. A.

--- In flexcoders@yahoogroups.com, baztheman [EMAIL PROTECTED] wrote:

 So I found this page,

http://livedocs.adobe.com/flex/3/html/help.html?content=configuring_environment_2.html
  but i do not see file C:\Documents and Settings\All Users\Application
 Data\Adobe\Flex\license.properties in both Flex3 SDK and Flex3 builder
 machine. Why? Is this file not valid anymore for Flex 3?
 
 
 --- In flexcoders@yahoogroups.com, baztheman baztheman@ wrote:
 
  Hi,
  
  I have the following error when running Silk with Flex3 SDK. 
  
  My question is, do i really need the license to resolve this? I
  thought if I only use Flex3 SDK and I will not need to have license.
  This works before I start using Silk. 
  
  If I do need add the license into the system, is there any file I can
  manually update instead of adding via Flex3 Builder? I try to avoid
  installing and IDE in the build machine.
  
  [mxmlc] Error: Unable to resolve a class for RequiresLicense handler:
  mx.controls.advancedDataGridClasses:DMVLicenseHandler.
  
  Thank you.
  
  A.
 





[flexcoders] Re: Silk/Flex3 SDK license issue

2008-06-10 Thread baztheman
Sorry, let me re-phase my questions: How do i know there is a xml tag
for compiler.include, and how do i know there is one called
compiler.library-path??? So i can try to put something like
compiler.license ?!

I do not understand how to map the contents of the help document to
the actual Ant code. For example, how can i express the followings in
Ant configuration file?

mxmlc -license=flexbuilder3, MyApp.mxml

Or

flex-config
licenses
license
productflexbuilder3/product
serial-number-----/serial-number
/license
/licenses
...
/flex-config





[flexcoders] How can i create a simple flex program that works in flex 3 but not flex 2?

2008-05-09 Thread baztheman
Hi,

How can i create a simple flex 3 application that works in flex 3 but
not flex 2? I am not sure all the changes between flex 3 and 2. But I
would like to use it for plug-in tests.

Thanks.

B.



[flexcoders] Flex 3 Maven plug-in?

2008-05-08 Thread baztheman
Hi,

We are moving from Flex 2 to Flex 3 and currently using an altered
version of Flex2Mojo (I think from ServerBox). 

Is there any Flex 3 Maven plug-in out there? I am only using Flex 3
SDK and Flex 3 eclipse plug-in.

Thank you.

A.



[flexcoders] Where can i find flex 2 installable?

2008-05-05 Thread baztheman
Hi,

I had some tests need to be done with flex 2 and somehow we manage to
damage the original machine that installed with flex 2.

My question is: where can i get the installer for flex 2? The Adobe
site changed everything to Flex 3 and i could not locate Flex 2 archive. 

Thank you.

B.