On 11/10/22 09:17, Maulin Rathod wrote:
Hi Joshua, Shawn
Thanks for your help.
Now I am able to import project in eclipse.
Now when I execute below build command (for main branch) it fails with the
below exception.
PS D:\solr\SolrReadwrite\solr> ./gradlew build
FAILURE: Build failed with an exception.
Task :solr:documentation:checkBrokenLinks FAILED
I had never actually used the build target.
[final jeopardy music while running "./gradlew build" on a fully
up-to-date main branch]
BUILD SUCCESSFUL in 21m 20s
That takes a lot longer to run than the "dev" or "distTar" targets,
which are what I normally use to get something I can either run or
install. I occasionally use the "check" target which takes several
minutes longer than build did.
After I did the above build, I ran "./gradlew clean distTar" and it took
1m 4s. The distTar target on main creates a solr-10.0.0-SNAPSHOT.tgz
file that works just like the binary downloads you can get from the Solr
website.
You might try doing "./gradlew clean build" instead, to make sure any
existing build artifacts are gone, or use a different target depending
on what it is you're after. Do you have perl installed on the Windows
machine? The build system does use perl, and it would need to be on the
PATH that the command prompt uses.
My tests above were done on Ubuntu Server 22.04. I will try it on a
Windows 10 pro machine and reply back if I have any problems with that.
Thanks,
Shawn