Skip to main content
February 19, 2013
Question

Strange issue when adding a folder to my libs

  • February 19, 2013
  • 1 reply
  • 521 views

Hi guys

I have my classes in a libs folder, and in Actionscript Settings / Source I point to that folder.  It works fine.

I just attempted to add the AlivePDF source files (using source instead of swc as I want to alter something) in their org folder to the libs folder, and now one of my other classes throws this error:

5001: The name of package 'doit.ui.controls.doitClass' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file.

doitClass was working fine before.

Any idea why adding an exclusive folder would affect other classes?

Cheers

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
February 19, 2013

The best advice anyone can probably give at this point is for you to address the problem defined by the error and see if the package name defined in the file matches the path you have placed it in.

February 19, 2013

It seems to match. It's bizarre, as it works fine until I drop in the new folder.

Thanks Ned - it's a head scratcher.

Ned Murphy
Legend
February 19, 2013

If you dropped it into a new folder then you might need to adjust the package definition line in the as file.