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 119087

Summary: Illegal use of ant.jar as a Class-Path extension
Product: soa Reporter: Jesse Glick <jglick>
Component: SQL ProjectAssignee: Narayana Rallabandi <narayanaa>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 118090    
Bug Blocks:    

Description Jesse Glick 2007-10-16 17:00:24 UTC
Dev build log file:

WARNING [org.netbeans.core.modules]: Class-Path value ../../java1/ant/lib/ant.jar from
/space/src/nb_all/nbbuild/netbeans/soa1/modules/org-netbeans-modules-jdbcwizard.jar is illegal according to the Java
Extension Mechanism: must be relative and not move up directories

I have a strong feeling I filed this bug before but I can't find it. Anyway:

The only apparent use of ant.jar in enterprise/sql/jdbcwizard is in GenerateWSDL, which is only apparently used from
JNDINamePanel. There is no particular reason for it to be a Task.

BTW,

<binary-origin>"${harness.dir}/../java1/ant/lib/ant.jar"</binary-origin>

is wrong and does not work - I don't think harness.dir is defined here, and the double quotes are gratuitous.
Comment 1 Venkat Srinivasan 2007-10-26 04:07:20 UTC
Pls look into this.
Comment 2 Jesse Glick 2007-12-23 18:13:26 UTC
I think this should fix it:

Checking in build.xml;
/shared/data/ccvs/repository/enterprise/sql/jdbcwizard/build.xml,v  <--  build.xml
new revision: 1.11; previous revision: 1.10
done
Checking in nbproject/project.xml;
/shared/data/ccvs/repository/enterprise/sql/jdbcwizard/nbproject/project.xml,v  <--  project.xml
new revision: 1.18; previous revision: 1.17
done
Checking in src/org/netbeans/modules/jdbcwizard/builder/wsdl/GenerateWSDL.java;
/shared/data/ccvs/repository/enterprise/sql/jdbcwizard/src/org/netbeans/modules/jdbcwizard/builder/wsdl/GenerateWSDL.java,v
 <--  GenerateWSDL.java
new revision: 1.6; previous revision: 1.5
done