• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XDoclet in eclipse

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Craig/Norman
Can you tell me how XDoclet can be used from within eclipse?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ashok C.M.:
can u tell me whether XDoclet can be integrated with eclipse?


http://www.eclipse-plugins.info/eclipse/plugins.jsp?search=XDoclet
 
Ashok C M
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've downloaded the plug-in.....Can anyone guide me in using it....
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know I can't help you with the plugin, but I'm sure it would be easier to get help if you would hint us which plugin you're talking about...
 
Ashok C M
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is an integrated plug-in which came with the JBoss plug-in....
org.jboss.ide.eclipse_1.2.1.bin.dist
[ December 11, 2003: Message edited by: Ashok C M ]
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We discuss JBoss IDE in the book, which has useful XDoclet functionality. There are installation instructions on the JBoss site and in the book. Since I'm not an Eclipse user, I wont try and stumble over install instructions here and point you to those two fine sources of information.
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanx norman for the info. i'm trying to install the JBoss IDE.....
 
Ashok C. Mohan
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not able to connect and install the JBoss IDE norman!!! I'm behind a proxy and it keeps telling me that the operation timed out.As per the install instructions (If you are behind a proxy you have to go to Window > Preferences > Install/Update, select Enable
HTTP Proxy Connection and insert values for Host Address and Port.)
But i did not even find that option in the Install/Update field......
[ December 12, 2003: Message edited by: Ashok C.M. ]
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of Eclipse are you using? You could also try downloading a separate HTTP proxy configuration plugin and see if the update tool picks up those configurations. Again, you could try giving the "http.proxyHost" and "http.proxyPort" properties to eclipse.exe upon startup.
 
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ashok C.M.:
Craig/Norman
Can you tell me how XDoclet can be used from within eclipse?


I don't currently use the JBoss-IDE plugin. Not because it sucks--on the contrary, what I've seen of it is pretty cool. I had it installed on my old notebook, but before I got into it I got a new notebook and haven't taken the time to set it up there. But, from what I see of it, I recommend it...in fact, I may make time to set it up on the new machine later today.
But, here's how I use XDoclet with Eclipse...it's not necessarily the best way, but it's the way I've gotten used to.
My projects have two source directories--src and gensrc--and one additional "generated" directory. The "clean" target in my build never blows away the gensrc directory itself...instead it just empties that directory. The reason for this is that if "gensrc" were to suddenly disappear and Eclipse found out about it, after it would be recreated, it wouldn't be considered a source directory anymore. So...just to keep Eclipse happy, I don't touch gensrc itself, but just clean out stuff inside of it.
With that setup, everything else is fairly straightforward. My main source code is in src, my generated Java code goes to gensrc, and anything else that's generated (deployment descriptors, for example) goes to the "generated" directory. After I run Ant, I refresh my project to sync it up with the filesystem and I keep on truckin'.
That's roughly the setup you'll see in the example code for the book. But, I'm starting to switch gears lately and either use Maven. Or, even if I'm using Ant, I try to keep the same directory structure that Maven imposes by default. Specifically, I have a source/java directory that houses all of my Java code and I have a target/source/java directory where all of my generated code goes. Part of the build will copy everything from source/java to target/source/java and compile all source code from there.
Of course...now I've strayed away from how this all ties in with Eclipse. Really, none of what I do in my build is specific for Eclipse except for keeping my gensrc directory hanging around. This probably doesn't help you much, but since I use Eclipse, I thought I'd share my experiences with you. I'll probably install the plugin later today and see how that goes.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Craig, I'm glad you astrayed into directory structures as they are often one of the biggest hurdles in adopting tools such as XDoclet. For example, a project using an AOP framework, XDoclet, a code coverage tool, and some XSL processing would probably end up with a handful of different "gen*" directories... And, of course the Ant script becomes more and more cluttered.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ashok C.M.:
Craig/Norman
Can you tell me how XDoclet can be used from within eclipse?


Try looking into the documentation sets available in http://www.jboss.org/developers/projects/jboss/jbosside
(1) "A Install Guide which provides the way to install/upgrade JBoss-IDE."
(2) "A Quick Start Guide which provides an overview of JBoss-IDE."
(3) "A Tutorial which provides a quick tour of the JBoss-IDE features."
Chapter 3 of (2) has a nice chapter on XDoclet Support.
 
reply
    Bookmark Topic Watch Topic
  • New Topic