ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phillip mastroianni <phillipmastroia...@yahoo.com>
Subject Help newbie
Date Mon, 04 Feb 2002 20:58:44 GMT

 

 

help :

 

I want to launch an application using ant, but I am crashing @vm initialization.  Pleas help

Also, I currently have JDK1.3 and JDK1.2 on my system.  I program in 1.3 but I force the compiler
to targer 1.2.  How can I ensure that the java command is JDK1.2? 
 <!-- ========================= Run Application ======================= -->

 <target name="start" depends="deploy" description="Run CVJ Application">
  <path id="boot.id" >
   <!--<pathelement location="${jacorb.jar}" />
   <pathelement location="${env.JDK12}\jre\lib\rt.jar" /> -->
   <pathelement location="${env.JDK12}\jre\lib\i18n.jar" />
  </path>
  
  <property name="expanded" refid="boot.id" />
  <echo message="Xbootclasspath : ${expanded}" />
   <java classname="ControlVisionJ" fork="yes">
      <classpath>
      <pathelement location="${cvj.jar}" />
      <pathelement location="${xml4j.jar}"/>
      <pathelement location="${pj.jar}"/>
      <pathelement location="${Rex.jar}"/>
      <pathelement location="${tmcj.jar}" />
      <pathelement location="${lib.home}\${app.name}.jar"/>
      </classpath>
      <jvmarg value="-version" />
      <jvmarg value="verbose" />
      <jvmarg line="-Xbootclasspath:${expanded}"/>
      <jvmarg value="-Xnoclassgc"/>
      <jvmarg value="-Xms10M"/>
      <jvmarg value="-Xmx64M"/>
      <jvmarg value="-Djacorb.hashtable_class=java.util.Hashtable" />
      <jvmarg value="-Dbrooks.cvj.core.logFileName=logfiles/system.log" />
      <jvmarg value="-Djava.compiler=NONE"/>

      <arg value="${launch.arg}"/>
      <arg value="config ${cvjcfg.home}"/>
      <arg value="${recipes.home}"/>
      
      
    </java>
 </target>


error messag :

prepare:
     [echo] JDK Installation = f:\dev_tools\jdk2se\jdk1.2.2
     [echo] CVJ_INSTALL is set to = f:\Brooks\ControlVisionJ

compile:

deploy:

start:
     [echo] Xbootclasspath : F:\dev_tools\jdk2se\jdk1.2.2\jre\lib\i18n.jar
     [java] java version "1.3.1_02"
     [java] Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02
)
     [java] Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)


 


Phillip Mastroianni
phillipmastroianni@yahoo.com
mastroianni.phillip@eProcessAutomation.com


---------------------------------
Do You Yahoo!?
Yahoo! Auctions Great stuff seeking new owners! Bid now!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message