Anybody have any pointers on this? or how I can work out what’s possible via documentation or source code?
I tried this for the first one containers 'org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.0'
but got this:
org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method containers() for arguments [org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.0] on object of type org.gradle.plugins.ide.eclipse.model.EclipseModel.
If doing what you want is doable with the Eclipse plugin, the docs suggest that @donat and co. don’t want to let us in on the secret of how to
I’m thinking that what you want to do (create an embedded application server in an Eclipse project?) can only be done within the actual IDE itself.
But if you do prove me wrong, and I’m actually hoping I am, then whenever you do figure it out please share how you did it with the rest of us here? There should be no secrets between friends
The error message is correct: EclipseModel doesn’t have a containers() method, EclipseClasspath does. Use the following snippet to define the classpath container: