Yes, you were absolutely right. Of course the source path was set up in Flex Builder properties but not in the build.xml file.
Many thanks On Feb 8, 2008 10:21 PM, Gordon Smith <[EMAIL PROTECTED]> wrote: > It looks like you don't have source-path set correctly when compiling > the resource bundle. The directory containing your com directory needs to be > on the source-path so that the com.pricklythiste.i18n.CountryListEN class > can be found. > > Gordon Smith > Adobe Flex SDK Team > > ------------------------------ > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Giles Roadnight > *Sent:* Friday, February 08, 2008 6:41 AM > *To:* [email protected] > *Subject:* [flexcoders] ClassReference and Resource bundles > > Hi All > > I have this in one of my locale property files: > > countryListClass=ClassReference("com.pricklythistle.i18n.CountryListEN") > > and get this error when I try to build the resource bundles: > > [exec] > C:\xampp\htdocs\pricklythistle\ezine\locale\en_GB\lang.properties(58): > col: 52 Error: Access of undefined property CountryListEN. > [exec] "countryListClass": > com.pricklythistle.i18n.CountryListEN, > [exec] ^ > [exec] > C:\xampp\htdocs\pricklythistle\ezine\locale\en_GB\lang.properties(4): > col: 27 Error: Definition com.pricklythistle.i18n:CountryListEN could > not be found. > [exec] import com.pricklythistle.i18n.CountryListEN; > [exec] ^ > [exec] Result: 2 > > (arrow points at CountryListEN) > > but this is definitely correct as I am using this class already to > test it: > > import com.pricklythistle.i18n.CountryListEN; > > why isn't this working? What can I do to make it work? > > Thanks > > Giles > > > -- Giles Roadnight http://giles.roadnight.name

