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 - Illegal use of ant.jar as a Class-Path extension
Summary: Illegal use of ant.jar as a Class-Path extension
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: SQL Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Narayana Rallabandi
URL:
Keywords:
Depends on: 118090
Blocks:
  Show dependency tree
 
Reported: 2007-10-16 17:00 UTC by Jesse Glick
Modified: 2007-12-23 18:13 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 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