Advertisement
Guest User

RosJava rosmake Error BuildFile

a guest
Jan 24th, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.98 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project name="." default="default">
  3.  
  4.   <property file="ros.properties" />
  5.  
  6.   <property name="dist" location="dist" />
  7.   <property name="build" location="build" />
  8.   <property name="src" location="src" />
  9.  
  10.   <path id="classpath">
  11.     <pathelement path="${ros.compile.classpath}" />
  12.   </path>
  13.  
  14.   <echo message="${toString:classpath}" />
  15.  
  16.   <target name="default" depends="init, compile" />
  17.  
  18.   <target name="init">
  19.     <fail unless="ros.compile.classpath" message="ros.properties is missing.  Please type 'rosmake' first "/>
  20.     <mkdir dir="${build}" />
  21.     <mkdir dir="${dist}" />
  22.   </target>
  23.  
  24.   <target name="compile" depends="init">
  25.  
  26.     <javac destdir="${build}">
  27.       <classpath refid="classpath" />
  28.       <src path="${src}" />
  29.     </javac>
  30.   </target>
  31.  
  32.   <target name="clean">
  33.     <delete dir="${build}" />
  34.     <delete dir="${dist}" />
  35.   </target>
  36.  
  37.   <!-- required entry point -->
  38.   <target name="test" />
  39.  
  40. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement