How to have a subdirectory of modules in NB 6.1?

View: New views
2 Messages — Rating Filter:   Alert me  

How to have a subdirectory of modules in NB 6.1?

by tomwheel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm building a custom platform directly on top of NetBeans. I needed
some features not present in the platform build harness so I am using
the nbbuild scripts to build it.  I've put all 40 of my modules in a
subdirectory called "bsp" to cleanly segregate them from the NetBeans
sources; this "bsp" directory is parallel to the other NetBeans source
directories such as "core", "openide", "projects" and so on.

This worked great when building against NB 6.0, but fails when I try
to build against 6.1 sources:

    Target "all-bsp/c.mycompany.example" does not exist in the project
    "nbbuild". It is used from target "nbmerge-build-one-cluster"

Does anyone know what I need to do fix this?  Since the move to Hg, I
don't see any modules in subdirectories that I can look at for an
example of what to do.

--
Tom Wheeler
http://www.tomwheeler.com/

Re: How to have a subdirectory of modules in NB 6.1?

by Jesse Glick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tom Wheeler wrote:
> Since the move to Hg, I don't see any modules in subdirectories that
> I can look at for an example of what to do.

Exactly - there aren't any, because nbbuild no longer supports them. As
part of the Hg migration, all nb.org modules were normalized to live in
top-level dirs (of either the main or contrib repos) named according to
the module CNB, and various bits of Ant and apisupport infrastructure
changed to expect this layout.