geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject cvs commit: incubator-geronimo maven.xml
Date Wed, 27 Aug 2003 20:40:52 GMT
chirino     2003/08/27 13:40:52

  Modified:    .        maven.xml
  Log:
  added the maven target 'run:main'  This target runs geronimo using the standard Main.  the
'run' target still runs geronimo using twidel.
  
  Revision  Changes    Path
  1.28      +30 -2     incubator-geronimo/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/maven.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- maven.xml	25 Aug 2003 21:16:49 -0000	1.27
  +++ maven.xml	27 Aug 2003 20:40:51 -0000	1.28
  @@ -386,5 +386,33 @@
         </java>
       </j:jelly>
     </goal>
  -  
  +
  +  <goal name="run:main">
  +    <j:set var="run.dir" value="${basedir}/target/${release.id}"/>
  +    <!--
  +       | Should really execute the system script but for now...
  +     -->
  +    <j:jelly xmlns="jelly:ant">
  +
  +        <java classname="org.apache.geronimo.Main" 
  +            fork="true"
  +            maxmemory="128m"
  +            failonerror="true"
  +            dir="${run.dir}">
  +
  +        <classpath>
  +          <pathelement path="${run.dir}/etc"/>
  +          <fileset dir="${run.dir}/lib">
  +            <include name="*.jar"/>
  +            <exclude name="xerces-2.4.0.jar"/>
  +          </fileset>              
  +        </classpath>
  +
  +        <sysproperty key="program.name" value="maven:run"/>
  +        <sysproperty key="geronimo.home" value="file:${run.dir}/"/>
  +
  +      </java>
  +    </j:jelly>
  +  </goal>
  + 
   </project>
  
  
  

Mime
View raw message