Re: Saving and recalling window/mode layouts?

Dmitry Avtonomov <[email protected]> Mon, 15 May 2017 00:04:41 -0400
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAMMjtf92LCvbmPQ9Lkzhmf_vy6_-7Yd3E98W++aSed6rF2P5dA@mail.gmail.com>
why do you want to publish to Central?
just install into your local repo:
mvn clean install
?
Or am I missing a point?

On Thu, May 11, 2017 at 9:28 AM, <[email protected]> wrote:

> 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
>