Re: [Flashcoders] as3: weird package problem

2006-07-20 Thread Meinte van't Kruis

Thanks for replying, sounds like a pretty good hack to me, thanks!

-Meinte

On 7/19/06, John Giotta <[EMAIL PROTECTED]> wrote:


Hey Meinte,
What I've just done is set the file and path then just lowercased the
drive letter.
Windows C: drive -
SET ASFILE="%~dp0TestClass.as"
SET ASFILE=%ASFILE:C:\=c:\%

Then I just used %ASFILE% in the mxmlc call.

"C:\Program Files\Flex SDK\bin\mxmlc.exe" -benchmark=true
-creator="John Giotta" -debug=true -file-specs %ASFILE%

- John

P.S. this is a hack since I'm dealing with C: drive on my machine. In
the meantime, I hope to find a better solution.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-18 Thread John Giotta

Hey Meinte,
What I've just done is set the file and path then just lowercased the
drive letter.
Windows C: drive -
SET ASFILE="%~dp0TestClass.as"
SET ASFILE=%ASFILE:C:\=c:\%

Then I just used %ASFILE% in the mxmlc call.

"C:\Program Files\Flex SDK\bin\mxmlc.exe" -benchmark=true
-creator="John Giotta" -debug=true -file-specs %ASFILE%

- John

P.S. this is a hack since I'm dealing with C: drive on my machine. In
the meantime, I hope to find a better solution.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-18 Thread John Giotta

This is pain in the arse now that I've gotten a simple example to work.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-18 Thread John Giotta

Good find.
Sounds like a bug to me.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-18 Thread Meinte van't Kruis

Hi guys.

After days of fiddling, i finally
found the solution, and it kind of baffles me:

irrespective of the classpath beeing c:\classes\ OR C:\classes\:  (note the
difference in case)
this doesn't work:

C:\>c:\flex_sdk_2\bin\mxmlc  -file-specs C:\classes\nl\test\Test.as (notice
the upper case C in c:\classes)

and this DOES work:

C:\>c:\flex_sdk_2\bin\mxmlc  -file-specs c:\classes\nl\test\Test.as  (notice
the smaller case c in c:\classes)

I mean, wtf? Is this a bug or a feature?
It kinda baffles me because in windows, the variable marking the file (%1 in
windows registry or batch)
ALWAYS has an upper case C:\ ..

anyone knows whats going on?

regards,

-Meinte






---
C:\>c:\flex_sdk_2\bin\mxmlc  -file-specs c:\classes\nl\test\Test.as
Loading configuration file C:\flex_sdk_2\frameworks\flex-config.xml
Warning: Source path entry, 'C:\classes', is a subdirectory of source path
entry
, 'c:\classes\nl\test'.

Warning: Source path entry, 'C:\classes', is a subdirectory of source path
entry
, 'c:\classes\nl\test'.

C:\classes\nl\test\Test.swf (519 bytes)

C:\>c:\flex_sdk_2\bin\mxmlc  -file-specs C:\classes\nl\test\Test.as
Loading configuration file C:\flex_sdk_2\frameworks\flex-config.xml
Warning: Source path entry, 'C:\classes', is a subdirectory of source path
entry
, 'C:\classes\nl\test'.

Warning: Source path entry, 'C:\classes', is a subdirectory of source path
entry
, 'C:\classes\nl\test'.

C:\classes\nl\test\Test.as: Error: A file found in a source-path must have
the s
ame package structure '', as the definition's package, 'nl.test'.
-

On 7/18/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


haha, ok well at least I'm not the only one. Question is: What is the
solution?? I can't imagine beeing the only one wondering bout this..


On 7/17/06, John Giotta <[EMAIL PROTECTED]> wrote:
>
> This same problem had me puzzled too.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-17 Thread Meinte van't Kruis

haha, ok well at least I'm not the only one. Question is: What is the
solution?? I can't imagine beeing the only one wondering bout this..

On 7/17/06, John Giotta <[EMAIL PROTECTED]> wrote:


This same problem had me puzzled too.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-17 Thread John Giotta

This same problem had me puzzled too.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-17 Thread Meinte van't Kruis

The weird thing is: In the flash 9 as3 preview IDE, I tried it and it does
work!
I imported the Test class, set c:\classes\ as the root within the IDE, and
the constructor
simply traces 'jay'. So I guess the problem is the  setting in
the XML.. Which
is:

c:/classes/


But I can't see what's wrong with it

-Meinte

On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


I tried it just yet, doesn't work either :(.



