From 4bf7ca1528eb4e4c0777f203dae327c1988516c0 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Wed, 8 Sep 2004 10:05:36 +0000 Subject: [PATCH] Add an example to InstantiationException git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276832 13f79535-47bb-0310-9956-ffa450edef68 --- docs/faq.html | 8 ++++++++ xdocs/faq.xml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/docs/faq.html b/docs/faq.html index 7af6c815b..332820109 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -1129,6 +1129,14 @@ shell-prompt> m4 foo.m4 > foo A version of this problem happens with jars that are in the classpath that include an embedded copy of ant classes. An example of this is some copies of weblogic.jar. +

+

+ One can check if this is the case by doing (on unix/sh): +

+        unset CLASSPATH
+        ant -version
+        
+

diff --git a/xdocs/faq.xml b/xdocs/faq.xml index 8ee018856..444c38f90 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -808,6 +808,14 @@ shell-prompt> m4 foo.m4 > foo that include an embedded copy of ant classes. An example of this is some copies of weblogic.jar.

+

+ One can check if this is the case by doing (on unix/sh): +

+        unset CLASSPATH
+        ant -version
+        
+ +