Hi all ! I defined an <extensionSet> task to be used by a <jarlib-manifest>.
Here is the contents of the manifest file of one of my jars (i.e. jaxp-api.jar) : ---------------------------------------- Manifest-Version: 1.0 Sealed: false Implementation-Version: 1.2.0-FCS Specification-Title: Java API for XML Processing Specification-Version: 1.2 Implementation-URL: http://java.sun.com/xml/jaxp Implementation-Title: Java API for XML Processing Reference Implementa tion Extension-Name: javax.xml.parsers Created-By: Ant 1.4.1 Implementation-Vendor-Id: com.sun Implementation-Vendor: Sun Microsystems, Inc. Specification-Vendor: Sun Microsystems, Inc. ---------------------------------------- This task fails with the following stack trace : BUILD FAILED Bad implementation version format '1.2.0-FCS' in 'javax.xml.parsers'. (Reason: java.lang.NumberFormatException: 0-FCS) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionUtil.loadExtensions(ExtensionUtil.java:186) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionUtil.getExtensions(ExtensionUtil.java:154) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionUtil.extractExtensions(ExtensionUtil.java:112) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet.toExtensions(ExtensionSet.java:124) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet.toString(ExtensionSet.java:167) at java.lang.String.valueOf(String.java:1925) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.apache.tools.ant.Project.addReference(Project.java:1780) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:270) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:211) at org.apache.tools.ant.Target.execute(Target.java:312) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.Project.executeTargets(Project.java:1250) at org.apache.tools.ant.Main.runBuild(Main.java:610) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) --- Nested Exception --- java.lang.IllegalArgumentException: Bad implementation version format '1.2.0-FCS' in 'javax.xml.parsers'. (Reason: java.lang.NumberFormatException: 0-FCS) at org.apache.tools.ant.taskdefs.optional.extension.Extension.<init>(Extension.java:421) at org.apache.tools.ant.taskdefs.optional.extension.Extension.getExtension(Extension.java:767) at org.apache.tools.ant.taskdefs.optional.extension.Extension.getAvailable(Extension.java:248) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionUtil.loadExtensions(ExtensionUtil.java:176) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionUtil.getExtensions(ExtensionUtil.java:154) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionUtil.extractExtensions(ExtensionUtil.java:112) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet.toExtensions(ExtensionSet.java:124) at org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet.toString(ExtensionSet.java:167) at java.lang.String.valueOf(String.java:1925) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.apache.tools.ant.Project.addReference(Project.java:1780) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:270) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:211) at org.apache.tools.ant.Target.execute(Target.java:312) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.Project.executeTargets(Project.java:1250) at org.apache.tools.ant.Main.runBuild(Main.java:610) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) What can I do to solve this problem ? Thanks in advance for any suggestion. Philippe ---------------------------- Philippe Gaudin e-mail : [EMAIL PROTECTED] tel : +32 2 679 49 24 This e-mail and any attached files contain confidential information. It is intended solely for the addressees. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient of this e-mail, please notify us immediately by e-mail or telephone and delete it immediately from your system without reading, copying or disclosing its contents to any other person. This e-mail is sent for information only and the content is not legally binding unless confirmed by letter. Investment orders received by e-mail will not be executed by Puilaetco. Puilaetco shall not be liable for improper or incomplete transmission nor for any delay in its receipt nor damage to your system (interception, interferences, viruses). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
