SolrSuggester Store Lookup build failed

2019-07-10 Thread Paras Jadav
Hi Team,

Upon solr suggestion functionality implementation, we have started getting 
below error in solr admin error panel:-

2019-06-19 10:35:39.996 INFO 
(searcherExecutor-65-thread-1-processing-x:sitecore_master_index) [ 
x:sitecore_master_index] o.a.s.h.c.SuggestComponent buildOnCommit: mySuggester
2019-06-19 10:35:39.996 INFO 
(searcherExecutor-65-thread-1-processing-x:sitecore_master_index) [ 
x:sitecore_master_index] o.a.s.s.s.SolrSuggester 
SolrSuggester.build(mySuggester)
2019-06-19 10:35:40.386 ERROR 
(searcherExecutor-65-thread-1-processing-x:sitecore_master_index) [ 
x:sitecore_master_index] o.a.s.s.s.SolrSuggester Store Lookup build failed
2019-06-19 10:35:40.386 INFO 
(searcherExecutor-65-thread-1-processing-x:sitecore_master_index) [ 
x:sitecore_master_index] o.a.s.c.SolrCore [sitecore_master_index] Registered 
new searcher 
Searcher@25e3a554[sitecore_master_index]main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_46q(6.6.0):C21993/2:delGen=1)
 Uninverting(_495(6.6.0):C2)))}

Please find below configuration that we did in solrconfig.xml file for 
sitecore_master_index, sitecore_master_index_rebuild, sitecore_web_index and 
sitecore_web_index_rebuild.

Configuration:-





mySuggester

suggester_fuzzy_dir

AnalyzingInfixLookupFactory

DocumentDictionaryFactory

title_t

text_general

text_suggest

_language

true

true

_fullpath





 

true

1000

mySuggester





suggest





I can see that same issue does exist at:-
https://lists.gt.net/lucene/java-dev/304930?page=last

https://issues.apache.org/jira/browse/SOLR-9227

Can we have resolution/patch for this?

Regards,
Paras Jadav






Disclaimer The information in this email and any attachments may contain 
proprietary and confidential information that is intended for the addressee(s) 
only. If you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, retention or use of the contents of this 
information is prohibited. When addressed to our clients or vendors, any 
information contained in this e-mail or any attachments is subject to the terms 
and conditions in any governing contract. If you have received this e-mail in 
error, please immediately contact the sender and delete the e-mail.


Re: solr spell check index dictionary build failed issue

2018-02-13 Thread Alessandro Benedetti
Shooting in the dark it seems that 2 processes are trying to write the same
disk directory.
Is this directory shared by different Solr cores or Solr instances ?

If you contribute the configuration from the solrconfig we may be able to
help.



-
---
Alessandro Benedetti
Search Consultant, R Software Engineer, Director
Sease Ltd. - www.sease.io
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


solr spell check index dictionary build failed issue

2018-02-12 Thread Krishna Kumar Sharma
Hell


I have issue on building of spell check index dictionary

showing error as like

ERROR
undefined
SpellCheckComponent
Exception in building spell check index for spellchecker: indexD

org.apache.lucene.store.LockObtainFailedException: Lock held by this
virtual machine:
/var/lib/solr/data/solr.data/catalog.catalog004/spellchecker/write.lock
at
org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.lucene.store.FilterDirectory.obtainLock(FilterDirectory.java:103)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:941)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.lucene.search.spell.SpellChecker.clearIndex(SpellChecker.java:455)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.solr.spelling.IndexBasedSpellChecker.build(IndexBasedSpellChecker.java:87)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.buildSpellIndex(SpellCheckComponent.java:835)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.newSearcher(SpellCheckComponent.java:820)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.solr.core.SolrCore$6.call(SolrCore.java:1973)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_121]
at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:237)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_121]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]


please send me solution if find it


Thanks

Krishna Kumar Sharma


Re: BUILD FAILED solr 6.5.0

2017-04-20 Thread Steve Rowe
Hi Bernd,

Glad you got things working.

https://issues.apache.org/jira/browse/LUCENE-4960 is an existing issue to 
address this problem, but nobody has figured out how to do it yet I guess.

--
Steve
www.lucidworks.com

> On Apr 20, 2017, at 2:35 AM, Bernd Fehling <bernd.fehl...@uni-bielefeld.de> 
> wrote:
> 
> Hi Steve,
> 
> thanks a lot for solving my problem.
> 
> Would it be possible to check for ivy >= 2.3 at start of build
> and give your hint as message to the user?
> 
> Regards
> Bernd
> 
> Am 19.04.2017 um 17:01 schrieb Steve Rowe:
>> Hi Bernd,
>> 
>> Your Ivy may be outdated - the project requires minimum 2.3.
>> 
>> Try removing all pre-2.3 ivy-*.jar files from ~/.ant/lib/, then running “ant 
>> ivy-bootstrap”.
>> 
>> --
>> Steve
>> www.lucidworks.com
>> 
>>> On Apr 19, 2017, at 10:55 AM, Bernd Fehling 
>>> <bernd.fehl...@uni-bielefeld.de> wrote:
>>> 
>>> Tried today to have a look at solr 6.5.0.
>>> - download solr-6.5.0-src.tgz from apache.org and extracted to workspace
>>> - ant eclipse
>>> - imported to eclipse neon as new project
>>> - from eclipse in lucene subdir clicked on build.xml and selected
>>> "Run As" --> "Ant Build..."
>>> - selected "package" and "Run"
>>> 
>>> Result:
>>> ...
>>> [javadoc] Loading source files for package org.apache.lucene.search.spans...
>>> [javadoc] Loading source files for package org.apache.lucene.store...
>>> [javadoc] Loading source files for package org.apache.lucene.util...
>>> [javadoc] Loading source files for package 
>>> org.apache.lucene.util.automaton...
>>> [javadoc] Loading source files for package org.apache.lucene.util.fst...
>>> [javadoc] Constructing Javadoc information...
>>> [javadoc] Standard Doclet version 1.8.0_121
>>> [javadoc] Building tree for all the packages and classes...
>>> [javadoc] Building index for all the packages and classes...
>>> [javadoc] Building index for all classes...
>>>[exec] Result: 128
>>> [jar] Building jar:
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
>>> javadocs:
>>> changes-to-html:
>>>   [mkdir] Created dir: 
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>>>  [delete] Deleting: 
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
>>>[copy] Copying 3 files to 
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>>> ivy-availability-check:
>>> ivy-fail:
>>> ivy-configure:
>>> [ivy:configure] :: loading settings :: file = 
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
>>> resolve-groovy:
>>> [ivy:cachepath] :: resolving dependencies :: 
>>> org.codehaus.groovy#groovy-all-caller;working
>>> [ivy:cachepath] confs: [default]
>>> [ivy:cachepath] found org.codehaus.groovy#groovy-all;2.4.8 in public
>>> [ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
>>> -
>>> |  |modules||   artifacts   |
>>> |   conf   | number| search|dwnlded|evicted|| number|dwnlded|
>>> -
>>> |  default |   1   |   0   |   0   |   0   ||   1   |   0   |
>>> -
>>> resolve-markdown:
>>> 
>>> BUILD FAILED
>>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415:
>>>  ivy:cachepath doesn't support the nested "dependency" element.
>>> 
>>> 
>>> Any idea what is going wrong?
>>> 
>>> Something with ivy:dependency within ivy:cachepath, but how to fix it?
>>> 
>>> Regards
>>> Bernd
>> 



Re: BUILD FAILED solr 6.5.0

2017-04-20 Thread Bernd Fehling
Hi Steve,

thanks a lot for solving my problem.

Would it be possible to check for ivy >= 2.3 at start of build
and give your hint as message to the user?

Regards
Bernd

Am 19.04.2017 um 17:01 schrieb Steve Rowe:
> Hi Bernd,
> 
> Your Ivy may be outdated - the project requires minimum 2.3.
> 
> Try removing all pre-2.3 ivy-*.jar files from ~/.ant/lib/, then running “ant 
> ivy-bootstrap”.
> 
> --
> Steve
> www.lucidworks.com
> 
>> On Apr 19, 2017, at 10:55 AM, Bernd Fehling <bernd.fehl...@uni-bielefeld.de> 
>> wrote:
>>
>> Tried today to have a look at solr 6.5.0.
>> - download solr-6.5.0-src.tgz from apache.org and extracted to workspace
>> - ant eclipse
>> - imported to eclipse neon as new project
>> - from eclipse in lucene subdir clicked on build.xml and selected
>>  "Run As" --> "Ant Build..."
>> - selected "package" and "Run"
>>
>> Result:
>> ...
>>  [javadoc] Loading source files for package org.apache.lucene.search.spans...
>>  [javadoc] Loading source files for package org.apache.lucene.store...
>>  [javadoc] Loading source files for package org.apache.lucene.util...
>>  [javadoc] Loading source files for package 
>> org.apache.lucene.util.automaton...
>>  [javadoc] Loading source files for package org.apache.lucene.util.fst...
>>  [javadoc] Constructing Javadoc information...
>>  [javadoc] Standard Doclet version 1.8.0_121
>>  [javadoc] Building tree for all the packages and classes...
>>  [javadoc] Building index for all the packages and classes...
>>  [javadoc] Building index for all classes...
>> [exec] Result: 128
>>  [jar] Building jar:
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
>> javadocs:
>> changes-to-html:
>>[mkdir] Created dir: 
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>>   [delete] Deleting: 
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
>> [copy] Copying 3 files to 
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>> ivy-availability-check:
>> ivy-fail:
>> ivy-configure:
>> [ivy:configure] :: loading settings :: file = 
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
>> resolve-groovy:
>> [ivy:cachepath] :: resolving dependencies :: 
>> org.codehaus.groovy#groovy-all-caller;working
>> [ivy:cachepath]  confs: [default]
>> [ivy:cachepath]  found org.codehaus.groovy#groovy-all;2.4.8 in public
>> [ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
>>  -
>>  |  |modules        ||   artifacts   |
>>  |   conf   | number| search|dwnlded|evicted|| number|dwnlded|
>>  -
>>  |  default |   1   |   0   |   0   |   0   ||   1   |   0   |
>>  -
>> resolve-markdown:
>>
>> BUILD FAILED
>> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415:
>>  ivy:cachepath doesn't support the nested "dependency" element.
>>
>>
>> Any idea what is going wrong?
>>
>> Something with ivy:dependency within ivy:cachepath, but how to fix it?
>>
>> Regards
>> Bernd
> 


Re: BUILD FAILED solr 6.5.0

2017-04-19 Thread Steve Rowe
Hi Bernd,

Your Ivy may be outdated - the project requires minimum 2.3.

Try removing all pre-2.3 ivy-*.jar files from ~/.ant/lib/, then running “ant 
ivy-bootstrap”.

--
Steve
www.lucidworks.com

> On Apr 19, 2017, at 10:55 AM, Bernd Fehling <bernd.fehl...@uni-bielefeld.de> 
> wrote:
> 
> Tried today to have a look at solr 6.5.0.
> - download solr-6.5.0-src.tgz from apache.org and extracted to workspace
> - ant eclipse
> - imported to eclipse neon as new project
> - from eclipse in lucene subdir clicked on build.xml and selected
>  "Run As" --> "Ant Build..."
> - selected "package" and "Run"
> 
> Result:
> ...
>  [javadoc] Loading source files for package org.apache.lucene.search.spans...
>  [javadoc] Loading source files for package org.apache.lucene.store...
>  [javadoc] Loading source files for package org.apache.lucene.util...
>  [javadoc] Loading source files for package 
> org.apache.lucene.util.automaton...
>  [javadoc] Loading source files for package org.apache.lucene.util.fst...
>  [javadoc] Constructing Javadoc information...
>  [javadoc] Standard Doclet version 1.8.0_121
>  [javadoc] Building tree for all the packages and classes...
>  [javadoc] Building index for all the packages and classes...
>  [javadoc] Building index for all classes...
> [exec] Result: 128
>  [jar] Building jar:
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
> javadocs:
> changes-to-html:
>[mkdir] Created dir: 
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
>   [delete] Deleting: 
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
> [copy] Copying 3 files to 
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
> ivy-availability-check:
> ivy-fail:
> ivy-configure:
> [ivy:configure] :: loading settings :: file = 
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
> resolve-groovy:
> [ivy:cachepath] :: resolving dependencies :: 
> org.codehaus.groovy#groovy-all-caller;working
> [ivy:cachepath]   confs: [default]
> [ivy:cachepath]   found org.codehaus.groovy#groovy-all;2.4.8 in public
> [ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
>   -
>   |  |modules||   artifacts   |
>   |   conf   | number| search|dwnlded|evicted|| number|dwnlded|
>   -----
>   |  default |   1   |   0   |   0   |   0   ||   1   |   0   |
>   -
> resolve-markdown:
> 
> BUILD FAILED
> /srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415:
>  ivy:cachepath doesn't support the nested "dependency" element.
> 
> 
> Any idea what is going wrong?
> 
> Something with ivy:dependency within ivy:cachepath, but how to fix it?
> 
> Regards
> Bernd



BUILD FAILED solr 6.5.0

2017-04-19 Thread Bernd Fehling
Tried today to have a look at solr 6.5.0.
- download solr-6.5.0-src.tgz from apache.org and extracted to workspace
- ant eclipse
- imported to eclipse neon as new project
- from eclipse in lucene subdir clicked on build.xml and selected
  "Run As" --> "Ant Build..."
- selected "package" and "Run"

Result:
...
  [javadoc] Loading source files for package org.apache.lucene.search.spans...
  [javadoc] Loading source files for package org.apache.lucene.store...
  [javadoc] Loading source files for package org.apache.lucene.util...
  [javadoc] Loading source files for package org.apache.lucene.util.automaton...
  [javadoc] Loading source files for package org.apache.lucene.util.fst...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.8.0_121
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
 [exec] Result: 128
  [jar] Building jar:
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/test-framework/lucene-test-framework-6.5.0-SNAPSHOT-javadoc.jar
javadocs:
changes-to-html:
[mkdir] Created dir: 
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
   [delete] Deleting: 
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/doap.lucene.version.dates.csv
 [copy] Copying 3 files to 
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/build/docs/changes
ivy-availability-check:
ivy-fail:
ivy-configure:
[ivy:configure] :: loading settings :: file = 
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/top-level-ivy-settings.xml
resolve-groovy:
[ivy:cachepath] :: resolving dependencies :: 
org.codehaus.groovy#groovy-all-caller;working
[ivy:cachepath] confs: [default]
[ivy:cachepath] found org.codehaus.groovy#groovy-all;2.4.8 in public
[ivy:cachepath] :: resolution report :: resolve 10ms :: artifacts dl 0ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   1   |   0   |   0   |   0   ||   1   |   0   |
---------
resolve-markdown:

BUILD FAILED
/srv/www/solr/workspace_neon_solr_6_5_0/solr-6.5.0/lucene/common-build.xml:2415:
 ivy:cachepath doesn't support the nested "dependency" element.


Any idea what is going wrong?

Something with ivy:dependency within ivy:cachepath, but how to fix it?

Regards
Bernd


getTextContent() caused my local solr build failed

2009-09-08 Thread 张跃
All the follwing .getTextContent() failed , which caused my local solr build 
failed, althogh it is just sync-ed with the SVN build. 

list.add(nodeList.item(i).getTextContent()); 
 assertEquals(prefix-proptwo-suffix, nl.item(0).getTextContent());
  Node node = solrConfig.getNode(propTest, true);
 assertEquals(prefix-proptwo-suffix, node.getTextContent());

Any hints on how to solve it are highly appreciated. 

Thanks. 

2009-09-08 
Yue ZHANG
- Beijing 


Re: Build Failed

2009-06-11 Thread Michael Ludwig

Mukerjee, Neiloy (Neil) schrieb:

When running ant example to do an example configuration, I get the
following message:

BUILD FAILED



/home/stagger2/Solr/apache-solr-1.3.0/common-build.xml:149: Compile
failed; see the compiler error output for details.

I've tried reading through the files in question, but I can't seem to
find the issue. Any suggestions?


Run: ant -verbose

Michael Ludwig


RE: Build Failed

2009-06-11 Thread Mukerjee, Neiloy (Neil)
Running ant -verbose still doesn't allow me to run an example configuration. I 
get the same error from ant example after getting the following from ant 
-verbose:

Apache Ant version 1.7.0 compiled on August 29 2007
Buildfile: build.xml
Detected Java version: 1.6 in: /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/jre
Detected OS: Linux
parsing buildfile /home/stagger2/Solr/apache-solr-1.3.0/build.xml with URI = 
file:/home/stagger2/Solr/apache-solr-1.3.0/build.xml
Project base dir set to: /home/stagger2/Solr/apache-solr-1.3.0
[antlib:org.apache.tools.ant] Could not load definitions from resource 
org/apache/tools/ant/antlib.xml. It could not be found.
Importing file /home/stagger2/Solr/apache-solr-1.3.0/common-build.xml from 
/home/stagger2/Solr/apache-solr-1.3.0/build.xml
parsing buildfile /home/stagger2/Solr/apache-solr-1.3.0/common-build.xml with 
URI = file:/home/stagger2/Solr/apache-solr-1.3.0/common-build.xml
 [property] Loading /home/stagger2/Solr/apache-solr-1.3.0/build.properties
 [property] Unable to find property file: 
/home/stagger2/Solr/apache-solr-1.3.0/build.properties
Override ignored for property DSTAMP
Override ignored for property TSTAMP
[available] Unable to load class org.apache.maven.artifact.ant.Pom to set 
property maven.ant.tasks.present
[available] Unable to load class com.cenqua.clover.tasks.CloverReportTask to 
set property clover.present
 [macrodef] creating macro  solr-javac
 [macrodef] creating macro  solr-jar
 [macrodef] creating macro  solr-checksum
 [macrodef] creating macro  contrib-crawl
 [macrodef] creating macro  invoke-javadoc
Property pom.xml has not been set
Property jar.file has not been set
 [macrodef] creating macro  m2-deploy
[available] Unable to load class com.cenqua.clover.tasks.CloverReportTask to 
set property clover.present
Build sequence for target(s) `usage' is [usage]
Complete build sequence is [usage, common.make-manifest, init-forrest-entities, 
compile-common, compile, compile-solrj-core, compile-solrj, compileTests, 
junit, test-core, build-contrib, test-contrib, test, make-manifest, dist-jar, 
dist-solrj, dist-contrib, dist-war, dist, example, javadoc-core, 
javadoc-common, javadoc-contrib, javadoc-solrj, javadoc-all, javadoc, dist-src, 
dist-javadoc, create-package, nightly, clover.setup, common.dist-contrib, 
clean-contrib, clean, svn-up, build-site, maven.ant.tasks-check, 
generate-maven-artifacts, package, prepare-release, clean-dest, 
common.test-contrib, -taskdef, stub-factories, rat-sources, test-reports, 
clover.info, clover.check, clover, generate-clover-reports, 
common.maven.ant.tasks-check, common.build-contrib, common.clean-contrib, ]

usage:
 [echo] Welcome to the Solr project!
 [echo] Use 'ant example' to create a runnable example configuration.
 [echo] And for developers:
 [echo] Use 'ant clean' to clean compiled files.
 [echo] Use 'ant compile' to compile the source code.
 [echo] Use 'ant dist' to build the project WAR and JAR files.
 [echo] Use 'ant generate-maven-artifacts' to generate maven artifacts.
 [echo] Use 'ant package' to generate zip, tgz, and maven artifacts for 
distribution.
 [echo] Use 'ant test' to run unit tests.

BUILD SUCCESSFUL
Total time: 1 second


-Original Message-
From: Michael Ludwig [mailto:m...@as-guides.com] 
Sent: Thursday, June 11, 2009 6:05 AM
To: solr-user@lucene.apache.org
Subject: Re: Build Failed

Mukerjee, Neiloy (Neil) schrieb:
 When running ant example to do an example configuration, I get the
 following message:

 BUILD FAILED

 /home/stagger2/Solr/apache-solr-1.3.0/common-build.xml:149: Compile
 failed; see the compiler error output for details.

 I've tried reading through the files in question, but I can't seem to
 find the issue. Any suggestions?

Run: ant -verbose

Michael Ludwig


Re: Build Failed

2009-06-11 Thread Shalin Shekhar Mangar
On Thu, Jun 11, 2009 at 5:49 PM, Mukerjee, Neiloy (Neil) 
neil.muker...@alcatel-lucent.com wrote:

 Running ant -verbose still doesn't allow me to run an example
 configuration. I get the same error from ant example after getting the
 following from ant -verbose:

 Apache Ant version 1.7.0 compiled on August 29 2007
 Buildfile: build.xml
 Detected Java version: 1.6 in: /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/jre


You are using GCJ. Switch to Sun JDK.

-- 
Regards,
Shalin Shekhar Mangar.


Re: Build Failed

2009-06-11 Thread Michael Ludwig

Mukerjee, Neiloy (Neil) schrieb:

Running ant -verbose still doesn't allow me to run an example
configuration. I get the same error from ant example after getting
the following from ant -verbose:



Build sequence for target(s) `usage' is [usage]



usage:
 [echo] Welcome to the Solr project!
 [echo] Use 'ant example' to create a runnable example configuration.
 [echo] And for developers:
 [echo] Use 'ant clean' to clean compiled files.
 [echo] Use 'ant compile' to compile the source code.
 [echo] Use 'ant dist' to build the project WAR and JAR files.
 [echo] Use 'ant generate-maven-artifacts' to generate maven artifacts.
 [echo] Use 'ant package' to generate zip, tgz, and maven artifacts for 
distribution.
 [echo] Use 'ant test' to run unit tests.

BUILD SUCCESSFUL


You might want to read up on Ant usage in the Ant User Manual, a copy of
which should be part of your installation, or can be found on the web.
Quick overview:

ant -help

When I wrote ant -verbose, I meant ant -verbose your-target, so:

ant -verbose example

Michael Ludwig


Build Failed

2009-06-10 Thread Mukerjee, Neiloy (Neil)
When running ant example to do an example configuration, I get the following 
message:

BUILD FAILED
/home/stagger2/Solr/apache-solr-1.3.0/common-build.xml:287: The following error 
occurred while executing this line:
/home/stagger2/Solr/apache-solr-1.3.0/common-build.xml:209: The following error 
occurred while executing this line:
/home/stagger2/Solr/apache-solr-1.3.0/contrib/dataimporthandler/build.xml:53: 
The following error occurred while executing this line:
/home/stagger2/Solr/apache-solr-1.3.0/build.xml:125: The following error 
occurred while executing this line:
/home/stagger2/Solr/apache-solr-1.3.0/common-build.xml:149: Compile failed; see 
the compiler error output for details.

I've tried reading through the files in question, but I can't seem to find the 
issue. Any suggestions?