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/lib/jboss-j2ee.j > ar:/Users/hunter/Unix/apache-ant-1.5.2/lib/ant.jar:/Users/hunter/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/commons-collection > s-2.0.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/commons- > logging.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/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/xdoclet/target/l > ib/xdoclet-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/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:/Users/hunter/Unix > /Sources/xdoclet-all/xdoclet/target/lib/xdoclet-borland-module-1.2b3-dev.jar > :/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdoclet-caucho-mo > dule-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib > /xdoclet-ejb-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdo > clet/target/lib/xdoclet-exolab-module-1.2b3-dev.jar:/Users/hunter/Unix/Sourc > es/xdoclet-all/xdoclet/target/lib/xdoclet-hibernate-module-1.2b3-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/target/lib/xdoclet > -ibm-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/tar > get/lib/xdoclet-java-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet > -all/xdoclet/target/lib/xdoclet-jboss-module-1.2b3-dev.jar:/Users/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/xdoclet-jmx-module-1 > .2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdocl > et-libelis-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdocl > et/target/lib/xdoclet-macromedia-module-1.2b3-dev.jar:/Users/hunter/Unix/Sou > rces/xdoclet-all/xdoclet/target/lib/xdoclet-mockobjects-module-1.2b3-dev.jar > :/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdoclet-mvcsoft-m > odule-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/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:/Users/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/xdoclet-pramati-modu > le-1.2b3-dev.jar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/x > doclet-solarmetric-module-1.2b3-dev.jar:/Users/hunter/Unix/Sources/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.2b3-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/target/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/Unix/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-xjavadoc-1.2b3-dev.j > ar:/Users/hunter/Unix/Sources/xdoclet-all/xdoclet/target/lib/xdoclet-xjavado > c-uc-1.2b3-dev.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/concurrent.jar:/ > Users/hunter/Unix/jboss-3.2.0RC3/client/getopt.jar:/Users/hunter/Unix/jboss- > 3.2.0RC3/client/gnu-regexp.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jaco > rb.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jboss-client.jar:/Users/hunt > er/Unix/jboss-3.2.0RC3/client/jboss-common-client.jar:/Users/hunter/Unix/jbo > ss-3.2.0RC3/client/jboss-iiop-client.jar:/Users/hunter/Unix/jboss-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.jar:/Users/hunt > er/Unix/jboss-3.2.0RC3/client/jboss-net-client.jar:/Users/hunter/Unix/jboss- > 3.2.0RC3/client/jboss-system-client.jar:/Users/hunter/Unix/jboss-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/jbossha-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/Unix/jboss-3.2.0R > C3/client/jbossmqha.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jbosssx-cli > ent.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jcert.jar:/Users/hunter/Uni > x/jboss-3.2.0RC3/client/jmx-connector-client-factory.jar:/Users/hunter/Unix/ > jboss-3.2.0RC3/client/jmx-ejb-connector-client.jar:/Users/hunter/Unix/jboss- > 3.2.0RC3/client/jmx-invoker-adaptor-client.jar:/Users/hunter/Unix/jboss-3.2. > 0RC3/client/jmx-rmi-connector-client.jar:/Users/hunter/Unix/jboss-3.2.0RC3/c > lient/jnet.jar:/Users/hunter/Unix/jboss-3.2.0RC3/client/jnp-client.jar:/User > s/hunter/Unix/jboss-3.2.0RC3/client/jsse.jar:/Users/hunter/Unix/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
