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 76397 - ant still thinks, that is in netbeans5.0beta
Summary: ant still thinks, that is in netbeans5.0beta
Status: RESOLVED DUPLICATE of bug 65142
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 20:04 UTC by georgeino
Modified: 2006-05-15 20:11 UTC (History)
0 users

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 georgeino 2006-05-15 20:04:29 UTC
I had installed netbeans5.0beta in /opt/netbeans5.0beta. Then I installed a
5.5beta version in /opt/netbeans5.5beta. After trying successfuly running it I
uninstall 5.0 bet and got this error
ERROR - Ant is misconfigured and cannot be run.
java.io.IOException: No such Ant library dir: /opt/netbeans-5.0beta/ide6/ant/lib
        at
org.apache.tools.ant.module.bridge.AntBridge.createMainClassPath(AntBridge.java:344)
        at
org.apache.tools.ant.module.bridge.AntBridge.createStuff(AntBridge.java:251)
        at org.apache.tools.ant.module.bridge.AntBridge.getStuff(AntBridge.java:241)
        at
org.apache.tools.ant.module.bridge.AntBridge.getInterface(AntBridge.java:230)
        at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:287)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)

The solution is to correct the path manually under Tools Option Ant, but I think
, that this should be done during setup (or while importing configuration)

PS: sorry for double post, i missclicked.
Comment 1 Jesse Glick 2006-05-15 20:11:02 UTC

*** This issue has been marked as a duplicate of 65142 ***