Date: Fri, 29 Mar 2024 05:54:47 +0000 (UTC) Message-ID: <1782048074.23.1711691687569@7796fb916731> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_22_1247654369.1711691687569" ------=_Part_22_1247654369.1711691687569 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
You will have to successfully obtain the collection of dcm4che and dcm4c= hee modules from our code repository:
svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4che14/t= runk dcm4che14 svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4che= e-docstore/tags/DCM4CHEE_XDS_1_0_3 dcm4chee-docstore svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4che= e-xds-infoset/tags/DCM4CHEE_XDS_1_0_3 dcm4chee-xds-infoset svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/dcm4chee/dcm4che= e-arc/trunk dcm4jboss-all
Once you have done that, you need to build the softwar= e. At this point you're ready to start setting things up Eclipse.
It is recommended that you have an Eclipse workspace dedicated to dcm4ch= e, since dcm4che may have different JVM and code formatting settings, as we= ll as different classpath variables than your other projects.
Assuming you are starting with a clean workspace, follow Eclipse IDE Configuration instructions.
Set up the following classpath variables within Eclipse. Click on Window= s, Preferences, and then navigate to the Java/Build Path/Classpath Variable= s section.
Variable Name |
Path |
---|---|
JBOSS_HOME |
The path to the root directory of your JBoss 4.2.3 GA installation. For =
example; |
FOP_HOME |
The path to the root directory of your FOP installation. For example; |
CACTUS_HOME |
The path to the root directory of your Cactus (J2EE testing framework) i=
nstallation. For example; |
Click on File, Import, select Existing Projects into Workspace= strong>, and then click Next. With the "Select root directory" radio button= selected, click on Browse, and then navigate to your root directory with s= ources obtained from code repository. Select this directory and click OK. Y= ou should see the list box populated with fo= llowing projects:
Uncheck dcm4chee-docstore and dcm4chee-xds-infoset and click on the Fini= sh button.
Click on File, Import, select Maven/Existing Maven Projects, and then click Next. With the "Select root directory" radio button se= lected, click on Browse, and then navigate to your root directory with sour= ces obtained from code repository and to dcm4chee-docstore/dcm4chee-docstor= e-store. Select this directory and click OK. You should see the list box po= pulated with following:
Click on the Finish button.
Click on File, Import, select Maven/Existing Maven Projects, and then click Next. With the "Select root directory" radio button se= lected, click on Browse, and then navigate to your root directory with sour= ces obtained from code repository and to dcm4chee-xds-infoset/dcm4chee-xds-= infoset-v30. Select this directory and click OK. You should see the list bo= x populated with following:
Click on the Finish button.
The dcm4jboss-sar module comes with an Eclipse launch configuration whic=
h automatically populates an Eclipse launch configuration into your workspa=
ce. All you need to do is define a String Substitution variable called
Note that the code in your workspace should obviously be in synch with t= he code you're trying to debug.
To enable remote debugging you have to edit your run.conf file an JBOSS_=
HOME/bin/ and uncomment/add following line:
# Sample JPDA settings for remote socket debuging
JAVA_OPTS=3D"$JAVA_OPTS -Xdebug -Xrunjdwp:transport=3Ddt_socket,address=3D=
8787,server=3Dy,suspend=3Dy"
This will enable java remote debugging on port 8787. Now you have to set=
up a new remote debugging session in Eclipse. This can be done via: Run -&g=
t; Debug: Select Remote Java Application and press the "New launch configur=
ation" button.
Choose dcm4jboss-sar as Project, set the connection properties port to 878=
7 and add on the Source tab all dcm4jboss projects. After hitting the Debug=
button the JBoss server will startup and you can start debugging.