Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319165 - Netbeans 6.9 BETA Can't find ant. (Ebuild related problem)
Summary: Netbeans 6.9 BETA Can't find ant. (Ebuild related problem)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL: http://netbeans.org/bugzilla/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 16:53 UTC by Luca Vitucci
Modified: 2010-05-26 11:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.