rcp with hibernate [message #435817] |
Wed, 24 August 2005 11:57 |
Eclipse User |
|
|
|
Originally posted by: eskay187.sbox.tugraz.at
Hello,
i finally finished my rcp-plugin but now im having troubles exporting it.
my plugin is based on hibernate (hibernate2.jar) which is included in
build path and classpath.
file->export->deployable plugins & fragments->archive ...
compiler-compability 1.4
package plugins as individual jar files
save ant build script ...
->finish
deploying plugins
an error has occurred during the operation, logfile blablabla
logfile:
----------
1. ERROR in
D:\_Development\Projects\Perspective\src\at\perspective\mode l\repository\HibernateRepository.java
(at line 5)
import net.sf.hibernate.Session;
^^^
The import net cannot be resolved
----------
2. ERROR in
D:\_Development\Projects\Perspective\src\at\perspective\mode l\repository\HibernateRepository.java
(at line 6)
import net.sf.hibernate.Query;
^^^
The import net cannot be resolved
----------
3. ERROR in
D:\_Development\Projects\Perspective\src\at\perspective\mode l\repository\HibernateRepository.java
(at line 12)
Session session_;
^^^^^^^
...and so on.
the hibernate jar is perfectly alright, net.sf.hibernate.* exists. i've
search the internet and newsgroup for quite some time now and hope to find
some help here ...
|
|
|
Re: rcp with hibernate [message #435818 is a reply to message #435817] |
Wed, 24 August 2005 14:01 |
Eclipse User |
|
|
|
Originally posted by: joerg.von.frantzius.artnology.nospam.com
Helmut Puhr schrieb:
> Hello,
> i finally finished my rcp-plugin but now im having troubles exporting
> it. my plugin is based on hibernate (hibernate2.jar) which is included
> in build path and classpath.
You need to reference the library from your plugin.xml, not from the
project's classpath. In the plugin.xml editor, switch to tab "Runtime",
click "New...", and type in the path to your jar relative to the plugin
directory.
|
|
|
|
Re: rcp with hibernate [message #435868 is a reply to message #435817] |
Thu, 25 August 2005 13:58 |
Eclipse User |
|
|
|
Originally posted by: eskay187.sbox.tugraz.at
thank you very much, problem solved. i misspelled the classpath in the
manifest.mf file...
regards,
helmut
|
|
|
Powered by
FUDForum. Page generated in 0.23476 seconds