[JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Bruce Scharlau
Hi all, I'm trying out eclipse (instead of xemacs) for doing projects with JBoss, but have encountered a problem. The Jboss3.0 Example with the template compiles, and builds fine in xemacs with the xdoclets, but doesn't do so in eclipse. The stacktrace shows: javadoc: In doclet class

Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Jonathan . O'Connor
872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Bruce Scharlau [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 30.08.2002 12:07 Please respond to jboss-user To:[EMAIL PROTECTED] cc: Subject:[JBoss-user] eclipse with xdoclet and jboss Hi all, I'm trying out

Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Victor Batista
: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Bruce Scharlau [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 30.08.2002 12:07 Please respond to jboss-user                 To:        [EMAIL PROTECTED]         cc:                 Subject:        [JBoss-user] eclipse with xdoclet

RE: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Kevin Conner
The stacktrace shows: javadoc: In doclet class xdoclet.DocletTask$DocletMain, method start has thrown an exception java.lang.reflect.InvocationTargetException java.lang.NoClassDefFoundError: org/apache/tools/ant/types/EnumeratedAttribute When I check the ant.jar, EnumeratedAttribute is

RE: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Kevin Conner
Yep, it's javadoc complaining. The initial classpath in eclipse does not contain the ant libraries and it is this classpath that is passed to javadoc. I bodged this by changing the antsupport library in eclipse to pass through the classpath. I remember changing AntRunner and

Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Bruce Scharlau
At 14:45 30/08/2002 +0100, you wrote: Bruce, I think this is quite common problem. Try sticking your JDK's tools.jar into the list of ant libraries. Go to Preferences/External Tools/Ant and add it there. Personally, I think Eclipse is wonderful. However, I've never learnt EMACS in any of its

RE: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Alan Yost
different paths to you. Regards Alan. -Original Message- From: Kevin Conner [mailto:[EMAIL PROTECTED]] Sent: Fri 30/08/2002 10:43 PM To: '[EMAIL PROTECTED]' Cc: Subject: RE: [JBoss-user] eclipse with xdoclet and jboss

Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Marius Kotsbak
On Fri, 2002-08-30 at 16:47, Bruce Scharlau wrote: At 14:45 30/08/2002 +0100, you wrote: Bruce, I think this is quite common problem. Try sticking your JDK's tools.jar into the list of ant libraries. Go to Preferences/External Tools/Ant and add it there. Personally, I think Eclipse is

RE: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Alan Yost
Message- From: Bruce Scharlau [mailto:[EMAIL PROTECTED]] Sent: Fri 30/08/2002 10:47 PM To: [EMAIL PROTECTED] Cc: Subject: Re: [JBoss-user] eclipse with xdoclet and jboss At 14:45 30/08/2002 +0100, you wrote

SOLVED Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Bruce Scharlau
Thanks all! I discovered the problem was that the slashes in the ant.properties file were going the wrong way. ant.home = D:\java\jakarta-ant-1.5 should've been ant.home = D:/java/jakarta-ant-1.5 Made the switch and now it works beautifully! Eclipse is pretty cool. I now have something to

Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Jonathan . O'Connor
Bruce, I've just had a look at what we do. We use the same trick as Kevin Conner. Add the ant libraries to classpath for the xdoclet task. On a personal note, please say hello to Dave Harper from me. Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612