-->
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.  [ 2 posts ] 
Author Message
 Post subject: Xdoclet2 issue
PostPosted: Thu Aug 09, 2007 10:15 pm 
Newbie

Joined: Thu Aug 09, 2007 10:07 pm
Posts: 3
Location: Pittsburgh, PA
Has any one seen this ever?

I have the following tag in my java code. I have an eclipse builder that automatically creates the HBM file from the xdoclet2 tags using the hibernate plugin. Here is a sample of a tag and the associated java code:

/**
*
* @return
* @hibernate.property not-null="true"
*/
public String getAuthorName() {
return authorName;
}
I run this through the xdoclet2 hibernate plugin and I get the following in my HBX file
<property name="authorName" not-null="true" access="method"/>

from what I have red the only legal values for access are:
access="field|property|ClassName" (6)

The xdoclet2 plugin list is not a very active list so any help would be great

_________________
Mark Russell


Top
 Profile  
 
 Post subject: Fixed
PostPosted: Fri Aug 10, 2007 10:05 am 
Newbie

Joined: Thu Aug 09, 2007 10:07 pm
Posts: 3
Location: Pittsburgh, PA
I found the error. It was a classpath issue. I updated the compile time classpath but forgot to update the runtime classpath.

"If it were not for stupid mistakes I would not have a Job"

_________________
Mark Russell


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.