Hi,

I'am developping a Flex application with Eclipse and Flex Builder 2
plugin, and I have a compilation problem :

 => When I'm declaring a DataService, in AS or in a MXML Tag, it
generates an error, Eclipse don't know that type. In fact, all types
mx.data.* are unknown.

The error in French is : "Ce type est introuvable ou n'est pas une
constante de compilation : DataService"
So, in english : "That type is unknown or isn't a compilation constant
: DataService"

I have made my own ant script to compile and I have no problem, and
DataService works well. I have made my project by creating a Dynamic
Web Project, after that I had added Flex capatibility and refactoring
some directories in order to have a good architecture. My ant script
make the compilation (java and flex), generate a war and deploy it on
a Tomcat.

I have found nothing to configure in Eclipse to correct the problem. I
have searched in the framework lib (myabe I have to include an
external lib) and I have found nothing : I haven't even seen the data
directory in "...\flex_sdk_2\frameworks\source\mx".

Thx for your help.

Yannick.L.



Reply via email to