[ 
http://jira.codehaus.org/browse/MNBMODULE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Milos Kleint closed MNBMODULE-19.
---------------------------------

    Resolution: Fixed

done.

the javahelp is expected to be in src/main/javahelp directory. There is also 
expected directory structure within the javahelp folder,
"${codenamebase}/docs" where codenamebase is slash separated code name of the 
module. Eg. org/netbeans/modules/apisupport.

Additionally it's required to add the javahelp jar on plugin's classpath. AFAIK 
it's not available in any remote repository, but it's easily to be found in 
NetBeans harness directory.
A code snippet in pom.xml can look something like this:

{code:xml}
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>nbm-maven-plugin</artifactId>
                <version>2.7-SNAPSHOT</version>
                <extensions>true</extensions>
                <dependencies>
                    <dependency>
                        <groupId>javax.help</groupId>
                        <artifactId>search</artifactId>
                        <version>2.0</version>
                        <scope>system</scope>
                        
<systemPath>/home/mkleint/netbeans-retouche/harness/jsearch-2.0_04.jar</systemPath>
                    </dependency>
                </dependencies>
                <configuration>
                    <descriptor>src/main/nbm/module.xml</descriptor>
                </configuration>
               
            </plugin>
{code}

> package javahelp with netbeans module
> -------------------------------------
>
>                 Key: MNBMODULE-19
>                 URL: http://jira.codehaus.org/browse/MNBMODULE-19
>             Project: Maven 2.x Netbeans Module Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.7
>            Reporter: Milos Kleint
>            Assignee: Milos Kleint
>
> netbeans allows to add a separate jar for documentation to the nbm. It 
> countains the help and an index. The index is generated by the NetBeans ant 
> asks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to