-source-path+=ctls

You shouldn't add the source path "ctls". When you do, it doesn't
consider that folder to be part of the package structure. It expects
Email to be in "{Project}/ctls/ctls/Email.as". Since the compiler should
look in your base project folder by default, you shouldn't need to add a
source path.

Josh Tynjala
http://www.zeuslabs.us/

ddanone2 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/
 


Reply via email to