Hi Chris,
sorry, if my message wasn't clear. Let me elaborate.
After installing the latest version of Arp, i found the following
structure in my programs directory
ARP Main Directory/com/.../the main arp classes
ARP Main Directory/PizzaExample/.../lots of classes
ARP Main Directory/OtherExample/.../lots of classes
(That aren't the actual names, i'm on a laptop, where Arp is not
installed currently, but you get it probably.)
Now, when i set the classpath to "Arp Main Directory" to compile some
ARP project, all the files in PizzaExample also show up on the classpath.
If we moved ARP into its own subdirectory XYZ, i'd be able to use
ARP Main Directory/XYZ/ as my classpath and everything were just fine.
ARP Main Directory/XYZ/com/.../the main arp classes
ARP Main Directory/PizzaExample/.../lots of classes
ARP Main Directory/OtherExample/.../lots of classes
Normally you wouldn't notice, but my classbrowser reads in all the
classes on the classpath, which can be annoying, if you have a lot of
useless classes around.
Cheers,
Ralf.
Chris Velevitch wrote:
If you have an import statement like:-
import com.ariaware.arp.*;
then this would map to a directory:-
com/ariaware/arp/
This structure is desireable in the case where you're using class from
other sources, eg
import com.campanyname.productname.*;
would be found in directory:-
com/companyname/productname/
If we used your sugested way, we would have to remember keep modifying
the class path every time started using a new set of class libraries.
Is useful when you start using free open source class libraries:-
import org.actionstep.*;
The directory would be:-
org/actionstep/
the class path would remain unchanged.
Chris
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org