Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
drapiern
Post subject: The project cannot be built until its prerequisute is built  PostPosted: Sep 15, 2008 - 10:00 AM
Registered Member
Registered Member


Joined: May 12, 2007
Posts: 3

Hey,

I received following error :
The project cannot be built until its prerequisite EsacObjects is built. Cleaning and building
all projects is recommended

I Use MyEclipse 6.5
I have 1 project called EsacObject.
I have 3 other projects who have a reference to that project.

After I have changed something in the Project EsacObjects, My other projects give me the error.
Even after a clean en rebuild. The only thing that helps is to use MyEclipse 6.01 en rebuild

Please help!!!
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: The project cannot be built until its prerequisute is bu  PostPosted: Sep 15, 2008 - 03:59 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Can you restart MyEclipse using the -clean comman and check if this issue gets fixed.
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10280.html

Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
drapiern
Post subject: RE: The project cannot be built until its prerequisute is bu  PostPosted: Sep 15, 2008 - 04:39 PM
Registered Member
Registered Member


Joined: May 12, 2007
Posts: 3

Please, find bellow my installation Details.

Maybe this could help also to solve my problem. When I look in de Error log file, i noticed an error when building met EsacObject project, this is the one that is used by my other projects.
I inlcude the log file also :
-- ERROR LOG FILE
!SESSION 2008-09-15 14:10:19.555 -----------------------------------------------
eclipse.buildId=M20080221-1800
java.version=1.5.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_BE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

This is a continuation of log file C:\Users\drapier\workspace\.metadata\.bak_0.log
Created Time: 2008-09-15 15:17:11.984

!ENTRY org.eclipse.ui.ide 2 4 2008-09-15 15:17:11.985
!MESSAGE Problems occurred building the selected resources.
!SUBENTRY 1 org.eclipse.jdt.core 2 75 2008-09-15 15:17:11.985
!MESSAGE Errors running builder 'Java Builder' on project 'EsacObjects'.
!SUBENTRY 1 org.eclipse.jdt.core 2 75 2008-09-15 15:17:11.985
!MESSAGE Path must include project and resource name: /
!STACK 0
java.lang.IllegalArgumentException: Path must include project and resource name: /
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1631)
at org.eclipse.core.internal.resources.Container.getFile(Container.java:123)
at com.genuitec.eclipse.hibernate.util.HibernateUtils.getConfigFile(HibernateUtils.java:560)
at com.genuitec.eclipse.hibernate.util.HTUtils.getConsoleConfigurationPreferences(HTUtils.java:185)
at com.genuitec.eclipse.hibernate.util.HTUtils.getConsoleConfigurationPreferences(HTUtils.java:137)
at com.genuitec.eclipse.hibernate.util.HTUtils.getConsoleConfiguration(HTUtils.java:129)
at com.genuitec.eclipse.hibernate.util.HTUtils.getConsoleConfiguration(HTUtils.java:110)
at com.genuitec.eclipse.hibernate.util.ConsoleConfigurationRepository.createFromHibernateProject(ConsoleConfigurationRepository.java:53)
at com.genuitec.eclipse.hibernate.util.ConsoleConfigurationRepository.find(ConsoleConfigurationRepository.java:40)
at org.hibernate.console.KnownConfigurations.find(KnownConfigurations.java:308)
at org.hibernate.eclipse.jdt.ui.internal.MEUtils.getConsoleConfiguration(MEUtils.java:23)
at org.hibernate.eclipse.jdt.ui.internal.HQLExpressionCompilerParticipant.getConsoleConfiguration(HQLExpressionCompilerParticipant.java:83)
at org.hibernate.eclipse.jdt.ui.internal.HQLExpressionCompilerParticipant.buildStarting(HQLExpressionCompilerParticipant.java:34)
at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.notifyParticipants(AbstractImageBuilder.java:534)
at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:285)
at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:59)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:269)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:172)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:214)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:353)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:494)
at org.eclipse.core.internal.resources.Project.build(Project.java:75)
at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:194)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:141)
at org.eclipse.ui.actions.WorkspaceAction$1.runInWorkspace(WorkspaceAction.java:460)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-- INSTALLATION SUMMARY
*** Date:
Monday, September 15, 2008 5:31:11 PM CEST

** System properties:
OS=WindowsVista
OS version=6.0
Java version=1.5.0_14


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715




Eclipse Platform

Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800


Eclipse RCP

Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800


Eclipse Java Development Tools

Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800


Eclipse Plug-in Development Environment

Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800


Eclipse Project SDK

Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800


Eclipse Graphical Editing Framework

Version: 3.3.2.v20080129
Build id: 20080221-1602




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\drapier\AppData\Local\MyEclipse 6.5\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\Users\drapier\AppData\Local\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\Users\drapier\AppData\Local\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
87c_78
-clean
-clean
-vm
C:\Users\drapier\AppData\Local\MyEclipse 6.5\jre\bin\javaw.exe
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: The project cannot be built until its prerequisute is bu  PostPosted: Sep 15, 2008 - 09:39 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

drapiern,
Something seems messed up with your project settings. What project are you working with (Hibernate/Spring/Regular Web Proj etc) and what kind of dependent projects that are added to your project?

Are all of these originally MyEclipse projects (were they created using MyEclipse)?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
drapiern
Post subject: RE: The project cannot be built until its prerequisute is bu  PostPosted: Sep 29, 2008 - 08:42 AM
Registered Member
Registered Member


Joined: May 12, 2007
Posts: 3

Nipun,

All my project are created in myeclipse, I Use Hibernate, Spring, Spring MVC, Log4J, JFreechart, iText, ...
All my libraries are managed as user libraries. so I don't use libraries included in MyEclipse.
I have 4 Regular Web Projects, and one project that contains all my Business objects (POJO's, hbm files, DAO, .. )

This week I will try to recreate the project and see what happens.

Maybe I'll try the latest myeclipse version 7.0 M2
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: The project cannot be built until its prerequisute is bu  PostPosted: Sep 29, 2008 - 07:36 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Quote:

This week I will try to recreate the project and see what happens.

Please try to create the project in a new workspace and test this again. Let me know what result you get.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
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