anonymous wrote : What I found challenging is how to import the nukes directory 
structure into Eclipse, and tell it that the java source code is located in the 
module-name/src/main in each sub directory.

Take a look at http://jboss.org/wiki/Wiki.jsp?page=UsingEclipse
The .classpath files do exactly that.

I just started with Eclipse, here is what I can remember doing:

After downloading & unzipping a snapshot, I set JBOSS_NUKES and JBOSS_HOME to the 
correct paths.  I then started Eclipse, went to File | New, borwse to the "common" 
sub-directory, and click finish.

Repeat for "nukes" and other modules (start with only 1 at first).

Close Eclipse (?needed)

Download  the appropriate files from the resource above to get you started, rename 
them as .classpath, and put them in the appropriate directories.  If this isn't clear, 
I can expand.

You'll then need to restart Eclipse, then add a few .jar's and possibly fix a few 
paths (Project | Properties | Java Build Path ) to get everything to compile.  I found 
the ant build.xml (and it's includes) helpful pointers in where to find the various 
required jars.

Specifically, I remember nukes needing "jboss.jar" for some reason.

If this works for you, let me know -- I'll clean it up and add it the Wiki.



<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827376#3827376";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827376>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to