[jsword-devel] trunk does not compile

trent.jsword at trentonadams.ca trent.jsword at trentonadams.ca
Sun Feb 21 10:45:51 MST 2010


Oh, oops, you will also need to add the aqua deps to the pom.  That may involve doing a deploy-file, as I did for the flfgr or whatever it's called.
 
----- "trent jsword" <trent.jsword at trentonadams.ca> wrote:

> From: "trent jsword" <trent.jsword at trentonadams.ca>
> To: "J-Sword Developers Mailing List" <jsword-devel at crosswire.org>
> Sent: Sunday, February 21, 2010 11:42:31 AM GMT -06:00 US/Canada Central
> Subject: Re: [jsword-devel] trunk does not compile
>
> Yeah, I was going to look at getting those web ones working with maven
> too.
> 
> What are the rest of the modules for?
> - limbo
> - support - just dependencies?
> - javatar - just a dependency?
> - incubator - ???
> - common-aqua - I've provided a profile in the new base pom to compile
> common-aqua on mac os x.  You need to modify it to have the proper os
> name, as I don't know what that is for java/mac.  I also created one
> in bibledesktop pom, to make it a dependency if on a mac; again, same
> thing, you need to modify it.  And presumably, we would do all
> releases on the Mac?
> - biblemapper -???
> - bibledesktop-web - i'll look at this and the next one
> - jsword-web
> 
> p.s.
> Don't rack your brain with maven problems, it's not worth your time;
> you might as well use me as a resource for now.  If you have a
> problem, ask, and I'll get back to you ASAP.  I'm logged in to
> freenode all the time as TrentonAdams, so if you want to /query me, go
> ahead.  If I'm not around, I'll respond when I get back.
> 
> Thanks.
> 
> ----- "DM Smith" <dmsmith at crosswire.org> wrote:
> 
> > From: "DM Smith" <dmsmith at crosswire.org>
> > To: "J-Sword Developers Mailing List" <jsword-devel at crosswire.org>
> > Sent: Sunday, February 21, 2010 10:55:09 AM GMT -06:00 US/Canada
> Central
> > Subject: Re: [jsword-devel] trunk does not compile
> >
> > Thanks for the link. Worked like a charm. I also installed Java
> 1.4.2,
> > as technically, that is the version that we support (for the sake
> of
> > Mac 10.3). We'll be going to Java 5 shortly.
> > 
> > I'm trying out the POMs now. We'll have to keep ant as we do use it
> to
> > build the website and other "projects" in JSword.
> > 
> > BTW, I'm in the process of moving all resources (i.e. property
> files)
> > to the resources directory. But it will take a while.
> > 
> > In His Service,
> > 	DM
> > 
> > On Feb 21, 2010, at 11:44 AM, trent.jsword at trentonadams.ca wrote:
> > 
> > > Oh well, that's fine, we'll just have to tell ant and maven to
> only
> > allow 1.5 I guess.  And, if you want, you can follow instructions I
> > found here...
> > > http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard
> > > 
> > > The only problem with using 1.6, even with the 1.5 compiler flag,
> is
> > that 1.6 is not always backward compatible.  iBatis, for example,
> has
> > some classes that it made for JDBC stuff, which completely conflict
> > with 1.6.  The iBatis code is valid, but yet it doesn't work with
> 1.6.
> >  What happened with iBatis, is that they implemented an interface
> in
> > Java 1.5, and when switching to 1.6, sun added another method that
> > iBatis didn't have.  You might be able to call it a programming
> error
> > I suppose, to inherit directly from a core Java abstract or
> interface
> > class, as you never know if it will change.  I'm not sure what the
> > normal java practise is in such cases.  I would have thought that
> sun
> > wouldn't change them, but who knows.
> > > 
> > > ----- "DM Smith" <dmsmith at crosswire.org> wrote:
> > > 
> > >> From: "DM Smith" <dmsmith at crosswire.org>
> > >> To: "J-Sword Developers Mailing List"
> <jsword-devel at crosswire.org>
> > >> Sent: Sunday, February 21, 2010 7:22:54 AM GMT -06:00 US/Canada
> > Central
> > >> Subject: Re: [jsword-devel] trunk does not compile
> > >> 
> > >> Already had tried that... Snow leopard only has Java 6. It
> appears
> > >> that Java 5 is present but it is a sym link to 6.
> > >> 
> > >> In Him,
> > >> 	DM
> > >> 
> > >> On Feb 20, 2010, at 10:44 PM, trent.jsword at trentonadams.ca
> wrote:
> > >> 
> > >>> There is a java preferences tool to set your JVM.  use
> spotlight
> > to
> > >> search for "java", and java preferences should come up first. 
> > Just
> > >> tell it you want 1.5 as the default, as both should be installed
> > on
> > >> your machine.
> > >>> 
> > >>> I use Linux, but I used a mac for over a year for java
> > development
> > >> at home. ;)
> > >>> 
> > >>> ----- "DM Smith" <dmsmith at crosswire.org> wrote:
> > >>> 
> > >>>> From: "DM Smith" <dmsmith at crosswire.org>
> > >>>> To: "J-Sword Developers Mailing List"
> > <jsword-devel at crosswire.org>
> > >>>> Cc: "J-Sword Developers Mailing List"
> > <jsword-devel at crosswire.org>
> > >>>> Sent: Saturday, February 20, 2010 9:20:44 PM GMT -06:00
> > US/Canada
> > >> Central
> > >>>> Subject: Re: [jsword-devel] trunk does not compile
> > >>>> 
> > >>>> It shouldn't require 6. That's the problem w/ developing on a
> > mac. 
> > >> 
> > >>>> Limited versions of java. Let's stick w/ 1.5.
> > >>>> 
> > >>>> 
> > >>>> 
> > >>>> On Feb 20, 2010, at 9:46 PM, trent.jsword at trentonadams.ca
> wrote:
> > >>>> 
> > >>>>> Oh, if I had looked at it more carefully, I would have
> realized
> > >> that
> > >>>> 
> > >>>>> it needed java 1.6, cause it was saying that the IOException 
> 
> > >>>>> constructor wouldn't take a jsword constructor as an
> arguement,
> > >> but 
> > >>>> 
> > >>>>> the 1.6 version does.
> > >>>>> 
> > >>>>> I didn't realize that the trunk required 1.6.  Ah, well, it
> > works 
> > >> 
> > >>>>> now. :D
> > >>>>> 
> > >>>>> ----- "Trenton D. Adams" <trent.jsword at trentonadams.ca>
> wrote:
> > >>>>> 
> > >>>>>> From: "Trenton D. Adams" <trent.jsword at trentonadams.ca>
> > >>>>>> To: "J-Sword Developers Mailing List"
> > >> <jsword-devel at crosswire.org>
> > >>>>>> Sent: Saturday, February 20, 2010 5:06:42 PM GMT -06:00
> > US/Canada
> > >> 
> > >>>> 
> > >>>>>> Central
> > >>>>>> Subject: Re: [jsword-devel] trunk does not compile
> > >>>>>> 
> > >>>>>> Hi DM Smith,
> > >>>>>> 
> > >>>>>> I checked out the trunk directly.  "svn status" shows no
> > >> modified
> > >>>>>> files.  I will check it out again, after I've gone for
> dinner.
> > >> svn
> > >>>>>> tends to be a bit buggy in regard to updating, and getting
> all
> > >> new
> > >>>>>> files.  I've been meaning to report that to them, but still
> > >>>> haven't
> > >>>>>> done so. :(
> > >>>>>> 
> > >>>>>> I'll let you know what happens.
> > >>>>>> 
> > >>>>>> Thanks.
> > >>>>>> 
> > >>>>>> ----- "DM Smith" <dmsmith at crosswire.org> wrote:
> > >>>>>> 
> > >>>>>>> From: "DM Smith" <dmsmith at crosswire.org>
> > >>>>>>> To: "J-Sword Developers Mailing List"
> > >>>> <jsword-devel at crosswire.org>
> > >>>>>>> Sent: Saturday, February 20, 2010 5:03:33 PM GMT -06:00
> > >> US/Canada
> > >>>>>> Central
> > >>>>>>> Subject: Re: [jsword-devel] trunk does not compile
> > >>>>>>> 
> > >>>>>>> Hmm,
> > >>>>>>> I'm not sure what the problem is. I have a clean
> installation
> > >> and
> > >>>> it
> > >>>>>>> works for me.
> > >>>>>>> I'm presuming that you have the other jsword projects in
> > >> parallel
> > >>>>>>> directories. Ant will go into common, common-swing, and
> > jsword
> > >> to
> > >>>>>>> build those first.
> > >>>>>>> It appears that it did not build the jsword project.
> > >>>>>>> Can you supply the entire build file?
> > >>>>>>> 
> > >>>>>>> In Him,
> > >>>>>>> DM
> > >>>>>>> 
> > >>>>>>> On Feb 20, 2010, at 5:18 PM, Trenton D. Adams wrote:
> > >>>>>>> 
> > >>>>>>>> Hi Guys,
> > >>>>>>>> 
> > >>>>>>>> inside the bibledesktop folder I do
> > >>>>>>>> ant all
> > >>>>>>>> 
> > >>>>>>>> and get a compile error.
> > >>>>>>>> 
> > >>>>>>>> compile:
> > >>>>>>>> [javac] Compiling 268 source files to
> > >>>>>>> 
> > >>>>>>
> > /home/trenta/Documents/Development/java/thirdparty/jsword/trunk/
> > >> 
> > >>>>>> jsword/target/classes
> > >>>>>>>> [javac]
> > >>>>>>> 
> > >>>>>>
> > /home/trenta/Documents/Development/java/thirdparty/jsword/trunk/
> > >> 
> > >>>>>> jsword/src/main/java/org/crosswire/jsword/index/lucene/ 
> > >>>>>> VerseCollector.java:75:
> > >>>>>>> cannot find symbol
> > >>>>>>>> [javac] symbol  : constructor
> > >>>>>>>
> > IOException(org.crosswire.jsword.passage.NoSuchVerseException)
> > >>>>>>>> [javac] location: class java.io.IOException
> > >>>>>>>> [javac]             throw new IOException(e);
> > >>>>>>>> [javac]                   ^
> > >>>>>>>> [javac] 1 error
> > >>>>>>>> 
> > >>>>>>>> _______________________________________________
> > >>>>>>>> jsword-devel mailing list
> > >>>>>>>> jsword-devel at crosswire.org
> > >>>>>>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
> > >>>>>>> 
> > >>>>>>> 
> > >>>>>>> _______________________________________________
> > >>>>>>> jsword-devel mailing list
> > >>>>>>> jsword-devel at crosswire.org
> > >>>>>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
> > >>>>> 
> > >>>>> _______________________________________________
> > >>>>> jsword-devel mailing list
> > >>>>> jsword-devel at crosswire.org
> > >>>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
> > >>>> 
> > >>>> _______________________________________________
> > >>>> jsword-devel mailing list
> > >>>> jsword-devel at crosswire.org
> > >>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
> > >>> 
> > >>> _______________________________________________
> > >>> jsword-devel mailing list
> > >>> jsword-devel at crosswire.org
> > >>> http://www.crosswire.org/mailman/listinfo/jsword-devel
> > >> 
> > >> 
> > >> _______________________________________________
> > >> jsword-devel mailing list
> > >> jsword-devel at crosswire.org
> > >> http://www.crosswire.org/mailman/listinfo/jsword-devel
> > > 
> > > _______________________________________________
> > > jsword-devel mailing list
> > > jsword-devel at crosswire.org
> > > http://www.crosswire.org/mailman/listinfo/jsword-devel
> > 
> > 
> > _______________________________________________
> > jsword-devel mailing list
> > jsword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/jsword-devel
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel



More information about the jsword-devel mailing list