Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 92658 invoked from network); 26 Mar 2008 18:47:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 18:47:55 -0000 Received: (qmail 35469 invoked by uid 500); 26 Mar 2008 18:47:51 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 35456 invoked by uid 500); 26 Mar 2008 18:47:51 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 35445 invoked by uid 99); 26 Mar 2008 18:47:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 11:47:51 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeffgbutler@gmail.com designates 209.85.162.178 as permitted sender) Received: from [209.85.162.178] (HELO el-out-1112.google.com) (209.85.162.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 18:47:09 +0000 Received: by el-out-1112.google.com with SMTP id m34so2117802ele.9 for ; Wed, 26 Mar 2008 11:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=DDvgc9/biLdUD8RUAeqELc8QPNj/BTNee4sd2m5rHIo=; b=r/+p4bm01TDymtt4QVZkEqSScsnxTCgjzvJSmas4xL/urKE8fB+uzyCHHCtIqp069NgPyLTWHYjPDvNwJyV70LejI2Kg+Z9H4cwqTo5JX3qQcRHzWBN5yo2lXc8ftEXA1R5LAMge4+WSys8lXzo7NgFHbNjDMgKZGw4g7cpnqV8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=LNMGcYqjeVAhSMhT3VA0Zh2HL7yjGlxccwe8OP5lFHySZuFoeLq4XWSn5/1qM6r4ksLLJEe5d41mGIWflliS0m1yMuNOOPm8bEwFIpomEu2dQuM8a3wLy8jESUEKARAUPtwmf0l6YuKJRgkI1uclGmgYY9gmJmusyJB/JZ5HpLU= Received: by 10.141.122.20 with SMTP id z20mr349035rvm.160.1206557239942; Wed, 26 Mar 2008 11:47:19 -0700 (PDT) Received: by 10.141.48.11 with HTTP; Wed, 26 Mar 2008 11:47:19 -0700 (PDT) Message-ID: Date: Wed, 26 Mar 2008 13:47:19 -0500 From: "Jeff Butler" To: user-java@ibatis.apache.org Subject: Re: Abator 1.1.0: Root class cannot be loaded In-Reply-To: <748cba5d0803261117r22493c4ag5e09c546bd332761@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16853_31055360.1206557239916" References: <16309782.post@talk.nabble.com> <748cba5d0803261117r22493c4ag5e09c546bd332761@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16853_31055360.1206557239916 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline This is related to a new feature in Abator. If you specify a rootClass, then Abator will try to load that class and look for existing properties that would conflict with properties it would normally generate. If there is an existing property in the rootClass that matches one of the new properties, then Abator will not generate the property (deferring to the property in the rootClass). As you've seen, if Abator cannot load the root class, then no harm done - just a warning message. There is a new property "rootClasspath" for the JavaModelGenerator that you can use to specify a classpath if you want to take advantage of this feature. Jeff Butler On Wed, Mar 26, 2008 at 1:17 PM, Ryan Shelley <12gaugemedia@gmail.com> wrote: > I've noticed this as well, but it doesn't seem to affect anything in my > generated files. > > -Ryan > > > On Wed, Mar 26, 2008 at 11:08 AM, kbighorse wrote: > > > > > Appears harmless, but got the warning "Root class cannot be > > loaded, > > checking for member overrides is disabled for this class". Set > > rootClass > > in in abatorConfig.xml. Checked all my > > classes and all extend rootClass as expected. rootClass does have an > > instance variable, but it doesn't conflict with any generated properties > > that I can find. Did anything happen/not happen that I should be aware > > of? > > > > Kimball > > -- > > View this message in context: > > http://www.nabble.com/Abator-1.1.0%3A-Root-class-cannot-be-loaded-tp16309782p16309782.html > > Sent from the iBATIS - User - Java mailing list archive at Nabble.com > > . > > > > > ------=_Part_16853_31055360.1206557239916 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
This is related to a new feature in Abator.  If you specify a rootClass, then Abator will try to load that class and look for existing properties that would conflict with properties it would normally generate.  If there is an existing property in the rootClass that matches one of the new properties, then Abator will not generate the property (deferring to the property in the rootClass).
 
As you've seen, if Abator cannot load the root class, then no harm done - just a warning message.  There is a new property "rootClasspath" for the JavaModelGenerator that you can use to specify a classpath if you want to take advantage of this feature.
 
Jeff Butler

On Wed, Mar 26, 2008 at 1:17 PM, Ryan Shelley <12gaugemedia@gmail.com> wrote:
I've noticed this as well, but it doesn't seem to affect anything in my generated files.

-Ryan


On Wed, Mar 26, 2008 at 11:08 AM, kbighorse <kbighorse@yahoo.com> wrote:

Appears harmless, but got the warning "Root class <class> cannot be loaded,
checking for member overrides is disabled for this class".  Set rootClass
<property> in <javaModelGenerator> in abatorConfig.xml.  Checked all my
classes and all extend rootClass as expected.  rootClass does have an
instance variable, but it doesn't conflict with any generated properties
that I can find.  Did anything happen/not happen that I should be aware of?

Kimball
--
View this message in context: http://www.nabble.com/Abator-1.1.0%3A-Root-class-cannot-be-loaded-tp16309782p16309782.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.



------=_Part_16853_31055360.1206557239916--