Although in a different context i ran into the same 'bug' today. I found out that when i called mxmlc from within Ant it had problems compiling my source-code. After a bit of Googling i learned that it requires a lowercase disk letter ( ie c:\Program Files instead of C:\Program Files ). Odd but true. I blogged about it here >> http://blog.owenvandijk.nl/2006/10/odd_bug_in_mxml.html. It may be helpfil in pinpointing the error :) Good luck
--
Owen van Dijk
I am attempting to migrate a very big Flex 1.5 project and this is one
of the issues I am hitting. I have stripped out all of the files in
the package, and all of the code in the offending file, but still get
this message. I can only assume that I am not understanding what
package structure FlexBuilder is looking for. I am not using scripts
to compile, only FB. I looked in Flex_config.xml and there is no
reference to my files, just the lines below:
<!-- list of path elements that form the roots of ActionScript class
hierarchies -->
<source-path>
<path-element>./user_classes</path-element>
</source-path>
<!-- list of SWC files or directories that contain SWC files -->
<library-path>
<path-element>./user_classes</path-element>
<path-element>./libs</path-element>
<path-element>./locale/{locale}</path-element>
</library-path>
Do the packages need to be under the "[source path] user_classes"
folder? Mine are in their own package structure, in WebContent, beside
this "[source path] user_classes" entry.
So in FB my application looks like this:
FlexProject
- [source path] user_classes
--- add_your_as_and_swc_files_here
- folder1
- - folder2
- - - folder3
- - - - folder4
- - - - - folder5 [contains .as files]
- - - - - folder6 [contains .as files]
- - - - - folder7 [contains .as files]
- - - - - folder8 [contains .mxml files]
appName.mxml
Is there a tutorial somewhere that describes how to set up a
structured project using actionscript files, or could someone steer me
in the right direction here?
Thanks,
Libby
--
Owen van Dijk __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- [flexcoders] A file found in a source-path must have the sam... Libby
- Re: [flexcoders] A file found in a source-path must hav... Owen van Dijk
- Re: [flexcoders] A file found in a source-path must hav... Hasan Otuome
Reply via email to