You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ch...@apache.org on 2003/11/16 06:39:55 UTC

cvs commit: incubator-geronimo maven.xml

chirino     2003/11/15 21:39:55

  Modified:    .        maven.xml
  Log:
  Make the debug:main target work.
  
  Revision  Changes    Path
  1.43      +8 -4      incubator-geronimo/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/maven.xml,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- maven.xml	29 Oct 2003 05:08:09 -0000	1.42
  +++ maven.xml	16 Nov 2003 05:39:54 -0000	1.43
  @@ -558,21 +558,25 @@
                   failonerror="true"
                   dir="${run.dir}">
   
  +
                   <classpath>
                       <pathelement path="${env.JAVA_HOME}/lib/tools.jar"/>
                       <pathelement path="${run.dir}/etc"/>
  -                    <fileset dir="${run.dir}/lib">
  +                    <fileset dir="${run.dir}/bootlib">
                           <include name="*.jar"/>
                       </fileset>
  +                    
  +                    <!-- temporary addition allows RMI to be used, such as with the JMX RMI connector -->
  +                    <pathelement location="${run.dir}/lib/geronimo-core-rmiclassloaderspi.jar"/>
                   </classpath>
   
                   <jvmarg value="-Xdebug"/>
                   <jvmarg value="-Xnoagent"/>
                   <jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"/>
   
  -                <sysproperty key="program.name" value="maven:debug"/>
  -                <sysproperty key="geronimo.home" value="file:${run.dir}/"/>
                   <sysproperty key="java.compiler" value="NONE"/>
  +                <sysproperty key="program.name" value="maven:run"/>
  +                <sysproperty key="geronimo.home" value="file:${run.dir}/"/>
                   <sysproperty key="java.rmi.server.RMIClassLoaderSpi" value="org.apache.geronimo.rmi.RMIClassLoaderSpiImpl"/>
   
               </java>