Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 95472 invoked from network); 19 Feb 2010 21:08:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 21:08:16 -0000 Received: (qmail 84743 invoked by uid 500); 19 Feb 2010 21:08:16 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 84689 invoked by uid 500); 19 Feb 2010 21:08:15 -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 84681 invoked by uid 99); 19 Feb 2010 21:08:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 21:08:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeffgbutler@gmail.com designates 74.125.83.53 as permitted sender) Received: from [74.125.83.53] (HELO mail-gw0-f53.google.com) (74.125.83.53) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 21:08:09 +0000 Received: by gwb11 with SMTP id 11so33317gwb.12 for ; Fri, 19 Feb 2010 13:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=P8fSYGyM8/iadNoQu1rhmqk5NwlAUhQ1pzqxGSf0YzQ=; b=EVPmU6KadhG6m25oG0/QkUkOsaiLtOi8C+sz4/xjNEc+3PxZXJI9z1PhDwH5wA65T4 uAPkThYx/AMb/DaxxVeJl8m94ik7yPi1QZCH9+cVzub9RkP+cPVqVm8QJ8mDbidsP2se fU6+mWU1adjb6gNCMvhLee5MUPpNSa1hNb7T4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uHOBugT5mQui+J/aL55fS4gacX5lepyel5UMglV+Sz64TLaFMxXAQJMDU0VaJU2/2K 7aGf1t7zSuqfA021zpFYAar8kHRuwjvz8HZfhpAgWoIZVzSdxJMuldsSIDx7L04ciPY1 zvzFwVeG37S1n88giPCqLrXxrXeknUAkCWD6s= MIME-Version: 1.0 Received: by 10.150.119.29 with SMTP id r29mr92883ybc.52.1266613667997; Fri, 19 Feb 2010 13:07:47 -0800 (PST) In-Reply-To: <4B7ED909.2020400@burntmail.com> References: <20091105091750.4d233afd@dev1.cpt.ipay.co.za> <20091106074124.4b81ee4b@dev1.cpt.ipay.co.za> <4B7B907F.8050700@burntmail.com> <4B7CF70D.3000201@burntmail.com> <4B7E4A0F.2010404@burntmail.com> <4B7ED909.2020400@burntmail.com> Date: Fri, 19 Feb 2010 15:07:47 -0600 Message-ID: Subject: Re: Ibator for ibatis 3 From: Jeff Butler To: user-java@ibatis.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I just committed some changes to the eclipse plugin code for version 1.2.2. Things work fine for me. Also, I updated the instructions for building the eclipse plugin here: http://svn.apache.org/repos/asf/ibatis/java/ibator/trunk/eclipse/org.apache= .ibatis.ibator.eclipse.doc/html-src/eclipseui/buildingFromSVN.html Jeff Butler On Fri, Feb 19, 2010 at 12:31 PM, Guy Rouillier wr= ote: > Unfortunately, that's not it. =A0I had found that manifest and updated it= to > reflect 3.0.0. =A0I'll try working more on this tonight. =A0I'll search m= y > Eclipse installation and just remove all other instances of the Ibator JA= R; > hopefully then at least Eclipse will give me some big error message > identifying where it is picking up the older version. =A0Thanks. > > =3D=3D=3D=3D=3D=3D=3D=3D > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 > Bundle-Name: Ibator Core Plug-in > Bundle-SymbolicName: org.apache.ibatis.ibator.core > Bundle-Version: 3.0.0 > Bundle-ClassPath: ibator.jar > Export-Package: org.apache.ibatis.ibator.ant, > =A0org.apache.ibatis.ibator.api, > =A0org.apache.ibatis.ibator.api.dom, > =A0org.apache.ibatis.ibator.api.dom.java, > =A0org.apache.ibatis.ibator.api.dom.xml, > =A0org.apache.ibatis.ibator.config, > =A0org.apache.ibatis.ibator.config.xml, > =A0org.apache.ibatis.ibator.exception, > =A0org.apache.ibatis.ibator.generator, > =A0org.apache.ibatis.ibator.generator.ibatis2, > =A0org.apache.ibatis.ibator.generator.ibatis2.dao, > =A0org.apache.ibatis.ibator.generator.ibatis2.dao.elements, > =A0org.apache.ibatis.ibator.generator.ibatis2.dao.templates, > =A0org.apache.ibatis.ibator.generator.ibatis2.model, > =A0org.apache.ibatis.ibator.generator.ibatis2.sqlmap, > =A0org.apache.ibatis.ibator.generator.ibatis2.sqlmap.elements, > =A0org.apache.ibatis.ibator.generator.ibatis3, > =A0org.apache.ibatis.ibator.generator.ibatis3.javamapper, > =A0org.apache.ibatis.ibator.generator.ibatis3.javamapper.elements, > =A0org.apache.ibatis.ibator.generator.ibatis3.model, > =A0org.apache.ibatis.ibator.generator.ibatis3.xmlmapper, > =A0org.apache.ibatis.ibator.generator.ibatis3.xmlmapper.elements, > =A0org.apache.ibatis.ibator.internal, > =A0org.apache.ibatis.ibator.internal.db, > =A0org.apache.ibatis.ibator.internal.rules, > =A0org.apache.ibatis.ibator.internal.types, > =A0org.apache.ibatis.ibator.internal.util, > =A0org.apache.ibatis.ibator.internal.util.messages, > =A0org.apache.ibatis.ibator.logging, > =A0org.apache.ibatis.ibator.maven, > =A0org.apache.ibatis.ibator.plugins > Bundle-RequiredExecutionEnvironment: J2SE-1.5 > =3D=3D=3D=3D=3D=3D=3D=3D=3D > > > On 2/19/2010 9:22 AM, Jeff Butler wrote: >> >> Look at MANIFEST.MF in the ibator.core project. =A0The Export-Package >> directive must list all packages in the ibator.jar file - the version >> in SVN needs an update. >> >> A small bit of OSGI loveliness. =A0That's my best guess. =A0I'll take a >> look at updating this in SVN later today - hopefully :) >> >> Jeff Butler >> >> >> On Fri, Feb 19, 2010 at 2:21 AM, Guy Rouillier >> =A0wrote: >>> >>> After banging on this for almost 24 hrs straight, I've made some >>> progress, >>> but I'm stuck on an Eclipse error when I try to get the context menu on >>> ibatorConfig.xml. =A0I'll put the stack trace at the end because of it'= s >>> length. =A0I looked in the config and I see these two entries: >>> >>> >>> /instance/org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.I= BATOR_JAR=3DC\:/Program >>> >>> Files/Genuitec/Common/plugins/org.apache.ibatis.ibator.core_3.0.0/ibato= r.jar >>> >>> >>> /instance/org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.I= BATOR_JAR_SRC=3DC\:/Program >>> >>> Files/Genuitec/Common/plugins/org.apache.ibatis.ibator.core_3.0.0/ibato= r-src.zip >>> >>> Both of these are accurate, and I verified that the files at those >>> locations >>> contain the ibator 3.0 class files, including >>> org.apache.ibatis.ibator.generator.XmlConstants.class. =A0So I don't >>> understand why I'm getting the following stack trace in the error log >>> when I >>> right-click. =A0Appreciate some pointers, I'm stuck now: >>> >>> java.lang.Error: Unresolved compilation problems: >>> The import org.apache.ibatis.ibator.generator cannot be resolved >>> XmlConstants cannot be resolved >>> >>> at >>> >>> org.apache.ibatis.ibator.eclipse.ui.content.IbatorConfigVerifyer.= (IbatorConfigVerifyer.java:25) >>> at >>> >>> org.apache.ibatis.ibator.eclipse.ui.content.AdapterFactory.isIbatorConf= igurationFile(AdapterFactory.java:85) >>> at >>> >>> org.apache.ibatis.ibator.eclipse.ui.content.AdapterFactory.getAdapter(A= dapterFactory.java:46) >>> at >>> >>> org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterMana= ger.java:320) >>> at >>> >>> org.eclipse.core.internal.runtime.AdapterManager.loadAdapter(AdapterMan= ager.java:350) >>> at >>> >>> org.eclipse.ui.internal.LegacyResourceSupport.getAdapter(LegacyResource= Support.java:622) >>> at >>> >>> org.eclipse.ui.internal.ObjectActionContributor.isApplicableTo(ObjectAc= tionContributor.java:223) >>> at >>> >>> org.eclipse.ui.internal.ObjectContributorManager.isApplicableTo(ObjectC= ontributorManager.java:303) >>> at >>> >>> org.eclipse.ui.internal.ObjectActionContributorManager.contributeObject= Actions(ObjectActionContributorManager.java:83) >>> at >>> >>> org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExt= ender.java:261) >>> at >>> >>> org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExte= nder.java:337) >>> at >>> >>> org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:3= 35) >>> at >>> >>> org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java= :463) >>> at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:459) >>> at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:48= 5) >>> at >>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:23= 5) >>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008) >>> at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4111) >>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3815) >>> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337) >>> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576= ) >>> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937) >>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528) >>> at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) >>> at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:250) >>> at org.eclipse.swt.widgets.Display.runPopups(Display.java:3849) >>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416) >>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) >>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) >>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) >>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) >>> at >>> >>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java= :288) >>> at >>> >>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:= 490) >>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) >>> at >>> >>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplica= tion.java:113) >>> at >>> >>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.= java:193) >>> at >>> >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplica= tion(EclipseAppLauncher.java:110) >>> at >>> >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ecli= pseAppLauncher.java:79) >>> at >>> >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java= :386) >>> at >>> >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java= :179) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) >>> at >>> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) >>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) >>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236) >>> >>> >>> On 2/18/2010 3:15 AM, Guy Rouillier wrote: >>>> >>>> On 2/17/2010 11:00 AM, Jeff Butler wrote: >>>>> >>>>> I've learned the hard way not to make projections as to when somethin= g >>>>> will be completed :) >>>>> >>>>> I need to make some updates to the Ibator documentation, and then go >>>>> through the arduous release process - not too fun. I'm also using >>>>> Ibator and iBATIS3 on a new project, so I have added a few new >>>>> features to Ibator to make my own coding life easier. >>>>> >>>>> I can say that I'm using Ibator and iBATIS3 nearly every day for real >>>>> work and have run into very few troubles. When will there be a new >>>>> release? I always say "soon, hopefully". >>>> >>>> Thanks, as always. I just did a fresh checkout from SVN and tried to d= o >>>> a build. I ran into a bit of trouble. I've not developed an Eclipse >>>> plug-in before, so I don't really understand how all the pieces fit >>>> together. So, I did the following: >>>> >>>> (1) In Eclipse, I created a new project for core, since it didn't have >>>> one. I ran a Maven build and it completed successfully and created a >>>> file called ibator-core-1.2.2.jar, which I copied into >>>> eclipse/org.apache.ibatis.ibator.core/ibator.jar. >>>> >>>> (2) I imported projects for eclipse/core, eclipse/doc and eclipse/ui. >>>> core and ui built automatically. But there is no task to generate the >>>> JAR file, so I ran export. >>>> >>>> (3) The doc project ran into some trouble due to obsolete paths. Here >>>> are the changes I had to make: >>>> >>>> >>>> to >>>> >>>> >>>> >>>> to >>>> >>>> >>>> Now buildDoc.xml completed successfully, but again no JAR was generate= d. >>>> So I had to do that manually by looking at the contents of a previous >>>> version. Amounted to creating a bin directory and copying html/*, >>>> META-INF/*, LICENSE and NOTICE, then JARring the results. >>>> >>>> I haven't assembled the results into an update site yet, but I'll try >>>> that tomorrow. Please let me know if I'm making this harder than >>>> necessary. Would be great for the final release if all this was >>>> automatic. >>>> >>>> Thanks. >>>> >>> >>> >>> -- >>> Guy Rouillier >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org >>> For additional commands, e-mail: user-java-help@ibatis.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org >> For additional commands, e-mail: user-java-help@ibatis.apache.org >> >> > > > -- > Guy Rouillier > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-java-help@ibatis.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org