[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-466?pag...
]
Emmanuel Bernard resolved HSEARCH-466.
--------------------------------------
Resolution: Won't Fix
If at runtime, Java cannot load an annotation (say @Indexed because hibernate-search.jar
is not in the classpath), the annotation is ignored. In other words, you won't get an
ClassNotFoundException.
Simply do not put hsearch's Jar and co in your client classpath.
separating annotations from core as own jar
-------------------------------------------
Key: HSEARCH-466
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-466
Project: Hibernate Search
Issue Type: Improvement
Components: build
Affects Versions: 3.1.0.Beta1, 3.1.0.Beta2, 3.1.0.CR1, 3.1.0.GA, 3.1.1.GA, 3.1.2,
3.2.0.Beta1, 3.2.0.CR1, 3.3.0
Environment: not important
Reporter: Vadim Bauer
Why not separating the hibernate search annotations from HS core?
e.g.
hibernate-search-core.jar
hibernate-search-annotations.jar
It is quite cumbersome if you in a fat clients or RCPs environment and want share the
same domain model with your client. The client needs to have lucene, hibernate search and
hibernate stuff even thou he never uses it except a few annotations.
If it is ok I would like contribute my changes to the community.
Best regards
Vadim
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira