I had the same problem with trying to some locale files in my Flex
Builder 2 application. Mine where only warnings so it compiled but
the warnings were annoying. So I moved my locale files to the default
{Path to Flex SDK 2}/frameworks/locale/{locale ie: en_US}/ and it
compiled fine. Well it compiled fine if i was working on the file
looking for the ResourceBundle, but once I worked on other files and
it tried compiling it would throw and error until I went back to my
file that had the ResourceBundle and make a change in that file and
have it recompile.
So I do not have a solution but just an example of what happen to me
as well. I might go back to the first option where it was just a
warnning and live with it as the not being able to compile unless I go
back to a specific page is just weird.
Renaun
--- In [email protected], "ddanone2" <[EMAIL PROTECTED]>
wrote:
>
> I have a folder "ctls" inside it i have a file called "Email.as" and
> looks like:
>
> package ctls
> {
> import mx.controls.TextInput;
> import flash.events.Event;
> import mx.validators.EmailValidator;
>
> public class Email extends TextInput {
> public function Email() {
> ....
> ....
>
> When i try to make a component with the command line compiler compc
> i get the following error:
>
> C:\_tmp_\test_swc\ctls\Email.as: Error: A file found in an source-path
> must have
> the same package structure '', as the definition's package, 'ctls'.
>
> The comand line i execute is:
> compc -source-path+=ctls -debug=false -o=bin/mylib.swc Email
>
> How can i solve this?
>
> Thanks in advance
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcomponents/
<*> 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/