Error by Generating Java Help with the nbm-plugin
-------------------------------------------------
Key: MNBMODULE-51
URL: http://jira.codehaus.org/browse/MNBMODULE-51
Project: Maven 2.x Netbeans Module Plugin
Issue Type: Bug
Affects Versions: 3.0
Environment: Running on windows , java version 6, nbm plugin 3.0.
Plugin javax.help
artifacid search
version 2.0
Reporter: Raffael Maio
Assignee: Milos Kleint
When I build my application (that has many modules) i have some error with the
generation of JavaHelp index. The first module create correclty the index. I
have the following:
[nbm:nbm]
Copying module jar to
D:\workspace\PrjectJAva\BrowserV3-TRUNK\communication\target\nbm\netbeans\ngbrowser\modules
Generating JavaHelp Index...
And then during the build, when i reach the second module i have:
[nbm:nbm]
Copying module jar to
D:\workspace\PrjectJAva\BrowserV3-TRUNK\core\target\nbm\netbeans\ngbrowser\modules
Generating JavaHelp Index...
java.lang.Exception: ConfigFile and/or IndexBuilder not set
at
com.sun.java.help.search.DefaultIndexerKit.storeToken(DefaultIndexerKit.java:156)
at
com.sun.java.help.search.DefaultIndexerKit.parseIntoTokens(DefaultIndexerKit.java:117)
at
com.sun.java.help.search.HTMLIndexerKit$HTMLParserCallback.addContent(HTMLIndexerKit.java:1092)
at
com.sun.java.help.search.HTMLIndexerKit$HTMLParserCallback.addContent(HTMLIndexerKit.java:1064)
at
com.sun.java.help.search.HTMLIndexerKit$HTMLParserCallback.handleText(HTMLIndexerKit.java:411)
at
javax.swing.text.html.parser.DocumentParser.handleText(DocumentParser.java:241)
at javax.swing.text.html.parser.Parser.handleText(Parser.java:345)
at javax.swing.text.html.parser.Parser.endTag(Parser.java:427)
at javax.swing.text.html.parser.Parser.parseTag(Parser.java:1807)
at javax.swing.text.html.parser.Parser.parseContent(Parser.java:2044)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2211)
at
javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:105)
at
javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:73)
at
com.sun.java.help.search.HTMLIndexerKit.parse(HTMLIndexerKit.java:116)
at com.sun.java.help.search.Indexer.parseFile(Indexer.java:259)
at com.sun.java.help.search.Indexer.parseFile(Indexer.java:271)
at com.sun.java.help.search.Indexer.compile(Indexer.java:219)
at com.sun.java.help.search.Indexer.main(Indexer.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.netbeans.nbbuild.JHIndexer.execute(JHIndexer.java:369)
at
org.codehaus.mojo.nbm.CreateNetbeansFileStructure.execute(CreateNetbeansFileStructure.java:408)
at org.codehaus.mojo.nbm.CreateNbmMojo.execute(CreateNbmMojo.java:108)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
I/O exception occurred in file
'D:\workspace\PrjectJAva\BrowserV3-TRUNK\core\target\javahelp\com\ngbrowser\core\docs\ar01s01.html'
java.lang.Exception: ConfigFile and/or IndexBuilder not set
--
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