-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
 Post subject: Error under artifact generation: Association references unma
PostPosted: Tue May 03, 2005 8:14 pm 
Newbie

Joined: Tue May 03, 2005 8:02 pm
Posts: 13
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

I'm using the artifact generator to reverse engineer our database.

I get an error message like this, where the 'SomeTable' is the name of a db table (which changes depending on which db I try to reverse engineer):

Association references unmapped class: com.rps.study.SomeTable

The tables exist and may have a few FK constraints (the table that blows up is the same for each try at the same database).

I'm on JVM 1.4.2

Any suggestions?

Hibernate version:
3.0

Mapping documents:
None

Code between sessionFactory.openSession() and session.close():
None

Full stack trace of any exception that occurs:
Code:
Error 2005-05-03 16:59:55.475 Association references unmapped class: com.rps.study.SomeTable
org.hibernate.MappingException: Association references unmapped class: com.rps.study.SomeTable
at org.hibernate.cfg.JDBCBinder.bindCollectionSecondPass(JDBCBinder.java:1178)
at org.hibernate.cfg.JDBCBinder$CollectionSecondPass.secondPass(JDBCBinder.java:1201)
at org.hibernate.cfg.HbmBinder$SecondPass.doSecondPass(HbmBinder.java:2052)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:830)
at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:801)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$3.execute(ArtifactGeneratorWizard.java:218)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:76)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:210)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:147)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:105)



Name and version of the database you are using:
SQL Server 2000

The generated SQL (show_sql=true):
None

Debug level Hibernate log excerpt:


Config file
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
      "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
      "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory name="mySessionFactory">
        <property name="hibernate.connection.username">username</property>
        <property name="hibernate.connection.password">password</property>
        <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
        <property name="hibernate.connection.url">jdbc:jtds:sqlserver://server:port/dbName</property>
        <property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
    </session-factory>
</hibernate-configuration>


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 1:23 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
known bug - fixed in cvs

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Association references unmapped class
PostPosted: Tue May 17, 2005 4:29 am 
Beginner
Beginner

Joined: Tue May 10, 2005 6:25 am
Posts: 20
Location: London
max wrote:
known bug - fixed in cvs


I'm getting the same issue in Hibernate 2.1.8. Is this fix going into the 2.x series?

_________________
Cheers,
Simon B,
simon@brunningonline.net,
http://www.brunningonline.net/simon/blog/


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 17, 2005 4:37 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
huh ? This cannot possible happen in the 2.1.8 code since it does not exist there.

The new tools are H3 only.

-max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 17, 2005 7:19 am 
Beginner
Beginner

Joined: Tue May 10, 2005 6:25 am
Posts: 20
Location: London
max wrote:
This cannot possible happen in the 2.1.8 code since it does not exist there.


My mistake - same message, different problem. ;-)

Thanks.

_________________
Cheers,
Simon B,
simon@brunningonline.net,
http://www.brunningonline.net/simon/blog/


Top
 Profile  
 
 Post subject: Is the fix released or only in CVS?
PostPosted: Fri May 27, 2005 3:41 pm 
Newbie

Joined: Thu May 12, 2005 5:54 pm
Posts: 16
Even I am getting UnMapped Association problem

This means I need to check out from cvs, do a build to use the fix.

Or has the fix been released?


Top
 Profile  
 
 Post subject: Core RunTime Exception when I try to do build using releng
PostPosted: Wed Jun 01, 2005 7:20 pm 
Newbie

Joined: Thu May 12, 2005 5:54 pm
Posts: 16
I am trying to build hibernate and its eclipse plugins.
I could build hibernate and hibernateExt modules.
WIthin hibernateExt under org.hibernate.eclipse.releng
I did the following:

Edited build.properties file with appro values

When i run the build using ..\build -f pde-build.xml I get the following error:


[java] BUILD FAILED
[java] C:\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:21:
The following error occurred while executing this line:
[java] C:\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:48:
The following error occurred while executing this line:
[java] C:\opensource\hibernate\HibernateExt\org.hibernate.eclipse.releng\cu
stomTargets.xml:8: The following error occurred while executing this line:
[java] C:\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTarget
s.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.
feature may have not been fetched correctly, check your map files.

How do i fix this..what mistake am I making?

I am doing this to get the latest hibernate tools where in I can restrict the tables I need to reverse engineer and let hibernate tools generate compoiste keys for those tables which dont have primary key defined.

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 2:07 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
why dont you follow the build proc at tools.hibernate.org ? ;)

Look under build & contribute.

/max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 2:39 am 
Newbie

Joined: Thu May 12, 2005 5:54 pm
Posts: 16
Due to unmapped association problem (which is fixed in cvs) i decided to do a cvs build.[I am a novice to using CVS. ]

1>checked out hibernate3 module. built it. success
2>checked out hibernateext module. build it. success. under this module i also ran the hibernate-build.xml update target which copies the libraries in org.hibernate.eclipse

Are the above 2 builds sufficient to overcome unmapped association problem.
if yes then what files do i copy into eclipse?


when i look in the tools.zip genertaed by step 2 above i dont see the same structure as i see in toolsalpha1.zip. hence i thought i need to build plugins also . the build proc mentions the hibernateext module doesnt build eclipse plugins.

3>now under hibernateext module, i try to build hibernate eclipse plugins for which i use pde-build.xml
when i run this build it throws me the above error. i think its got to do with hibernate.map . do i need to edit in hibernate.map or is the problem something else?i see the coreexception which traces back to cant fetch from cvs (see log trace below)

