FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Strange problem with project in NetBeans 6.7

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
ryan



Joined: 08 Aug 2009
Posts: 4

PostPosted: Mon Nov 02, 2009 2:18 pm    Post subject: Strange problem with project in NetBeans 6.7 Reply with quote

Hi

I have strange problems with NebBeans 6.7.
When I make a project with contains few different java files sometimes I have problem with building it.
For example I have project with 5 files: MainProject.java, Second.java, Third.java, Fourth.java and Fifth.java. Everything works fine, every class belongs to the same package. I can built this project and run. But when I add new things to whichever class, sometimes during building I get error that f.e. Second.class donsn't exist. It's of course not true coz I have it.
Only solution I found is remake that file. It's obviously time-waster.

How to protect against this bug or how to fix it?
Back to top
View user's profile Send private message
dhoyt



Joined: 06 Nov 2009
Posts: 1

PostPosted: Fri Nov 06, 2009 7:47 pm    Post subject: Reply with quote

I'm having the same problem and it's not the first time it's reared its ugly head with netbeans 6.7.1. I never had this problem with older versions of netbeans (<= 6.7). I found that changing the class name stopped netbeans from doing it. But what is going on??

It builds the class file and I can see it in build/. But when I go to RUN it, the class file is deleted! I have nothing special in my ant build script - it's using the netbeans provided one. It is one that Netbeans 6.7 provided.

Should I recreate a 6.7.1-specific one?

I'm running netbeans 6.7.1 with Java 1.6u16.

I'm not sure how to reproduce it b/c it happens at random it seems. But once it appears, it stays. Even killing and restarting netbeans doesn't fix it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB