Re: Error when running ant package in solr 7.2.1 from source
On 3/27/2018 7:36 PM, C F wrote: I'm unable to run the ant package target in solr-7.2.1-src.tgz. Any ideas? Is git required now? This is not a new requirement. When the official repository was in subversion, that target required svn -- it couldn't be built if the checkout was done from github. (now checkouts from github work fine) https://issues.apache.org/jira/browse/LUCENE-4288 One of the things that the 'ant package' target will create is a source package a lot like the one that you downloaded to begin with, and it seems that it uses the version control software (git) to create that package. There is another target which just creates the binary package. Use "ant create-package" instead of "ant package" and it should work. Thanks, Shawn
Error when running ant package in solr 7.2.1 from source
I'm unable to run the ant package target in solr-7.2.1-src.tgz. Any ideas? Is git required now? $ ant package Buildfile: /home/local/fred/solr-7.2.1/solr/build.xml init-dist: package-src-tgz: [exec] fatal: Not a git repository (or any parent up to mount point /) [exec] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). BUILD FAILED /home/local/fred/solr-7.2.1/solr/build.xml:487: The following error occurred while executing this line: /home/local/fred/solr-7.2.1/lucene/common-build.xml:2305: exec returned: 128 Total time: 0 seconds Thanks, Carlton
ant package
Hi all, i want to build the package of my solr and i found it can be done using ant. When i type ant package in solr module i get an error as:::\ sa...@swaroop:~/temporary/trunk/solr$ ant package Buildfile: build.xml maven.ant.tasks-check: BUILD FAILED /home/satya/temporary/trunk/solr/common-build.xml:522: ## Maven ant tasks not found. Please make sure the maven-ant-tasks jar is in ANT_HOME/lib, or made available to Ant using other mechanisms like -lib or CLASSPATH. ## Total time: 0 seconds can anyone tell me the procedure to build it or give any information about it.. Regards, satya
Re: ant package
You don't have the ant-maven jar in your ant/lib directory. On my machine it's maven-artifact-ant-2.0.4-dep.jar. That said, I'm not all that sure where it came from, but when I removed it I got the exact error you got Best Erick On Tue, Sep 21, 2010 at 5:31 AM, satya swaroop sswaro...@gmail.com wrote: Hi all, i want to build the package of my solr and i found it can be done using ant. When i type ant package in solr module i get an error as:::\ sa...@swaroop:~/temporary/trunk/solr$ ant package Buildfile: build.xml maven.ant.tasks-check: BUILD FAILED /home/satya/temporary/trunk/solr/common-build.xml:522: ## Maven ant tasks not found. Please make sure the maven-ant-tasks jar is in ANT_HOME/lib, or made available to Ant using other mechanisms like -lib or CLASSPATH. ## Total time: 0 seconds can anyone tell me the procedure to build it or give any information about it.. Regards, satya
Re: ant package
HI , ya i dont have the jar file in the ant/lib where can i get the jar file or wat is the procedure to make that maven-artifact-ant-2.0.4-dep.jar?? regards, satya
Re: ant package
Hi erick, thanks for reply and i got the jar file downloaded and kept it in ant library now when i make ant package command it getting error in the middle of build in generate-maven-artifacts... and the error is sa...@geodesic-desktop:~/temporary/trunk/solr$ sudo ant package --- --- --- generate-maven-artifacts: [mkdir] Created dir: /home/satya/temporary/trunk/solr/build/maven [mkdir] Created dir: /home/satya/temporary/trunk/solr/dist/maven [copy] Copying 1 file to /home/satya/temporary/trunk/solr/build/maven/src/maven [artifact:install-provider] Installing provider: org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 BUILD FAILED /home/satya/temporary/trunk/solr/build.xml:853: The following error occurred while executing this line: /home/satya/temporary/trunk/solr/common-build.xml:373: artifact:deploy doesn't support the uniqueVersion attribute Total time: 1 minute 51 seconds sa...@desktop:~/temporary/trunk/solr$ Regards, satya
Re: ant package
I really think you'd save a lot of time just downloading the native distro for your unix box, *then* making modifications. Otherwise you'll be in a never-ending loop of what happened that time?. Really. Best Erick On Tue, Sep 21, 2010 at 8:29 AM, satya swaroop sswaro...@gmail.com wrote: Hi erick, thanks for reply and i got the jar file downloaded and kept it in ant library now when i make ant package command it getting error in the middle of build in generate-maven-artifacts... and the error is sa...@geodesic-desktop:~/temporary/trunk/solr$ sudo ant package --- --- --- generate-maven-artifacts: [mkdir] Created dir: /home/satya/temporary/trunk/solr/build/maven [mkdir] Created dir: /home/satya/temporary/trunk/solr/dist/maven [copy] Copying 1 file to /home/satya/temporary/trunk/solr/build/maven/src/maven [artifact:install-provider] Installing provider: org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 BUILD FAILED /home/satya/temporary/trunk/solr/build.xml:853: The following error occurred while executing this line: /home/satya/temporary/trunk/solr/common-build.xml:373: artifact:deploy doesn't support the uniqueVersion attribute Total time: 1 minute 51 seconds sa...@desktop:~/temporary/trunk/solr$ Regards, satya