on the whole i just wanted a fix for the unmapped assoc problem .. for which i m trying to build from cvs

thanks in advance for i may be asking a few silly questions ;-)..but i m as of now in the open source learning transition :-)

!SESSION 2005-06-01 23:37:40.930 -----------------------------------------------
eclipse.buildId=I20050401-1645
java.version=1.5.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application org.eclipse.ant.core.antRunner -Dbuilder=. -f D:/eclipse-3.1M6/plugins/org.eclipse.pde.build_3.1.0/scripts/build.xml -DgenericTargets=D:/eclipse-3.1M6/plugins/org.eclipse.pde.build_3.1.0/scripts/genericTargets.xml -Dbasedir=D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng -DbuildId=200506011137 -DbuildLabel=200506011137
Command-line arguments: -application org.eclipse.ant.core.antRunner -Dbuilder=. -data workspace -f D:/eclipse-3.1M6/plugins/org.eclipse.pde.build_3.1.0/scripts/build.xml -DgenericTargets=D:/eclipse-3.1M6/plugins/org.eclipse.pde.build_3.1.0/scripts/genericTargets.xml -Dbasedir=D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng -DbuildId=200506011137 -DbuildLabel=200506011137

!ENTRY org.eclipse.osgi 2005-06-01 23:37:40.940
!MESSAGE Application error
!STACK 1
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:493)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Caused by: D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:21: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:48: The following error occurred while executing this line:
D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:685)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:571)
... 16 more
Caused by: D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:48: The following error occurred while executing this line:
D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 25 more
Caused by: D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 31 more
Caused by: D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:102)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 37 more
Caused by: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.FetchScriptGenerator.retrieveFeature(FetchScriptGenerator.java:436)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchPluginsTarget(FetchScriptGenerator.java:205)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchScript(FetchScriptGenerator.java:171)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generate(FetchScriptGenerator.java:99)
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:100)
... 43 more
Root exception:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:21: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:48: The following error occurred while executing this line:
D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:685)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:493)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Caused by: D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:48: The following error occurred while executing this line:
D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 25 more
Caused by: D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 31 more
Caused by: D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:102)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 37 more
Caused by: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.FetchScriptGenerator.retrieveFeature(FetchScriptGenerator.java:436)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchPluginsTarget(FetchScriptGenerator.java:205)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchScript(FetchScriptGenerator.java:171)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generate(FetchScriptGenerator.java:99)
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:100)
... 43 more
--- Nested Exception ---
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:48: The following error occurred while executing this line:
D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:685)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:493)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Caused by: D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 31 more
Caused by: D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:102)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 37 more
Caused by: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.FetchScriptGenerator.retrieveFeature(FetchScriptGenerator.java:436)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchPluginsTarget(FetchScriptGenerator.java:205)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchScript(FetchScriptGenerator.java:171)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generate(FetchScriptGenerator.java:99)
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:100)
... 43 more
--- Nested Exception ---
D:\projects\hibernate\HibernateExt\org.hibernate.eclipse.releng\customTargets.xml:8: The following error occurred while executing this line:
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:685)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:493)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Caused by: D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:102)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 37 more
Caused by: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.FetchScriptGenerator.retrieveFeature(FetchScriptGenerator.java:436)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchPluginsTarget(FetchScriptGenerator.java:205)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchScript(FetchScriptGenerator.java:171)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generate(FetchScriptGenerator.java:99)
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:100)
... 43 more
--- Nested Exception ---
D:\eclipse-3.1M6\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:33: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:102)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:685)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:493)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Caused by: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
at org.eclipse.pde.internal.build.FetchScriptGenerator.retrieveFeature(FetchScriptGenerator.java:436)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchPluginsTarget(FetchScriptGenerator.java:205)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchScript(FetchScriptGenerator.java:171)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generate(FetchScriptGenerator.java:99)
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:100)
... 43 more
--- Nested Exception ---
org.eclipse.core.runtime.CoreException[1]: org.eclipse.core.runtime.CoreException[0]: java.io.FileNotFoundException: c:\temp\pdebuild\HibernateExt\org.hibernate.eclipse.feature\feature.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.eclipse.update.internal.core.FileResponse.getInputStream(FileResponse.java:27)
at org.eclipse.update.internal.core.FeatureExecutableFactory.createFeature(FeatureExecutableFactory.java:48)
at org.eclipse.pde.internal.build.FetchScriptGenerator.retrieveFeature(FetchScriptGenerator.java:421)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchPluginsTarget(FetchScriptGenerator.java:205)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generateFetchScript(FetchScriptGenerator.java:171)
at org.eclipse.pde.internal.build.FetchScriptGenerator.generate(FetchScriptGenerator.java:99)
at org.eclipse.pde.internal.build.tasks.FetchTask.execute(FetchTask.java:100)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:685)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:493)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 2:18 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
no need to build the eclipse plugins to just use the ant tools.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 2:27 pm 
Newbie

Joined: Thu May 12, 2005 5:54 pm
Posts: 16
I am using Eclipse3.1M4 to reverse engineer a database when
i encountered the unmapped assoc problem. i had specified default
schema.

So even for eclipse is it sufficient to build the hibernate3.jar, hibernate-tools.jar and copy them to eclipse plugins folder.

Or is it requried to build eclipse plugins also.?

Thanks for ur patience.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 3:55 pm 
Newbie

Joined: Thu May 12, 2005 5:54 pm
Posts: 16
I have been able to reverse engineer using ant build for unmapped
assco.
Thanks Max.
The only question that remains is how do I execute the same through eclipse plugins.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


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

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.