Thomas DeWeese: > I've change the import stuff so it reads a file > (META-INF/imports/script.txt) each line of the file can > start with either 'package' or 'class' the rest of the line > can be any number of space separated class/package names. > > Users of Batik can also get the 'ImportInfo' class and > add additional classes/packages if they choose to.
Sounds good. What’s the default contents of this file? Cameron McCormack: > > > There's an argument to making Squiggle > > > configure its JSVGCanvas not to import the whole java.lang package, to > > > avoid incompatibilities with scripts that would work in other UAs, but > > > I'd be happy either way there. > > I didn't do this but squiggle could easily add > java.lang as an import package to the ImportInfo. > I did add class java.lang.System since that is fairly useful. OK. If you feel happy with having only java.lang.System imported, then I’m happy with that too. -- Cameron McCormack ≝ http://mcc.id.au/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
