Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Project Build time is too long
Project Build time is too long [message #661717] Sat, 26 March 2011 16:17 Go to next message
Anthony  is currently offline Anthony Friend
Messages: 2
Registered: March 2011
Junior Member
Hi,

I've been building a java application and I've now split it of into several 'Modules' but I'm having difficulty getting this to work in Eclipse. I was hoping that including the common project in the required projects section would include the class files and lib files (if exported) into the implementation projects build.

When I run the file in Tomcat 6/7 then these files are not copied across. The project in eclipse though seems to resolve everything and no errors are shown, it's only when I try to run the project that this issue occurs.

I've temporarily gotten around the issue by using link source. Often eclipse will build workspace and this will take 2 minutes or more even on my quad core laptop with SSD drive. I'm wondering if myabe this is due to link sourcing? There must be something amiss though as I would have thought this is way to long for a project of this size. The lib files do add up to 100MB though but before when the project wasn't modular this build workspace time wasn't an issue at all.

Does anyone have any ideas on how to reduce the build workspace time and properly configured these projects to work when I run in Tomcat without using the link source which I'm guessing is a bit of a hack?

Many thanks,

Anthony.
Re: Project Build time is too long [message #661731 is a reply to message #661717] Sat, 26 March 2011 20:45 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.03.26 10:17, Anthony wrote:
> Hi,
>
> I've been building a java application and I've now split it of into
> several 'Modules' but I'm having difficulty getting this to work in
> Eclipse. I was hoping that including the common project in the required
> projects section would include the class files and lib files (if
> exported) into the implementation projects build.
> When I run the file in Tomcat 6/7 then these files are not copied
> across. The project in eclipse though seems to resolve everything and no
> errors are shown, it's only when I try to run the project that this
> issue occurs.

This question belongs in the eclipse webtools forum, but I will answer
it. You must indicate the projects to be deployed in the Deployment
Assembly. Right-click your project, choose Properties -> Deployment
Assembly -> Add -> Project -> etc. just as if a third-party library.

As for time to build, I couldn't conjecture.


> [snip]
Re: Project Build time is too long [message #661738 is a reply to message #661717] Sun, 27 March 2011 00:48 Go to previous message
Anthony  is currently offline Anthony Friend
Messages: 2
Registered: March 2011
Junior Member
Hi Russell, thanks for letting me know the right forum and the answer, it's not had the impact on the build workspace times but at least I'm one step closer on how to write module programs in eclipse.
Previous Topic:Changing Vertical Scrollbar Position
Next Topic:Update Plugin Issue
Goto Forum:
  


Current Time: Thu Apr 25 19:18:44 GMT 2024

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

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

Back to the top