On 7/15/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
>
> Try this:
> 
> c:/classes
> 
>
> Note the / instead of \ for the path.
>
> Hope this will help.
>
> Bernard
>
> > -Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Namens
> > Meinte van't Kruis
> > Verzonden: zaterdag 15 juli 2006 15:11
> > Aan: Flashcoders mailing list
> > Onderwerp: Re: [Flashcoders] as3: weird package problem
> >
> > Thanks for your reply,
> >
> > I just tried out what you suggested, but didn't make any difference :(
>
> >
> > It works when I leave the package name empty (this seems obvious).
> > But that wouldnt be a solution, because a class sitting
> > somewhere else wouldn't be able to access it.
> >
> > On 7/15/06, John Grden < [EMAIL PROTECTED]> wrote:
> > >
> > > it's a stab in the dark, but have you tried renaming your class to
> > > somehting different than the folder/package it sits in?
> > >
> > > package nl.test{
> > >public class MyClassTest{
> > >public function MyClassTest(){
> > >}
> > >}
> > > }
> > >
> > >
> > >
> > > On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hellow,
> > > >
> > > > I'm currently exploring as3 with the free compiler and
> > keep running
> > > > against a seemingly strange problem.
> > > > Here's my class:
> > > >
> > > > package nl.test{
> > > > public class Test{
> > > > public function Test(){
> > > > }
> > > > }
> > > > }
> > > >
> > > > It's sitting in the directory c:\classes\nl\test. That
> > directory is
> > > added
> > > > in
> > > > the flex configuration file:
> > > >
> > > > 
> > > >  c:\classes\
> > > > 
> > > >
> > > > I get the following error when I try to compile the class:
> > > >
> > > > C:\classes\nl\test\Test.as: Error: A file found in a source-path
> > > > must
> > > have
> > > > the s
> > > > ame package structure '', as the definition's package, 'nl.test'.
> > > >
> > > > This error also shows when I don't add the c:\classes to the
> > > > source-path in the flex-config.xml.
> > > >
> > > > I'm really stuck, I can't figure out what I'm doing
> > wrong, probably
> > > > overlooking something..
> > > > Does anyone know?
> > > >
> > > > regards,
> > > > Meinte
> > > > ___
> > > > Flashcoders@chattyfig.figleaf.com
> > > > To change your subscription options or search the archive:
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > > Brought to you by Fig Leaf Software
> > > > Premier Authorized Adobe Consulting and Training
> > > > http://www.figleaf.com http://training.figleaf.com
> > > >
> > >
> > >
> > >
> > > --
> > > John Grden
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com http://training.figleaf.com
> > >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-15 Thread Meinte van't Kruis

I tried it just yet, doesn't work either :(.


On 7/15/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:


Try this:

c:/classes


Note the / instead of \ for the path.

Hope this will help.

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens
> Meinte van't Kruis
> Verzonden: zaterdag 15 juli 2006 15:11
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] as3: weird package problem
>
> Thanks for your reply,
>
> I just tried out what you suggested, but didn't make any difference :(
>
> It works when I leave the package name empty (this seems obvious).
> But that wouldnt be a solution, because a class sitting
> somewhere else wouldn't be able to access it.
>
> On 7/15/06, John Grden <[EMAIL PROTECTED]> wrote:
> >
> > it's a stab in the dark, but have you tried renaming your class to
> > somehting different than the folder/package it sits in?
> >
> > package nl.test{
> >public class MyClassTest{
> >public function MyClassTest(){
> >}
> >}
> > }
> >
> >
> >
> > On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > >
> > > Hellow,
> > >
> > > I'm currently exploring as3 with the free compiler and
> keep running
> > > against a seemingly strange problem.
> > > Here's my class:
> > >
> > > package nl.test{
> > > public class Test{
> > > public function Test(){
> > > }
> > > }
> > > }
> > >
> > > It's sitting in the directory c:\classes\nl\test. That
> directory is
> > added
> > > in
> > > the flex configuration file:
> > >
> > > 
> > >  c:\classes\
> > > 
> > >
> > > I get the following error when I try to compile the class:
> > >
> > > C:\classes\nl\test\Test.as: Error: A file found in a source-path
> > > must
> > have
> > > the s
> > > ame package structure '', as the definition's package, 'nl.test'.
> > >
> > > This error also shows when I don't add the c:\classes to the
> > > source-path in the flex-config.xml.
> > >
> > > I'm really stuck, I can't figure out what I'm doing
> wrong, probably
> > > overlooking something..
> > > Does anyone know?
> > >
> > > regards,
> > > Meinte
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com http://training.figleaf.com
> > >
> >
> >
> >
> > --
> > John Grden
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] as3: weird package problem

2006-07-15 Thread Bernard Visscher
Try this:

c:/classes


Note the / instead of \ for the path.

Hope this will help.

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Meinte van't Kruis
> Verzonden: zaterdag 15 juli 2006 15:11
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] as3: weird package problem
> 
> Thanks for your reply,
> 
> I just tried out what you suggested, but didn't make any difference :(
> 
> It works when I leave the package name empty (this seems obvious).
> But that wouldnt be a solution, because a class sitting 
> somewhere else wouldn't be able to access it.
> 
> On 7/15/06, John Grden <[EMAIL PROTECTED]> wrote:
> >
> > it's a stab in the dark, but have you tried renaming your class to 
> > somehting different than the folder/package it sits in?
> >
> > package nl.test{
> >public class MyClassTest{
> >public function MyClassTest(){
> >}
> >}
> > }
> >
> >
> >
> > On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > >
> > > Hellow,
> > >
> > > I'm currently exploring as3 with the free compiler and 
> keep running 
> > > against a seemingly strange problem.
> > > Here's my class:
> > >
> > > package nl.test{
> > > public class Test{
> > > public function Test(){
> > > }
> > > }
> > > }
> > >
> > > It's sitting in the directory c:\classes\nl\test. That 
> directory is
> > added
> > > in
> > > the flex configuration file:
> > >
> > > 
> > >  c:\classes\
> > > 
> > >
> > > I get the following error when I try to compile the class:
> > >
> > > C:\classes\nl\test\Test.as: Error: A file found in a source-path 
> > > must
> > have
> > > the s
> > > ame package structure '', as the definition's package, 'nl.test'.
> > >
> > > This error also shows when I don't add the c:\classes to the 
> > > source-path in the flex-config.xml.
> > >
> > > I'm really stuck, I can't figure out what I'm doing 
> wrong, probably 
> > > overlooking something..
> > > Does anyone know?
> > >
> > > regards,
> > > Meinte
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training 
> > > http://www.figleaf.com http://training.figleaf.com
> > >
> >
> >
> >
> > --
> > John Grden
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training 
> > http://www.figleaf.com http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-15 Thread Meinte van't Kruis

can anyone test my case and tell me if it actually works?
this thing is really weird, i've tried some other options, but
just naming a package anything keeps going wrong..

On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


Thanks for your reply,

I just tried out what you suggested, but didn't make any difference :(

It works when I leave the package name empty (this seems obvious).
But that wouldnt be a solution, because a class sitting somewhere else
wouldn't be able to access it.


On 7/15/06, John Grden <[EMAIL PROTECTED]> wrote:
>
> it's a stab in the dark, but have you tried renaming your class to
> somehting
> different than the folder/package it sits in?
>
> package nl.test{
>public class MyClassTest{
>public function MyClassTest(){
>}
>}
> }
>
>
>
> On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> >
> > Hellow,
> >
> > I'm currently exploring as3 with the free compiler and keep running
> > against
> > a seemingly strange problem.
> > Here's my class:
> >
> > package nl.test{
> > public class Test{
> > public function Test(){
> > }
> > }
> > }
> >
> > It's sitting in the directory c:\classes\nl\test. That directory is
> added
> > in
> > the flex configuration file:
> >
> > 
> >  c:\classes\
> > 
> >
> > I get the following error when I try to compile the class:
> >
> > C:\classes\nl\test\Test.as: Error: A file found in a source-path must
> have
> > the s
> > ame package structure '', as the definition's package, ' nl.test'.
> >
> > This error also shows when I don't add the c:\classes to the
> source-path
> > in
> > the flex-config.xml.
> >
> > I'm really stuck, I can't figure out what I'm doing wrong, probably
> > overlooking something..
> > Does anyone know?
> >
> > regards,
> > Meinte
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> John Grden
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-15 Thread Meinte van't Kruis

Thanks for your reply,

I just tried out what you suggested, but didn't make any difference :(

It works when I leave the package name empty (this seems obvious).
But that wouldnt be a solution, because a class sitting somewhere else
wouldn't be able to access it.

On 7/15/06, John Grden <[EMAIL PROTECTED]> wrote:


it's a stab in the dark, but have you tried renaming your class to
somehting
different than the folder/package it sits in?

package nl.test{
   public class MyClassTest{
   public function MyClassTest(){
   }
   }
}



On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
>
> Hellow,
>
> I'm currently exploring as3 with the free compiler and keep running
> against
> a seemingly strange problem.
> Here's my class:
>
> package nl.test{
> public class Test{
> public function Test(){
> }
> }
> }
>
> It's sitting in the directory c:\classes\nl\test. That directory is
added
> in
> the flex configuration file:
>
> 
>  c:\classes\
> 
>
> I get the following error when I try to compile the class:
>
> C:\classes\nl\test\Test.as: Error: A file found in a source-path must
have
> the s
> ame package structure '', as the definition's package, 'nl.test'.
>
> This error also shows when I don't add the c:\classes to the source-path
> in
> the flex-config.xml.
>
> I'm really stuck, I can't figure out what I'm doing wrong, probably
> overlooking something..
> Does anyone know?
>
> regards,
> Meinte
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
John Grden
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as3: weird package problem

2006-07-15 Thread John Grden

it's a stab in the dark, but have you tried renaming your class to somehting
different than the folder/package it sits in?

package nl.test{
  public class MyClassTest{
  public function MyClassTest(){
  }
  }
}



On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


Hellow,

I'm currently exploring as3 with the free compiler and keep running
against
a seemingly strange problem.
Here's my class:

package nl.test{
public class Test{
public function Test(){
}
}
}

It's sitting in the directory c:\classes\nl\test. That directory is added
in
the flex configuration file:


 c:\classes\


I get the following error when I try to compile the class:

C:\classes\nl\test\Test.as: Error: A file found in a source-path must have
the s
ame package structure '', as the definition's package, 'nl.test'.

This error also shows when I don't add the c:\classes to the source-path
in
the flex-config.xml.

I'm really stuck, I can't figure out what I'm doing wrong, probably
overlooking something..
Does anyone know?

regards,
Meinte
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
John Grden
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com