Closed ghost closed 4 years ago
Hm, you are building 1.9.1, so the HTTPS problem should be fixed.
To make sure, can you check in build.moxie
what the URL for the eclipse-snapshots
registered repository is? Can you reach it from a browser?
@fzs The eclipse-snapshots
url is https://repo.eclipse.org/content/groups/snapshots
And I can access it from the browser
@fzs I'm able to consistently reproduce this issue on different windows machines as well.
I'll have to try and reproduce it on a Windows machine. Usually this means that some URL is not reachable or the response is not understood.
Might be a forward. Can you change the URL to end in a /
and try again?
https://repo.eclipse.org/content/groups/snapshots/
@fzs I tried what you suggested with no luck, It's still the same
Which JDK is this?
It is 1.8.0_111
I am sorry but I cannot reproduce this. I tried it on Windows 10 with JDK 1.8.0_232 and Ant 1.9.14. It always pulled all the dependencies and I was also able to build the WAR.
It does only pull from Maven central and just one item from Github (Gitblit-maven). So the fact that it tries to pull from Eclipse in your case might point to a problem pulling from Maven Central, actually.
Then again, it stops at pulling the index already.
Have you been building Gitblit before successfully and only now it fails? In that case you may need to delete the cached index files in the local .moxie repository. Find the .moxie
directory in your home directory, go into remote
and delete the repo.eclipse.org_*
directories. Then build again.
You can also try and delete the two eclipse
repository entries from the build.moxie
file and build again. I did that and it does still build successfully. It may only complain a bit about missing SHA files when downloading a dependency.
@fzs Thanks for your help so far!
I tried to do what you said but the repo.eclipse.org_*
directories are not being created at all. could this be some sort of proxy issue from India?
So were you already able to compile Gitblit before or is this your first try?
Since you do not have index directories for Eclipse, it sounds like you haven’t compiled it yet. In that case delete your .moxie directory. Then edit the build.moxie file and remove the two eclipse lines from the repository section.
@fzs This is the first time that I'm building Gitblit.
I tried to delete the entire .moxie
directory and then commenting out the two lines in build.moxie
.
The build is passing and I'm able to generate a war!
Getting an exception while building WAR file using ANT, this is the console output