It's the jMonkeyEngine SDK (3D GameDev) and currently our users can only
build using Ant, but many projects are now based on gradle.
The Problem is that we have our own "implementation" of the Project API
as we add some Custom Tasks to the build process and
also only enable our special editors if a jMonkeyEngine project has been
detected (we need the special assets/ folder).

If a user now installs the plugin without us subclassing the
ProjectFactory, all projects load as gradle projects and hence our
application "falls back" to a regular Netbeans IDE. In order to use the
SDK again, the user has to disable the Gradle Plugin. That's why I
wanted to override the ProjectFactory (that way I can even determine
regular gradle projects).
And that also enables me to dig into the plugin to add custom tasks and
settings

Kind Regards,
Marc


Am 23.01.2018 um 12:26 schrieb Geertjan Wielenga:
> Would also be useful to know a little about the context. I.e.,
> where/how is this application used and why not let the user install
> the plugin, i.e., why does it need to be bundled at all?
>
> Gj
>
> On Tue, Jan 23, 2018 at 12:24 PM, Marc Streckfuß
> <marc.streckf...@gmail.com> wrote:
>> The Module was already removed in the codebase I was given, but I assume
>> it was to reduce download size, because the plugin could easily be
>> downloaded by the user.
>> Integrating the Sources is not so trivial though, because that module is
>> build with gradle, so I have to see how it integrates (if it's possible
>> to just drop the sources and let ant do the work).
>> Unfortunately there also is a licensing problem due to the LGPL3 and the
>> user would be able to update Gradle Support independently from our
>> wrapper module.
>>
>> I'll evaluate both ways nonetheless.
>> But it's fact that in netbeans/java/modules/ there is
>> org-netbeans-modules-maven.jar and org-netbeans-modules-maven-model.jar,
>> but not in build/ (if that's where they are supposed to be?)
>>
>> Kind Regards,
>> Marc
>>
>> Am 23.01.2018 um 12:10 schrieb Geertjan Wielenga:
>>> I'd recommend getting the sources of the Gradle Support plugin and
>>> including that in your application, instead of doing it the way you're
>>> doing it now.
>>>
>>> Gj
>>>
>>> On Tue, Jan 23, 2018 at 12:09 PM, Geertjan Wielenga
>>> <geertjan.wiele...@googlemail.com> wrote:
>>>> Why did you have to remove 'org.netbeans.modules.maven'?
>>>>
>>>> Gj
>>>>
>>>> On Tue, Jan 23, 2018 at 11:58 AM, Marc Streckfuß
>>>> <marc.streckf...@gmail.com> wrote:
>>>>> It's the Gradle Support Plugin
>>>>> (https://github.com/kelemen/netbeans-gradle-project/).
>>>>>
>>>>> I am installing the Gradle Support Plugin into the shared location (that
>>>>> is netbeans/extra/).
>>>>> Then in the RCP App, I go to a Module's Library Settings and click Add
>>>>> Dependency and tick "show non-api modules" and "Show excl. Modules".
>>>>> That way I can add Gradle Support.
>>>>> (It could be necessary to add /extra and /groovy to the cluster.path).
>>>>>
>>>>> Then I had to remove "org.netbeans.modules.maven" and subpackages from
>>>>> our disabled.modules list and could run my RCP App.
>>>>> Again, I get things like:
>>>>>     org.netbeans.modules.groovy.support - The module named
>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>     org.netbeans.modules.groovy.support - The module named
>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>
>>>>> Could it be that I'd have to Re-install Maven Support, so it's also in a
>>>>> path which is accessible under cluster.path? (But the ant build isn't
>>>>> complaining...)
>>>>>
>>>>> Am 23.01.2018 um 09:06 schrieb Geertjan Wielenga:
>>>>>> Which specific plugin are you talking about? What are the steps you're
>>>>>> taking so someone can reproduce them?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Mon, Jan 22, 2018 at 9:16 PM, Marc Streckfuß
>>>>>> <marc.streckf...@gmail.com> wrote:
>>>>>>> Hey Guys,
>>>>>>>
>>>>>>> I'm currently trying to bundle a plugin from the update center with my
>>>>>>> application.
>>>>>>> In the long run, I try to subclass that plugin to adjust some of it's
>>>>>>> features to said application, but that's not yet done.
>>>>>>>
>>>>>>> I've followed some instructions found on the net claiming to set the
>>>>>>> download/installation folder to "shared location" and that successfully
>>>>>>> leads to a folder called "extra/" to be created. Since I had to tamper
>>>>>>> the exported public API and could not figure out how to correct update
>>>>>>> center's CRC, I forked the plugin in question (Gradle Support) and
>>>>>>> manually built it and installed the nbm into Netbeans.
>>>>>>>
>>>>>>> Now the current state is that in the Host IDE (NB), I can use the Plugin
>>>>>>> and I can also add it as Module Dependency, but when I try to launch my
>>>>>>> Platform Application, everything fails:
>>>>>>>
>>>>>>> Warning - could not install some modules:
>>>>>>>     org.netbeans.modules.maven.indexer - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.support - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.support - The module named
>>>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.antproject - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.refactoring - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.refactoring - The module
>>>>>>> org.netbeans.modules.maven.indexer would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.refactoring - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.lib.profiler.common - None of the modules providing the
>>>>>>> capability org.netbeans.lib.profiler.common.Profiler could be installed.
>>>>>>>     org.netbeans.modules.maven.coverage - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.coverage - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.grails - The module named
>>>>>>> org.netbeans.modules.server/0-1 was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.grails - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.indexer.ui - The module
>>>>>>> org.netbeans.modules.maven.indexer would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.indexer.ui - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.checkstyle - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.checkstyle - The module named
>>>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.checkstyle - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.grammar - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.grammar - The module
>>>>>>> org.netbeans.modules.maven.indexer.ui would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.grammar - The module
>>>>>>> org.netbeans.modules.maven.indexer would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.grammar - The module named
>>>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.grammar - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.groovy - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.groovy - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.groovy - The module named
>>>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.editor - The module named
>>>>>>> org.netbeans.modules.libs.groovy was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.editor - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.refactoring - The module named
>>>>>>> org.netbeans.modules.libs.groovy was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.refactoring - The module
>>>>>>> org.netbeans.modules.groovy.editor would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.refactoring - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.gsp - The module
>>>>>>> org.netbeans.modules.groovy.editor would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.grailsproject - The module
>>>>>>> org.netbeans.modules.groovy.grails would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.grailsproject - The module
>>>>>>> org.netbeans.modules.groovy.editor would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.grailsproject - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.api - The module
>>>>>>> org.netbeans.lib.profiler.common would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.attach - The module named
>>>>>>> org.netbeans.lib.profiler.ui/1 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler - The module named
>>>>>>> org.netbeans.lib.profiler.ui/1 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler - The module
>>>>>>> org.netbeans.modules.profiler.attach would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.options - The module named
>>>>>>> org.netbeans.lib.profiler.ui/1 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler.options - The module
>>>>>>> org.netbeans.modules.profiler.api would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.options - The module
>>>>>>> org.netbeans.modules.profiler would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.options - The module
>>>>>>> org.netbeans.lib.profiler.common would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.ppoints - The module named
>>>>>>> org.netbeans.lib.profiler.ui/1 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler.ppoints - The module
>>>>>>> org.netbeans.modules.profiler would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.heapwalker - The module named
>>>>>>> org.netbeans.lib.profiler.ui/1 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler.heapwalker - The module
>>>>>>> org.netbeans.modules.profiler.api would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.heapwalker - The module
>>>>>>> org.netbeans.modules.profiler would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.heapwalker - The module
>>>>>>> org.netbeans.lib.profiler.common would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.heapwalker - The module named
>>>>>>> org.netbeans.modules.profiler.oql/2 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler.snaptracer - The module named
>>>>>>> org.netbeans.lib.profiler.ui/1 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler.snaptracer - The module
>>>>>>> org.netbeans.modules.profiler.api would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.snaptracer - The module
>>>>>>> org.netbeans.modules.profiler would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.graph - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.graph - The module
>>>>>>> org.netbeans.modules.maven.indexer.ui would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.graph - The module
>>>>>>> org.netbeans.modules.maven.indexer would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.graph - The module named
>>>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.graph - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.kit - The module named
>>>>>>> org.netbeans.modules.libs.groovy was needed and not found.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.groovy.grails would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.groovy.gsp would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.groovy.editor would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.maven.groovy would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.groovy.grailsproject would also need to be 
>>>>>>> installed.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.groovy.refactoring would also need to be installed.
>>>>>>>     org.netbeans.modules.groovy.kit - The module
>>>>>>> org.netbeans.modules.groovy.antproject would also need to be installed.
>>>>>>>     org.netbeans.gradle.project - None of the modules providing the
>>>>>>> capability cnb.org.netbeans.modules.groovy.kit could be installed.
>>>>>>>     org.netbeans.gradle.project - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     com.jme3.gde.gradle - The module org.netbeans.gradle.project would
>>>>>>> also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.nbimpl - The module named
>>>>>>> org.netbeans.lib.profiler.ui/1 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler.nbimpl - The module
>>>>>>> org.netbeans.modules.profiler.attach would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.nbimpl - The module
>>>>>>> org.netbeans.modules.profiler.ppoints would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.nbimpl - The module
>>>>>>> org.netbeans.modules.profiler would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.kit - The module
>>>>>>> org.netbeans.modules.profiler.nbimpl would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.kit - The module
>>>>>>> org.netbeans.modules.profiler.heapwalker would also need to be 
>>>>>>> installed.
>>>>>>>     org.netbeans.modules.profiler.kit - The module
>>>>>>> org.netbeans.modules.profiler.options would also need to be installed.
>>>>>>>     org.netbeans.modules.profiler.kit - The module named
>>>>>>> org.netbeans.modules.profiler.oql.language/0 was needed and not found.
>>>>>>>     org.netbeans.modules.profiler.kit - The module
>>>>>>> org.netbeans.modules.profiler.snaptracer would also need to be 
>>>>>>> installed.
>>>>>>>     org.netbeans.modules.maven.osgi - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.osgi - The module
>>>>>>> org.netbeans.modules.maven.grammar would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.osgi - The module named
>>>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.osgi - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.repository - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.repository - The module
>>>>>>> org.netbeans.modules.maven.indexer.ui would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.repository - The module
>>>>>>> org.netbeans.modules.maven.indexer would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.repository - The module named
>>>>>>> org.netbeans.modules.maven.model/1 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.repository - The module named
>>>>>>> org.netbeans.modules.maven.embedder/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.kit - The module
>>>>>>> org.netbeans.modules.maven.coverage would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.kit - The module
>>>>>>> org.netbeans.modules.maven.refactoring would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.kit - The module
>>>>>>> org.netbeans.modules.maven.repository would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.kit - The module named
>>>>>>> org.netbeans.modules.maven/2 was needed and not found.
>>>>>>>     org.netbeans.modules.maven.kit - The module
>>>>>>> org.netbeans.modules.maven.checkstyle would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.kit - The module
>>>>>>> org.netbeans.modules.maven.grammar would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.kit - The module
>>>>>>> org.netbeans.modules.maven.graph would also need to be installed.
>>>>>>>     org.netbeans.modules.maven.kit - The module
>>>>>>> org.netbeans.modules.maven.osgi would also need to be installed.
>>>>>>>
>>>>>>>
>>>>>>> I used to have some of these modules in my disabled.modules property,
>>>>>>> but I've removed them as it actually prevented the application from
>>>>>>> building.
>>>>>>> The issue seems to stem from here:
>>>>>>>
>>>>>>>     org.netbeans.gradle.project - None of the modules providing the
>>>>>>> capability cnb.org.netbeans.modules.groovy.kit could be installed.
>>>>>>>     org.netbeans.gradle.project - The module
>>>>>>> org.netbeans.modules.groovy.support would also need to be installed.
>>>>>>>     com.jme3.gde.gradle - The module org.netbeans.gradle.project would
>>>>>>> also need to be installed.
>>>>>>>
>>>>>>> Since "cnb" did not seem like the right package, I tried to actually
>>>>>>> change it here (
>>>>>>> https://github.com/kelemen/netbeans-gradle-project/blob/master/netbeans-gradle-plugin/src/main/nbm/manifest.mf
>>>>>>> ) but that did not change anything.
>>>>>>>
>>>>>>> Now I'm clueless and appreciate any help :)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>>>>>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>>>>>>
>>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>>>>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>>>>>
>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>>>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>>>>
>>>>> For further information about the NetBeans mailing lists, visit:
>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to