This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 154108 - jnlp task fails to build maven.embedder modules
Summary: jnlp task fails to build maven.embedder modules
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on: 154471 186939
Blocks:
  Show dependency tree
 
Reported: 2008-11-28 16:46 UTC by Milos Kleint
Modified: 2010-10-06 20:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2008-11-28 16:46:52 UTC
the module builds fine as nbm for some time, works in the IDE as well. for some reason the jnlp task chokes on in,
please fix it.

P2 because nbms-javadoc job at hudson is failing because of this.



>
>
> maven.embedder.verify-class-linkage:
> Warning: class 'JDOMAbout' found in default package
> Warning: class 'JDOMAbout$Author' found in default package
> Warning: class 'JDOMAbout$Info' found in default package
> Warning: com.jcraft.jsch.jcraft.Compression cannot access com.jcraft.jzlib.ZStream
> Warning: hidden.org.codehaus.plexus.util.Base64 cannot access org.codehaus.plexus.util.Base64
> Warning: hidden.org.codehaus.plexus.util.CachedMap cannot access org.codehaus.plexus.util.FastMap
> Warning: hidden.org.codehaus.plexus.util.CachedMap cannot access org.codehaus.plexus.util.CachedMap
> Warning: hidden.org.codehaus.plexus.util.CollectionUtils cannot access org.codehaus.plexus.util.CollectionUtils
> Warning: hidden.org.codehaus.plexus.util.DirectoryScanner cannot access org.codehaus.plexus.util.DirectoryScanner
> Warning: hidden.org.codehaus.plexus.util.DirectoryScanner cannot access org.codehaus.plexus.util.SelectorUtils
> Warning: hidden.org.codehaus.plexus.util.DirectoryWalkListener cannot access
org.codehaus.plexus.util.DirectoryWalkListener
> Warning: hidden.org.codehaus.plexus.util.DirectoryWalker cannot access
org.codehaus.plexus.util.DirectoryWalker$DirStackEntry
> Warning: hidden.org.codehaus.plexus.util.DirectoryWalker cannot access org.codehaus.plexus.util.DirectoryWalkListener
> (additional warnings not reported)
>
> maven.embedder.netbeans:
> Generating information for Auto Update...
>
> BUILD FAILED
> http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/ws/nbbuild/build.xml :265: The following error occurred while
executing this line:
> http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/ws/nbbuild/templates/common.xml :299: Cannot build JNLP for
module
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/ws/nbbuild/netbeans/java2/modules/org-netbeans-modules-maven-embedder.jar
 as these files are in module's NBM, but are not referenced from any path:
> [maven2/fallback_pom.xml, maven2/settings.xml, maven2/plugin-registry.xml, maven2/rootpackage/default-report.xml]
>
> Total time: 6 minutes 53 seconds
> Terminating xvnc
> [workspace] $ vncserver -kill :12
> Killing Xvnc process ID 24104
> Publishing Javadoc
> Recording test results
>
Comment 1 Jesse Glick 2008-12-01 15:12:02 UTC
In JNLP mode, such files will not be available. If your module can work without them, you can add them to the JNLP
ignore list; see harness/README for detailed syntax. If not, consider loading them instead as JAR resources.
Comment 2 Jesse Glick 2008-12-02 22:53:55 UTC
Please fix so that the nbms-and-javadoc build is restored.
Comment 4 Jesse Glick 2008-12-03 16:38:29 UTC
Thanks. I am also working on making JNLP problems nonfatal test failures.
Comment 5 Quality Engineering 2008-12-05 05:57:59 UTC
Integrated into 'main-golden', will be available in build *200812050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8b525ead6e3a
User: Milos Kleint <mkleint@netbeans.org>
Log: #154108 dummy plugin-registry no longer necessary
Comment 6 Quality Engineering 2009-01-06 05:30:12 UTC
Integrated into 'main-golden', will be available in build *200901060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1bb73eef6032
User: Milos Kleint <mkleint@netbeans.org>
Log: #154108 getting rid of expanded folder with plugin.xml files. replace with a zipped lucene index built with external custom tool and placed inside the module jar files. Also reduces the size of the module significantly.
Comment 7 Jesse Glick 2009-01-06 21:11:24 UTC
Increasing priority as config.modules.jnlp is still missing ${nb.cluster.java} in nbbuild/build.properties and this
should be fixed before release.
Comment 8 Milos Kleint 2009-01-09 15:10:00 UTC
http://hg.netbeans.org/main/rev/00765bd2a1b6
Comment 9 Quality Engineering 2009-01-11 06:33:46 UTC
Integrated into 'main-golden', will be available in build *200901110304* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/00765bd2a1b6
User: Milos Kleint <mkleint@netbeans.org>
Log: #154108 - reenable java cluster in jnlp as the maven.grammar module was fixed
Comment 10 Jaroslav Pospisil 2009-04-08 12:48:29 UTC
v.