Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 319165

Summary: Netbeans 6.9 BETA Can't find ant. (Ebuild related problem)
Product: Gentoo Linux Reporter: Luca Vitucci <info>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://netbeans.org/bugzilla/show_bug.cgi?id=185801
Whiteboard:
Package list:
Runtime testing required: ---

Description Luca Vitucci 2010-05-10 16:53:43 UTC
Opening a jsp in netbeans 6.9 beta throws this exception:

java.io.IOException: Cannot initialize JSP parser, following JAR files couldn't
be localted: ant/lib/ant.jar,ant/lib/ant-launcher.jar.

this problem does not appear using the official netbeans builds. (Please look at the related bug i opened in netbeans bugzilla).

--------

As a temporary workaround you cound symlink your ant/lib directory in
<user-home>/.netbeans/6.9beta/ant/lib

Reproducible: Always

Steps to Reproduce:
1. Emerge dev-util/netbeans-6.9_beta
2. Create a new web project of any kind
3. Open index.jsp (Or any other jsp) in the editor.

Actual Results:  
An IOException is thrown, netbeans can't find the ant environment

Expected Results:  
...

Stacktrace: 
java.io.IOException: Cannot initialize JSP parser, following JAR files couldn't
be localted: ant/lib/ant.jar,ant/lib/ant-launcher.jar.
   at
org.netbeans.modules.web.jspparser.JspParserImpl.initURLs(JspParserImpl.java:126)
   at
org.netbeans.modules.web.jspparser.JspParserImpl.initReflection(JspParserImpl.java:148)
   at
org.netbeans.modules.web.jspparser.JspParserImpl.createParseProxy(JspParserImpl.java:233)
   at
org.netbeans.modules.web.jspparser.JspParserImpl.getParseProxy(JspParserImpl.java:224)
   at
org.netbeans.modules.web.jspparser.JspParserImpl.analyzePage(JspParserImpl.java:195)
   at
org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run(TagLibParseSupport.java:361)
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-05-18 10:30:46 UTC
Possibly related to bug #302367, but I'll let the java herd judge this one.
Comment 2 Miroslav Ć ulc gentoo-dev 2010-05-26 11:29:36 UTC
fixed in netbeans-6.9_beta-r1.ebuild. thx for reporting.