|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
adding a layer.xml to module without oneIf I fail to generate a layer.xml file when I first create a module, the Module's manifest then does not contain:
OpenIDE-Module-Layer: org/demo/layer.xml Using the IDE, how do I later add a layer.xml to a module that does not contain one? Do I have to edit the manifest file manually and create a layer.xml with <filesystem> tags? Or is there a way to do this via the IDE user interface? |
|
|
Re: adding a layer.xml to module without onetimotheus2 wrote:
> If I fail to generate a layer.xml file when I first create a module, the Module's manifest then does not contain: > > > > OpenIDE-Module-Layer: org/demo/layer.xml > > > > Using the IDE, how do I later add a layer.xml to a module that does not contain one? Do I have to edit the manifest file manually and create a layer.xml with <filesystem> tags? Or is there a way to do this via the IDE user interface? > -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog Fabrizio.Giudici@... - mobile: +39 348.150.6941 |
|
|
Re: adding a layer.xml to module without onetimotheus2 wrote:
> If I fail to generate a layer.xml file when I first create a module, the Module's manifest then does not contain: > > OpenIDE-Module-Layer: org/demo/layer.xml > > Using the IDE, how do I later add a layer.xml to a module that does not contain one? Do I have to edit the manifest file manually and create a layer.xml with <filesystem> tags? Or is there a way to do this via the IDE user interface? > Any wizard that produces XML layer entry (e.g. Action wizard, Top Component wizard, etc.) creates layer.xml as well as manifest entry when necessary. R. |
|
|
Re: adding a layer.xml to module without oneRichard Michalsky wrote:
> timotheus2 wrote: >> If I fail to generate a layer.xml file when I first create a module, >> the Module's manifest then does not contain: >> >> OpenIDE-Module-Layer: org/demo/layer.xml >> >> Using the IDE, how do I later add a layer.xml to a module that does >> not contain one? Do I have to edit the manifest file manually and >> create a layer.xml with <filesystem> tags? Or is there a way to do >> this via the IDE user interface? >> > Any wizard that produces XML layer entry (e.g. Action wizard, Top > Component wizard, etc.) creates layer.xml as well as manifest entry > when necessary. later. I don't think whether this is simpler than manually creating an empty layer.xml and adding a line to the manifest - but of course this is subjective. -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog Fabrizio.Giudici@... - mobile: +39 348.150.6941 |
|
|
Re: adding a layer.xml to module without oneFabrizio Giudici wrote:
> Richard Michalsky wrote: >> timotheus2 wrote: >>> If I fail to generate a layer.xml file when I first create a module, >>> the Module's manifest then does not contain: >>> >>> OpenIDE-Module-Layer: org/demo/layer.xml >>> >>> Using the IDE, how do I later add a layer.xml to a module that does >>> not contain one? Do I have to edit the manifest file manually and >>> create a layer.xml with <filesystem> tags? Or is there a way to do >>> this via the IDE user interface? >>> >> Any wizard that produces XML layer entry (e.g. Action wizard, Top >> Component wizard, etc.) creates layer.xml as well as manifest entry >> when necessary. > Yes, but unless you need that stuff, you have to manually remove it > later. I don't think whether this is simpler than manually creating an > empty layer.xml and adding a line to the manifest - but of course this > is subjective. > files. Gj |
|
|
Re: adding a layer.xml to module without oneGeertjan Wielenga wrote:
> Fabrizio Giudici wrote: >> Richard Michalsky wrote: >>> timotheus2 wrote: >>>> If I fail to generate a layer.xml file when I first create a >>>> module, the Module's manifest then does not contain: >>>> >>>> OpenIDE-Module-Layer: org/demo/layer.xml >>>> >>>> Using the IDE, how do I later add a layer.xml to a module that does >>>> not contain one? Do I have to edit the manifest file manually and >>>> create a layer.xml with <filesystem> tags? Or is there a way to do >>>> this via the IDE user interface? >>>> >>> Any wizard that produces XML layer entry (e.g. Action wizard, Top >>> Component wizard, etc.) creates layer.xml as well as manifest entry >>> when necessary. >> Yes, but unless you need that stuff, you have to manually remove it >> later. I don't think whether this is simpler than manually creating >> an empty layer.xml and adding a line to the manifest - but of course >> this is subjective. wizards and whoever is skilled enough to edit layer.xml manually, can also add manifest entry . >> > It would be great to have a file-level template for creating layer.xml > files. What kind of template do you mean? > > Gj |
|
|
Re: adding a layer.xml to module without oneI agree with Gj here. I'm skilled enough to edit my own later.xml file manually --- but if NetBeans can do it for me if I forget, that's still preferable.
Stefik On Tue, Oct 20, 2009 at 7:57 AM, Richard Michalsky <Richard.Michalsky@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |