Why do you need ant in you classpath.  I'm sure that is the problem.  Try it
with no classpath at all.

As a side note, IMHO, CLASSPATH is evil and you should never have it set.

> -----Original Message-----
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 18, 2003 1:21 PM
> To: xDoclet
> Subject: Re: [Xdoclet-user] Can't Run EJBDoclet
> 
> 
> Thanks for the reply David.
> 
> I removed my global classpath from the build completely and 
> added back only
> the classes I absolutely needed (JDOM and Ant).
> 
> Still the same error...
> 
> Thanks anyway.
> 
> Anyone else with any ideas?
> 
> Hunter
> 
> > From: David Jencks <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Tue, 18 Mar 2003 12:57:02 -0500
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Xdoclet-user] Can't Run EJBDoclet
> > 
> > This is a guess....
> > 
> > what happens if you take jboss-j2ee.jar off the global 
> classpath and put it
> > on the classpath used in your taskdef?
> > 
> > david jencks
> > 
> > 
> > On 2003.03.18 12:37 Hunter Hillegas wrote:
> >> This is totally driving me crazy. I REALLY want to solve 
> this problem and
> >> if
> >> anyone can help, that would be awesome.
> >> 
> >> In case I didn't mention it before, I am on MacOS X, Java 
> 1.4.1. I am
> >> using
> >> CVS xdoclet 1.2, which after that patch, seems to work 
> fine on OS X.
> >> 
> >> As you can see from the contents of the classpathref 
> below, the classes
> >> xdoclet needs SHOULD be included. What the hell am I doing 
> wrong??????
> >> 
> >> I do have a global classpath set. It looks like this:
> >> 
> >> 
> /Users/hunter/Unix/jboss-3.2.0RC3/server/default/lib/postgres.
> jar:/Users/hun
> >> 
> ter/Unix/jboss-3.2.0RC3/lib/jaxp.jar:/Users/hunter/Unix/jboss-
> 3.2.0RC3/lib/c
> >> 
> rimson.jar:/Users/hunter/Unix/jboss-3.2.0RC3/server/default/li
> b/jboss-j2ee.j
> >> 
> ar:/Users/hunter/Unix/apache-ant-1.5.2/lib/ant.jar:/Users/hunt
> er/Unix/jboss-
> >> 
> 3.2.0RC3/server/default/lib/mail.jar:/Users/hunter/Unix/mysql-
> connector-java
> >> -2.0.14/mysql-connector-java-2.0.14-bin.jar
> >> 
> >> Here are the JARs that are in the classpathref that is 
> being passed to
> >> the
> >> taskdef:
> >> 
> >> [echo] CP: 
> >> 
> /Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/comm
> ons-collection
> >> 
> s-2.0.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/targe
> t/lib/commons-
> >> 
> logging.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/tar
> get/lib/log4j.
> >> 
> jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/
> maven-xdoclet-
> >> 
> plugin-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xd
> oclet/target/l
> >> 
> ib/xdoclet-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-al
> l/xdoclet/targ
> >> 
> et/lib/xdoclet-apache-module-1.2b3-dev.jar:/Users/hunter/Unix/
> Sources/xdocle
> >> 
> t-all/xdoclet/target/lib/xdoclet-bea-module-1.2b3-dev.jar:/Use
> rs/hunter/Unix
> >> 
> /Sources/xdoclet-all/xdoclet/target/lib/xdoclet-borland-module
> -1.2b3-dev.jar
> >> 
> :/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdo
> clet-caucho-mo
> >> 
> dule-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoc
> let/target/lib
> >> 
> /xdoclet-ejb-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/x
> doclet-all/xdo
> >> 
> clet/target/lib/xdoclet-exolab-module-1.2b3-dev.jar:/Users/hun
> ter/Unix/Sourc
> >> 
> es/xdoclet-all/xdoclet/target/lib/xdoclet-hibernate-module-1.2
> b3-dev.jar:/Us
> >> 
> ers/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdoclet
> -hp-module-1.2
> >> 
> b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/targ
> et/lib/xdoclet
> >> 
> -ibm-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-a
> ll/xdoclet/tar
> >> 
> get/lib/xdoclet-java-module-1.2b3-dev.jar:/Users/hunter/Unix/S
> ources/xdoclet
> >> 
> -all/xdoclet/target/lib/xdoclet-jboss-module-1.2b3-dev.jar:/Us
> ers/hunter/Uni
> >> 
> x/Sources/xdoclet-all/xdoclet/target/lib/xdoclet-jdo-module-1.
> 2b3-dev.jar:/U
> >> 
> sers/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdocle
> t-jmx-module-1
> >> 
> .2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/ta
> rget/lib/xdocl
> >> 
> et-libelis-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdo
> clet-all/xdocl
> >> 
> et/target/lib/xdoclet-macromedia-module-1.2b3-dev.jar:/Users/h
> unter/Unix/Sou
> >> 
> rces/xdoclet-all/xdoclet/target/lib/xdoclet-mockobjects-module
> -1.2b3-dev.jar
> >> 
> :/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdo
> clet-mvcsoft-m
> >> 
> odule-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdo
> clet/target/li
> >> 
> b/xdoclet-mx4j-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources
> /xdoclet-all/x
> >> 
> doclet/target/lib/xdoclet-objectweb-module-1.2b3-dev.jar:/User
> s/hunter/Unix/
> >> 
> Sources/xdoclet-all/xdoclet/target/lib/xdoclet-orion-module-1.
> 2b3-dev.jar:/U
> >> 
> sers/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdocle
> t-pramati-modu
> >> 
> le-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdocle
> t/target/lib/x
> >> 
> doclet-solarmetric-module-1.2b3-dev.jar:/Users/hunter/Unix/Sou
> rces/xdoclet-a
> >> 
> ll/xdoclet/target/lib/xdoclet-sun-module-1.2b3-dev.jar:/Users/
> hunter/Unix/So
> >> 
> urces/xdoclet-all/xdoclet/target/lib/xdoclet-sybase-module-1.2
> b3-dev.jar:/Us
> >> 
> ers/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdoclet
> -tjdo-module-1
> >> 
> .2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/ta
> rget/lib/xdocl
> >> 
> et-web-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet
> -all/xdoclet/t
> >> 
> arget/lib/xdoclet-webwork-module-1.2b3-dev.jar:/Users/hunter/U
> nix/Sources/xd
> >> 
> oclet-all/xdoclet/target/lib/xdoclet-xdoclet-module-1.2b3-dev.
> jar:/Users/hun
> >> 
> ter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdoclet-xjavad
> oc-1.2b3-dev.j
> >> 
> ar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/x
> doclet-xjavado
> >> 
> c-uc-1.2b3-dev.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/co
> ncurrent.jar:/
> >> 
> Users/hunter/Unix/jboss-3.2.0RC3/client/getopt.jar:/Users/hunt
> er/Unix/jboss-
> >> 
> 3.2.0RC3/client/gnu-regexp.jar:/Users/hunter/Unix/jboss-3.2.0R
> C3/client/jaco
> >> 
> rb.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jboss-client.j
> ar:/Users/hunt
> >> 
> er/Unix/jboss-3.2.0RC3/client/jboss-common-client.jar:/Users/h
> unter/Unix/jbo
> >> 
> ss-3.2.0RC3/client/jboss-iiop-client.jar:/Users/hunter/Unix/jb
> oss-3.2.0RC3/c
> >> 
> lient/jboss-j2ee.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/
> jboss-jaas.jar
> >> 
> :/Users/hunter/Unix/jboss-3.2.0RC3/client/jboss-jsr77-client.j
> ar:/Users/hunt
> >> 
> er/Unix/jboss-3.2.0RC3/client/jboss-net-client.jar:/Users/hunt
> er/Unix/jboss-
> >> 
> 3.2.0RC3/client/jboss-system-client.jar:/Users/hunter/Unix/jbo
> ss-3.2.0RC3/cl
> >> 
> ient/jboss-transaction-client.jar:/Users/hunter/Unix/jboss-3.2
> .0RC3/client/j
> >> 
> bossall-client.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jb
> ossha-client.j
> >> 
> ar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jbossjmx-ant.jar:/
> Users/hunter/U
> >> 
> nix/jboss-3.2.0RC3/client/jbossmq-client.jar:/Users/hunter/Uni
> x/jboss-3.2.0R
> >> 
> C3/client/jbossmqha.jar:/Users/hunter/Unix/jboss-3.2.0RC3/clie
> nt/jbosssx-cli
> >> 
> ent.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jcert.jar:/Us
> ers/hunter/Uni
> >> 
> x/jboss-3.2.0RC3/client/jmx-connector-client-factory.jar:/User
> s/hunter/Unix/
> >> 
> jboss-3.2.0RC3/client/jmx-ejb-connector-client.jar:/Users/hunt
> er/Unix/jboss-
> >> 
> 3.2.0RC3/client/jmx-invoker-adaptor-client.jar:/Users/hunter/U
> nix/jboss-3.2.
> >> 
> 0RC3/client/jmx-rmi-connector-client.jar:/Users/hunter/Unix/jb
> oss-3.2.0RC3/c
> >> 
> lient/jnet.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jnp-cl
> ient.jar:/User
> >> 
> s/hunter/Unix/jboss-3.2.0RC3/client/jsse.jar:/Users/hunter/Uni
> x/jboss-3.2.0R
> >> 
> C3/client/log4j.jar:/Users/hunter/Unix/jboss-3.2.0RC3/lib/xml-apis.jar
> >> 
> >> Any help is appreciated. I am totally stumped. This looks 
> like it should
> >> contain all of the classes that I need.
> >> 
> >>> From: Andrew Stevens <[EMAIL PROTECTED]>
> >>> Reply-To: [EMAIL PROTECTED]
> >>> Date: 16 Mar 2003 00:59:20 +0000
> >>> To: [EMAIL PROTECTED]
> >>> Subject: Re: [Xdoclet-user] Can't Run EJBDoclet
> >>> 
> >>> On Sat, 2003-03-15 at 18:52, Hunter Hillegas wrote:
> >>>> Nope. Nothing in that directory except for the Ant jars. 
> Vanilla Ant
> >> 1.5.2
> >>>> binary distro.
> >>>> 
> >>>> Damn.
> >>> 
> >>> I just tried out 1.5.2 myself in case that was it (I was 
> still using
> >>> 1.5.1), but it still worked fine for me with that.
> >>> 
> >>> I'm fast running out of ideas; my gut feeling is it's got to be a
> >>> classpath problem, but I've no idea what.  Do you have a global
> >>> classpath environment variable set?  Also, you mentioned 
> before the
> >>> commons logging jar wasn't there, so you copied that 
> over.  What about
> >>> commons-collections-2.0.jar?  Is that there?  If it's 
> neither of those,
> >>> can you get your build script to echo the classpathref 
> contents just
> >>> before it does the taskdef, and post the output?  That 
> way we can see
> >>> exactly what jars it's finding.
> >>> 
> >>> 
> >>> Andrew.
> >>> 
> >>> 
> >>> 
> >>> -------------------------------------------------------
> >>> This SF.net email is sponsored by:Crypto Challenge is now open!
> >>> Get cracking and register here for some mind boggling fun and
> >>> the chance of winning an Apple iPod:
> >>> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> >>> _______________________________________________
> >>> xdoclet-user mailing list
> >>> [EMAIL PROTECTED]
> >>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >> 
> >> 
> >> 
> >> -------------------------------------------------------
> >> This SF.net email is sponsored by: Does your code think in ink?
> >> You could win a Tablet PC. Get a free Tablet PC hat just 
> for playing.
> >> What are you waiting for?
> >> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> >> _______________________________________________
> >> xdoclet-user mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >> 
> >> 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Does your code think in ink?
> > You could win a Tablet PC. Get a free Tablet PC hat just 
> for playing.
> > What are you waiting for?
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink? 
> You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to