Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

HTTP 404 when running :ideSetupP2 #206

Open
vmgbrown opened this issue Jun 1, 2023 · 2 comments
Open

HTTP 404 when running :ideSetupP2 #206

vmgbrown opened this issue Jun 1, 2023 · 2 comments
Labels

Comments

@vmgbrown
Copy link

vmgbrown commented Jun 1, 2023

I am in the process of migrating a project from net.ltgt.apt-eclipse to com.diffplug.eclipse.apt, and I'm running into an issue when running the :ideSetupP2 task:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ideSetupP2'.
> http://<hostname>:8081/nexus/repository/goomph-p2-bootstrap//goomph-p2-bootstrap-4.7.2.zip
  received http code 404

I do have this asset, but it's at a different path:

http://<hostname>:8081/nexus/repository/thirdparty/com/diffplug/gradle/goomph-p2-bootstrap/4.7.2/goomph-p2-bootstrap-4.7.2.zip

Is there a way to configure which path the plugin uses?

@vmgbrown
Copy link
Author

vmgbrown commented Jun 2, 2023

FWIW, I was able to resolve the issue by rolling back to version 3.24.0. I had previously tried 3.36.2 and 3.26.1.

@nedtwigg
Copy link
Member

nedtwigg commented Jun 2, 2023

Hmm.. net.ltgt.apt-eclipse -> com.diffplug.eclipse.apt shouldn't be using ideSetupP2 at all.

Is there a way to configure which path the plugin uses?

/**
* There are a few things which goomph
* needs to cache on the developer's machine.
* They are described exhaustively by this
* class.
*
* - {@link #p2bootstrap()}
* - {@link #pdeBootstrap()}
* - {@link #pdeBootstrapUrl()}
* - {@link #bundlePool()}
* - {@link #workspaces()}
*
* All these values can be overridden either by setting the
* value of the `public static override_whatever` variable.
*
* If your gradle build is split across multiple files using
* `apply from:`, then these static variables will get wiped
* out. You can fix this by setting a project property
* as such: `project.ext.goomph_override_whatever=something`
*/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants