--- Simon Pepping <[EMAIL PROTECTED]> wrote: > > The cause is that the import section is not > sufficient: > > package org.apache.fop.fo.properties; > > import org.apache.fop.fo.*; > import org.apache.fop.apps.FOPException; > > With these import statements the compiler applies > interface > org.apache.fop.fo.properties.Constants instead of > interface > org.apache.fop.fo.Constants.
Simon, I can't duplicate the problem on my machine but I think I see the issue: there is *no* more org.apache.fop.fo.properties.Constants interface anymore, it's been gone for a month or so. I think you just need to clear it out (delete the file), and make sure you have the newest build.xml--it is the script that formerly created that properties.Constants interface (but doesn't anymore). What I do before a full build is delete the BUILD directory, then type "ant"--this forces everything to be created from scratch. Another note: cvs update -dPC will overwrite and replace your work (actually, moves them to other files), but should remove unneeded files and also get you in sync with HEAD completely. > An explicit statement > > import org.apache.fop.fo.Constants; > > should be added. I did it as follows: > Yes, but the Eclipse warnings of "unneeded imports" drives Peter West and a few others crazy. If the above does not work, our only other solution would be a fully qualified import statement. Thanks always! Glen __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus