Hi Ralph,

I encountered this problem both on Windows 2000 and
RedHat 7.2 (some targets in the build file not showing
up), and in both cases the problem was fixed 
by upgrading to Emacs 21.2.

BTW, Red Hat 7.3 ships with the latest version of
Emacs that you need. 



--- Ralph Jorre <[EMAIL PROTECTED]> wrote:
> I have now upgraded to jde229beta10 on redhat 6.2
> using emacs 20.5 and ant 1.2
> 
> When I toggle jde-ant-complete-target to "off"
> everything works fine and I am able to build,
> rebuild etc.
> 
> However when I toggle this setting to "on" jde
> cannot find some of the targets in the build file.
> 
> The targets it can find are prepare, prepare_dist,
> build, release, dist, clean
> 
> The targets it cannot find are init, rebuild, run,
> junit, trun.
> 
> I enclose the automaton.xml file which works as a
> build.xml file as this seem to the only place where
> this problem may have its origin.
> 
> I am using rev1.35 of jde-ant.el
> 
> Thanks for any help. R.
> 
> 
> > <project name="simulation" default="compile"
> basedir="/usr/home/home/ralph/automaton" >
> 
> <path id="base.class.path">
>     
>     <pathelement
> location="/usr/local/Repast/repast/lib/colt.jar" />
>     <pathelement
> location="/usr/local/Repast/repast/lib/jcchart.jar"
> />
>     <pathelement
> location="/usr/local/Repast/repast/lib/jgl3.1.0.jar"
> />
>     <pathelement
> location="/usr/local/Repast/repast/lib/jmf.jar" />
>     <pathelement
>
location="/usr/local/Repast/repast/lib/mediaplayer.jar"
> />
>     <pathelement
>
location="/usr/local/Repast/repast/lib/multiplayer.jar"
> />
>     <pathelement
> location="/usr/local/Repast/repast/lib/plot.jar" />
>     <pathelement
> location="/usr/local/Repast/repast/lib/repast.jar"
> />
>     <pathelement
> location="/usr/local/Repast/repast/lib/sound.jar" />
>     <pathelement
> location="/usr/local/Repast/repast/lib/trove.jar" />
>     <pathelement
> location="/usr/local/Repast/repast/lib/xerces.jar"
> />
>     <pathelement
> location="/usr/local/junit/junit3.2/junit.jar" />
>     <pathelement path="/home/ralph/corejava" />
> </path>
> 
> 
> <path id="automaton.class.path">
>  <pathelement path="progs/code/" />
>  <path refid="base.class.path" />
> </path>
> 
> <path id="junit.class.path">
>  <pathelement path="progs/code/" />
>  <pathelement
> location="/usr/share/java/optional.jar" />
>  <pathelement location="/usr/share/java/ant.jar" />
>  <path refid="base.class.path" />
> </path>
> 
> <path id="trun.class.path">
>  <pathelement path="jars/automaton.jar" />
>  <path refid="base.class.path" />
> </path>
> 
>     <target name="init">
>         <tstamp/>
>         <property name="source" value="progs/source"
> />
>         <property name="code"  value="progs/code/"
> />
>         <property name="dist"  value="progs/dist/"
> />
>         <property name="debug"  value="on" />
> 
>     </target>
> 
>     <target name="prepare" depends="init">
>         <delete>
>               <fileset
> dir="/usr/home/home/ralph/automaton/progs/code"
> includes="**/*.class" />
>       </delete> 
>     </target>
> 
>    <target name="prepare_dist" depends="init">
>         <delete>
>               <fileset
> dir="/usr/home/home/ralph/automaton/progs/dist"
> includes="**/*.class" />
>       </delete> 
>     </target>
> 
>     <target name="build" depends="init">
>         <javac srcdir="${source}" destdir="${code}"
> debug="on">
>             <classpath refid="automaton.class.path"
> />
>         </javac>
>     </target>
>     
> 
>     <target name="release"
> depends="init,prepare_dist,rebuild">
>         <javac srcdir="${source}" destdir="${dist}"
> debug="off" >
>             <classpath refid="automaton.class.path"
> />
>         </javac>
>     </target>
>     
> 
>     <target name="rebuild"
> depends="init,prepare,build">
>     </target>
> 
>     <target name="dist" depends="init,release">
>         <chmod file="jars/automaton.jar"
> perm="ugo+rx" />
>         <jar jarfile="jars/automaton.jar"
>         basedir="${code}"
>         includes="**/*.class" />
>         <chmod file="jars/automaton.jar"
> perm="ugo+rx" />
>     </target>
> 
>     <target name="clean" depends="init">
>          <delete>
>               <fileset
> dir="/usr/home/home/ralph/automaton/progs/code"
> includes="**/*.class" />
>       </delete> 
>     </target>
>     
>      
>     <target name="run" depends="init">
>      <java
> classname="uchicago.src.sim.engine.SimInit" 
>         fork="yes"
> dir="/usr/home/home/ralph/automaton/">
>         <arg value="sim.automaton.AutomatonModel" />
> 
>         <classpath refid="automaton.class.path" />
>     </java>
>    
>     </target>
> 
>     <target name="junit" depends="init">
>      <taskdef name="junit"
>
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
> >
>       <classpath refid="junit.class.path" />
>      </taskdef>       
>      <junit printsummary="yes"  fork="yes"
> haltonfailure="no"
> dir="/usr/home/home/ralph/automaton/" > 
>         <classpath refid="junit.class.path" />
>       <test name="sim.testing.AllAutomatonTests"
> outfile="junit" />
>       <formatter type="plain" />
>     </junit>
>    
>     </target>
> 
> 
>     <target name="trun" depends="init">
>      <java
> classname="uchicago.src.sim.engine.SimInit" 
>         fork="yes"
> dir="/usr/home/home/ralph/automaton/">
>         <arg value="sim.automaton.AutomatonModel" />
> 
>         <classpath refid="trun.class.path" />
>     </java>
>    
>     </target>
> 
>     
> </project>
> 
> 
> 
> 
> 


=====
Sharath Reddy
Home : 512 401 2979
Cell : 512 689 4360

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

Reply via email to