Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » compile failing on static class v2.1.0
compile failing on static class v2.1.0 [message #86645] Tue, 01 July 2003 14:21 Go to next message
Eclipse UserFriend
Originally posted by: carl.fake.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have an old set of classes that used to work in cvs. today I checked
out and tried to build, and I am getting new errors never before seen.
Code is the same.

"MainApplication.config.ChatConfiguration can not be resolved or is not
a field"

That happens on this line

mas_current = MainApplication.config.ChatConfiguration.mas_shout;

Now ChatConfiguration is indeed not a field, it is a static inner class.

final class Parameters{
~ static class ChatConfiguration {
~ mas_shout = new xyz();
~ }
}

public final class MainApplication {

~ static Parameters config;


}


What sup? is their something new I dont know about?? I am using 1.4.2,
but I am trying 1.3.1_07 as well...


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/AdESVbJM14DSCi0RAgN0AJ4h/Dm2MaCjxR/JuFWd2thE093iWQCg 95Mi
qSfCuh0nH1kDe5RNIZQWuMo=
=tlQm
-----END PGP SIGNATURE-----
Re: compile failing on static class v2.1.0 [message #88541 is a reply to message #86645] Thu, 03 July 2003 17:53 Go to previous message
Eclipse UserFriend
Originally posted by: John_Arthorne.oti.com_

Please enter a bug report against JDT core with a *complete* example.
In your example below, you have not defined mas_shout or described the
context where the reference occurs.
--


CL Gilbert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have an old set of classes that used to work in cvs. today I checked
> out and tried to build, and I am getting new errors never before seen.
> Code is the same.
>
> "MainApplication.config.ChatConfiguration can not be resolved or is not
> a field"
>
> That happens on this line
>
> mas_current = MainApplication.config.ChatConfiguration.mas_shout;
>
> Now ChatConfiguration is indeed not a field, it is a static inner class.
>
> final class Parameters{
> ~ static class ChatConfiguration {
> ~ mas_shout = new xyz();
> ~ }
> }
>
> public final class MainApplication {
>
> ~ static Parameters config;
>
>
> }
>
>
> What sup? is their something new I dont know about?? I am using 1.4.2,
> but I am trying 1.3.1_07 as well...
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQE/AdESVbJM14DSCi0RAgN0AJ4h/Dm2MaCjxR/JuFWd2thE093iWQCg 95Mi
> qSfCuh0nH1kDe5RNIZQWuMo=
> =tlQm
> -----END PGP SIGNATURE-----
>
Previous Topic:workbench vs debug
Next Topic:Creating an IFile outside of workspace
Goto Forum:
  


Current Time: Wed Apr 16 13:36:28 EDT 2025

Powered by FUDForum. Page generated in 0.02945 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top