Thanks, Tomoko, it compiles ok!

Now launching produces some errors:

$ java -cp "dist/*" org.apache.lucene.luke.ui.LukeApplication
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.apache.lucene.luke.ui.LukeApplication.main(Unknown Source)
Caused by: java.lang.NumberFormatException: For input string: "3 1644336 "
        at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:492)
        at java.lang.Byte.parseByte(Byte.java:148)
        at java.lang.Byte.parseByte(Byte.java:174)
        at org.apache.pivot.util.Version.decode(Version.java:156)
        at
org.apache.pivot.wtk.ApplicationContext.<clinit>(ApplicationContext.java:1704)
        ... 1 more


On Thu, Feb 26, 2015 at 1:48 PM, Tomoko Uchida <tomoko.uchida.1...@gmail.com
> wrote:

> Thank you for checking out it!
> Sorry, I've forgot to note important information...
>
> ivy jar is needed to compile. Packaging process needs to be organized, but
> for now, I'm borrowing it from lucene's tools/lib.
> In my environment, Fedora 20 and OpenJDK 1.7.0_71, it can be compiled and
> run as follows.
> If there are any problems, please let me know.
>
> ========
>
> $ svn co http://svn.apache.org/repos/asf/lucene/sandbox/luke/
> $ cd luke/
>
> // copy ivy jar to lib/tools
> $ cp /path/to/lucene_solr_4_10_3/lucene/tools/lib/ivy-2.3.0.jar lib/tools/
> $ ls lib/tools/
> ivy-2.3.0.jar
>
> $ java -version
> java version "1.7.0_71"
> OpenJDK Runtime Environment (fedora-2.5.3.3.fc20-x86_64 u71-b14)
> OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
>
> $ ant ivy-resolve
> ...
> BUILD SUCCESSFUL
>
> // compile and make jars and run
> $ ant dist
> ...
> BUILD SUCCESSFULL
> $ java -cp "dist/*" org.apache.lucene.luke.ui.LukeApplication
> ...
> ========
>
> Thanks,
> Tomoko
>
> 2015-02-26 16:39 GMT+09:00 Dmitry Kan <solrexp...@gmail.com>:
>
> > Hi Tomoko,
> >
> > Thanks for the link. Do you have build instructions somewhere? When I
> > executed ant with no params, I get:
> >
> > BUILD FAILED
> > /home/dmitry/projects/svn/luke/build.xml:40:
> > /home/dmitry/projects/svn/luke/lib-ivy does not exist.
> >
> >
> > On Thu, Feb 26, 2015 at 2:27 AM, Tomoko Uchida <
> > tomoko.uchida.1...@gmail.com
> > > wrote:
> >
> > > Thanks!
> > >
> > > Would you announce at LUCENE-2562 to me and all watchers interested in
> > this
> > > issue, when the branch is ready? :)
> > > As you know, current pivots's version (that supports Lucene 4.10.3) is
> > > here.
> > > http://svn.apache.org/repos/asf/lucene/sandbox/luke/
> > >
> > > Regards,
> > > Tomoko
> > >
> > > 2015-02-25 18:37 GMT+09:00 Dmitry Kan <solrexp...@gmail.com>:
> > >
> > > > Ok, sure. The plan is to make the pivot branch in the current github
> > repo
> > > > and update its structure accordingly.
> > > > Once it is there, I'll let you know.
> > > >
> > > > Thank you,
> > > > Dmitry
> > > >
> > > > On Tue, Feb 24, 2015 at 5:26 PM, Tomoko Uchida <
> > > > tomoko.uchida.1...@gmail.com
> > > > > wrote:
> > > >
> > > > > Hi Dmitry,
> > > > >
> > > > > Thank you for the detailed clarification!
> > > > >
> > > > > Recently, I've created a few patches to Pivot version(LUCENE-2562),
> > so
> > > > I'd
> > > > > like to some more work and keep up to date it.
> > > > >
> > > > > > If you would like to work on the Pivot version, may I suggest you
> > to
> > > > fork
> > > > > > the github's version? The ultimate goal is to donate this to
> > Apache,
> > > > but
> > > > > at
> > > > > > least we will have the common plate. :)
> > > > >
> > > > > Yes, I love to the idea about having common code base.
> > > > > I've looked at both codes of github's (thinlet's) and Pivot's,
> > Pivot's
> > > > > version has very different structure from github's (I think that is
> > > > mainly
> > > > > for UI framework's requirement.)
> > > > > So it seems to be difficult to directly fork github's version to
> > > develop
> > > > > Pivot's version..., but I think I (or any other developers) could
> > catch
> > > > up
> > > > > changes in github's version.
> > > > > There's long way to go for Pivot's version, of course, I'd like to
> > also
> > > > > make pull requests to enhance github's version if I can.
> > > > >
> > > > > Thanks,
> > > > > Tomoko
> > > > >
> > > > > 2015-02-24 23:34 GMT+09:00 Dmitry Kan <solrexp...@gmail.com>:
> > > > >
> > > > > > Hi, Tomoko!
> > > > > >
> > > > > > Thanks for being a fan of luke!
> > > > > >
> > > > > > Current status of github's luke (
> https://github.com/DmitryKey/luke
> > )
> > > is
> > > > > > that
> > > > > > it has releases for all the major lucene versions since 4.3.0,
> > > > excluding
> > > > > > 4.4.0 (luke 4.5.0 should be able open indices of 4.4.0) and the
> > > latest
> > > > --
> > > > > > 5.0.0.
> > > > > >
> > > > > > Porting the github's luke to ALv2 compliant framework (GWT or
> > Pivot)
> > > > is a
> > > > > > long standing goal. With GWT I had issues related to listing and
> > > > reading
> > > > > > the index directory. So this effort has been parked. Most
> recently
> > I
> > > > have
> > > > > > been approaching the Pivot. Mark Miller has done an initial port,
> > > that
> > > > I
> > > > > > took as the basis. I'm hoping to continue on this track as time
> > > > permits.
> > > > > >
> > > > > >
> > > > > > If you would like to work on the Pivot version, may I suggest you
> > to
> > > > fork
> > > > > > the github's version? The ultimate goal is to donate this to
> > Apache,
> > > > but
> > > > > at
> > > > > > least we will have the common plate. :)
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Dmitry
> > > > > >
> > > > > > On Tue, Feb 24, 2015 at 4:02 PM, Tomoko Uchida <
> > > > > > tomoko.uchida.1...@gmail.com
> > > > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I'm an user / fan of Luke, so deeply appreciate your work.
> > > > > > >
> > > > > > > I've carefully read the readme, noticed the (one of) project's
> > > goal:
> > > > > > > "To port the thinlet UI to an ASL compliant license framework
> so
> > > that
> > > > > it
> > > > > > > can be contributed back to Apache Lucene. Current work is done
> > with
> > > > GWT
> > > > > > > 2.5.1."
> > > > > > >
> > > > > > > There has been GWT based, ASL compliant Luke supporting the
> > latest
> > > > > > Lucene ?
> > > > > > >
> > > > > > > I've recently got in with LUCENE-2562. Currently, Apache Pivot
> > > based
> > > > > port
> > > > > > > is going. But I do not know so much about Luke's long (and may
> be
> > > > > > slightly
> > > > > > > complex) history, so I would grateful if anybody clear the
> > > > association
> > > > > of
> > > > > > > the Luke project (now on Github) and the Jira issue. Or, they
> can
> > > be
> > > > > > > independent of each other.
> > > > > > > https://issues.apache.org/jira/browse/LUCENE-2562
> > > > > > > I don't have any opinions, just want to understand current
> status
> > > and
> > > > > > avoid
> > > > > > > duplicate works.
> > > > > > >
> > > > > > > Apologize for a bit annoying post.
> > > > > > >
> > > > > > > Many thanks,
> > > > > > > Tomoko
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2015-02-24 0:00 GMT+09:00 Dmitry Kan <solrexp...@gmail.com>:
> > > > > > >
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > > Luke 4.10.3 has been released. Download it here:
> > > > > > > >
> > > > > > > > https://github.com/DmitryKey/luke/releases/tag/luke-4.10.3
> > > > > > > >
> > > > > > > > The release has been tested against the solr-4.10.3 based
> > index.
> > > > > > > >
> > > > > > > > Issues fixed in this release: #13
> > > > > > > > <https://github.com/DmitryKey/luke/pull/13>
> > > > > > > > Apache License 2.0 abbreviation changed from ASL 2.0 to ALv2
> > > > > > > >
> > > > > > > > Thanks to respective contributors!
> > > > > > > >
> > > > > > > >
> > > > > > > > P.S. waiting for lucene 5.0 artifacts to hit public maven
> > > > > repositories
> > > > > > > for
> > > > > > > > the next major release of luke.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Dmitry Kan
> > > > > > > > Luke Toolbox: http://github.com/DmitryKey/luke
> > > > > > > > Blog: http://dmitrykan.blogspot.com
> > > > > > > > Twitter: http://twitter.com/dmitrykan
> > > > > > > > SemanticAnalyzer: www.semanticanalyzer.info
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Dmitry Kan
> > > > > > Luke Toolbox: http://github.com/DmitryKey/luke
> > > > > > Blog: http://dmitrykan.blogspot.com
> > > > > > Twitter: http://twitter.com/dmitrykan
> > > > > > SemanticAnalyzer: www.semanticanalyzer.info
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Dmitry Kan
> > > > Luke Toolbox: http://github.com/DmitryKey/luke
> > > > Blog: http://dmitrykan.blogspot.com
> > > > Twitter: http://twitter.com/dmitrykan
> > > > SemanticAnalyzer: www.semanticanalyzer.info
> > > >
> > >
> >
> >
> >
> > --
> > Dmitry Kan
> > Luke Toolbox: http://github.com/DmitryKey/luke
> > Blog: http://dmitrykan.blogspot.com
> > Twitter: http://twitter.com/dmitrykan
> > SemanticAnalyzer: www.semanticanalyzer.info
> >
>



-- 
Dmitry Kan
Luke Toolbox: http://github.com/DmitryKey/luke
Blog: http://dmitrykan.blogspot.com
Twitter: http://twitter.com/dmitrykan
SemanticAnalyzer: www.semanticanalyzer.info

Reply via email to