MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jpollock2715
Post subject: build automatically takes a very long time.....  PostPosted: Nov 29, 2011 - 02:02 PM



Joined: Nov 29, 2011
Posts: 2

I know this question has been asked many times, but I haven't seen any answers that actually explain why this happens. I have 'build automatically' checked for my project (project menu option, build automatically checked ), and whenever I make even the smallest change to a file and save (control-s), it begins chugging along building my entire project. I seem to remember eclipse only compiling the resources that have changed before. but now (all of a sudden) it will wipe out the entire classes directory, and recompile everything. I tried un-checking the build auto option, but then it won't even compile my single class ( I don't get an updated Example.class file created ). can anyone help try to understand why this might be? lastly, the only 'builder' I have enabled for this project is the java builder, which I am pretty certain I absolutely require.

Also, I have a subscription to Myeclipse, but I don't know how to associate with this account. could use a hand with regards to that as well.

any help would be greatly appreciated.

regards,
Jim
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Nov 30, 2011 - 09:56 AM



Joined: Nov 11, 2010
Posts: 2151

jpollock2715 ,

Sorry that you are seeing this issue with MyEclipse.

Can you answer some more questions for us ?

1) Can you clarify if you are working with Eclipse or MyEclipse ?

2) Are you on a very large workspace ? If you have heavy and unnecessary projects opened in your workspace, please close them.

3) In large workspaces, building the entire workspace can take a long time if you make changes with a significant impact on dependent projects. Often there are only a few projects that really matter to you a a given time. You can now simply select the project or projects that you want to bring up-to-date, and select Build Project from the context menu or Project menu. This will build only the selected projects, and any prerequisite projects that need to be built in order to correctly build the selected projects

4) If you're interested in a set of projects , then you can choose Project > Build Working Set > Select Working Set... and choose a working set that contains the projects that you want to have built.

5) Regarding the subscription , you can install MyEclipse to a different location in your machine and start working with it. Please clarify what you mean by associating it with this account.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jpollock2715
Post subject: build automatically takes a very long time reply  PostPosted: Nov 30, 2011 - 07:44 PM



Joined: Nov 29, 2011
Posts: 2

1) Can you clarify if you are working with Eclipse or MyEclipse ?
MyEclipse Enterprise Workbench
Version: 9.1
Build id: 9.1-20110701
2. I am working on a very large project ( couple thousand source files ), but I only have this one project opened in my workspace. I have 4 actual project in this workspace (3 are closed).
3) In large workspaces, building the entire workspace can take a long time if you make changes with a significant impact on dependent projects.....
4) If you're interested in a set of projects , then you can choose Project > Build Working Set > Select Working Set.......when I do #3 & 4 from above, it only shows my current project, or that one that I want to build.

here is my real question. when I change a single file, I only want that file compiled and a .class file created. but that doesn't happen. even when I uncheck the build automatically, and then save a change to a file, a new .class file is not created for that file.

regarding #5 - subscription info. what I was referring to here was getting my paid subscription associated with this account that I am posing on this forum. when I create thsi account (so I could post a question), it was created as a guest account. but I am actually a paid subscriber ( or, at least, my employer is). just wanted to somehow denote this account with that info.

thank you,

Jim
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject:   PostPosted: Dec 01, 2011 - 06:33 AM



Joined: Mar 09, 2011
Posts: 713

Jim,

The build should operate the way you expect and I couldn't replicate what you reported. Note that classes which affect other classes (e.g. are superclasses or interfaces, or are called by other classes) will cause those other classes to be recompiled (if the changes are to the method signatures or class definition). Could this be what you're seeing?

If not, could you give us an idea of the type of project that is exhibiting this behavior? Is it a web project, have you defined your own output folders, is there anything unusual about the project?

As for your other question, how did you obtain your subscription? It is usually via an on-line system used when logged in to an account. If you purchased a subscription some other way, I suggest you use the contact link at the bottom of this web page to ask if your account can be linked to your subscription. I'm not sure if there is any benefit to having the account linked, however; when your subscription ends, purchase a new subscription via your account.

_________________
Tony
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits