A year or two ago I might have +1'd this. Having used my own lookup-like
API for something unrelated, that returns Optional, I can relate the
following:
- About half the time, if the Optional is actually not present, something
has gone horribly, horribly wrong; so you either write code that assu
Hi again,
Yep, it seems the "build-helper" Maven plugin is actually considered [1]
and used to return the generated sources URIs.
Also it seems that Maven projects define an _internal_ constant for
generated sources (see [2]), whose value is "GeneratedSources".
You can use that as a paramet
A few months ago, I created a draft PR to add a method in the Lookup class
that returns a Java optional.
https://github.com/apache/netbeans/pull/2063
There wasn't any special reason. Only I used it to study how the Netbeans
documentation works.
If anybody is interested in that, I will continue w
Hi,
Some comments inlined below.
El 02/07/2020 a las 17:42, Eduard Karel de Jong escribió:
Hi Antonio,
Thanks for you answer, those are the details I'd need to implement what
I called the 'brute force' approach.' Which involves to determine the
project type by looking for the presence of pa
Hi Antonio,
Thanks for you answer, those are the details I'd need to implement what
I called the 'brute force' approach.' Which involves to determine the
project type by looking for the presence of particularly named build file.
As I had not figured out all of these details yet, your answer
Hi Eduard,
Ah, I see in your original email that you want to generate code from
your plugin. What about this?
= Generating sources for Ant based projects:
1.- The code of your plugin must create a directory named
"build/generated-sources/your-plugin-name"
2.- The code of your plugin then
Hi Eduard,
Before going any further into investigating any solutions, could you
please explain us what the problem you are trying to solve is?
Are you trying to generate source code from your plugin? For both Maven
and Ant type projects? Or do you just want to know which the generated
source
My plan is:
• Creating a new GitHub page (maybe with nuxt.js but it doesn’t matter) which
will be my own plugin portal
• List all my plugins there, add some info from the repos and add the links to
the releases of those plugins to the detail page of the plugin
• Make a list of all latest releases
Thanks Tim
From: Tim Boudreau
Sent: Thursday, July 2, 2020 4:44 PM
To: dev@netbeans.apache.org
Subject: Re: How to self host the plugins
One option is this - follow the link in the page head:
https://timboudreau.com/modules
So, set up Jenkins or similar somewhe
One option is this - follow the link in the page head:
https://timboudreau.com/modules
So, set up Jenkins or similar somewhere to build your modules and archive
the nbm file for each module.
Run the server (just java -jar, no application servers), and add URLs to
the last successful build link f
10 matches
Mail list logo