Re: Saving and recalling window/mode layouts?

<[email protected]> Thu, 11 May 2017 13:28:46 +0000 (UTC)
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hi all,

I have made some progress in my quest to create Modes programatically:

1. Built NetBeans from source.
2. Modified core.windows to allow creation of Modes.
3. Modified openide.windows to add to the Mode interface.
4. "Patched" my application by installing the two patched jars into
platform/modules/patches, with empty manifests, largely following the
steps described in this post:
https://netbeans.org/projects/platform/lists/dev/archive/2014-01/messag
e/343

When I run my application, I can see that the patched jars are being
loaded and used in the application, through diagnostic output
statements that I have put in strategic places. So far so good.

Now, I want to use the modified Mode interface in the client code in my
application, but of course the patched jars are not in my local Maven
repository, so I cannot do that.

I think I need to properly publish my locally built NetBeans modules
(built with ant) into Maven? I guess there must be a publish-to-Maven
mechanism somewhere, which is the starting point for getting the
netbeans modules into maven central?

If I did that, then there doesn't seem to be a need to put the patched
jars into platform/modules/patches...

Any help GREATLY appreciated!

Thanks
Mark