coderanch.com
Open in
urlscan Pro
204.144.184.130
Public Scan
URL:
https://coderanch.com/t/642218/build-tools/BUILD-FAILED-running-apache-ANT
Submission: On August 31 via api from SG — Scanned from DE
Submission: On August 31 via api from SG — Scanned from DE
Form analysis
1 forms found in the DOMPOST https://coderanch.com/t/642218/build-tools/BUILD-FAILED-running-apache-ANT
<form method="post" action="https://coderanch.com/t/642218/build-tools/BUILD-FAILED-running-apache-ANT">
<input type="hidden" name="OWASP_CSRFTOKEN" value="8JIQ-GZCP-ZA98-6DIP-KZTH-MIQ8-MOMF-2QP0">
<input type="hidden" name="nonMobile" value="false">
<input type="submit" value="mobile view">
</form>
Text Content
Search... FAQs Subscribe Pie FAQs Recent topics Flagged topics Hot topics Best topics Search... Search within Other Build Tools Search Coderanch Advance search Google search Register / Login * Post Reply Bookmark Topic Watch Topic * New Topic programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums this forum made possible by our volunteer staff, including ... Marshals: * Campbell Ritchie * Tim Cooke * Ron McLeod * Jeanne Boyarsky * Paul Clapham Sheriffs: * Liutauras Vilda * Henry Wong * Devaka Cooray Saloon Keepers: * Tim Moores * Stephan van Hulst * Tim Holloway * Al Hobbs * Carey Brown Bartenders: * Piet Souris * Mikalai Zaikin * Himai Minh Forum: * Other Build Tools BUILD FAILED WHILE RUNNING APACHE ANT BUILD.XML FILE Arjuna Naran Greenhorn Posts: 2 posted 7 years ago * * Number of slices to send: Optional 'thank-you' note: Send * * Hi, I am new to ANT. I am trying to generate .EAR file but I am getting the following error. main@Main1:~/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build$ ant buildEar Buildfile: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml common: [echo] BuildName: Tagnosys [echo] BuildHome: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard [echo] SourceHome: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src [echo] BuildFile: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml [echo] BuildJVM: 1.7 clean: [delete] Deleting directory /home/mainstay1/Downloads/tagnos/workspace/tals.mdb.out/tmp [delete] Deleting directory /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/install init: [echo] Build Tagnosys-1.0 (${subversion}) [mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp [mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/install [mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp/classes [mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp/ear javacompile: [javac] /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml:108: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 488 source files to /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp/classes BUILD FAILED /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml:108: /tagnos/3rdparty does not exist. Total time: 0 seconds main@Main1:~/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build$ and this is build.xml file ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 <?xml version="1.0"?> <project name="Tagnosys" default="deploy-ear" basedir="../../.."> <!-- Name of project and version, used to create filenames --> <property name="Name" value="Tagnosys" /> <property name="version" value="1.0" /> <property name="3RDPARTY" location="/tagnos/3rdparty" /> <property name="JAVA_HOME" location="${3RDPARTY}/java" /> <property name="JDBC_DRIVER" location="${3RDPARTY}/mysql-connector-java/mysql-connector-java-5.0.3-bin.jar" /> <property name="JBOSS_HOME" location="${3RDPARTY}/jboss" /> <property name="JBOSS_DIST" location="${3RDPARTY}/jboss/server/tagnos/deploy" /> <property name="JBOSS_CONF" location="${3RDPARTY}/jboss/server/tagnos/conf" /> <property name="JBOSS_WEB_CONSOLE_CONF" location="${3RDPARTY}/jboss/server/tagnos/deploy/management/console-mgr.sar/web-console.war/WEB-INF/" /> <property name="JBOSS_JMX_CONSOLE_CONF" location="${3RDPARTY}/jboss/server/tagnos/deploy/jmx-console.war/WEB-INF/" /> <property name="JBOSS_WEB_CONF" location="${3RDPARTY}/jboss/server/tagnos/deploy/jboss-web.deployer/" /> <property name="STRUTS_HOME" location="${3RDPARTY}/struts" /> <!-- set global properties for this build --> <property name="install.dir" value="${basedir}/../tals.mdb.out/install" /> <property name="tagnosbin.dir" value="/tagnos/bin" /> <property name="tmp.dir" value="${basedir}/../tals.mdb.out/tmp" /> <property name="classes.dir" location="${tmp.dir}/classes" /> <property name="war.dir" value="${tmp.dir}/war" /> <property name="ear.dir" value="${tmp.dir}/ear" /> <property name="nativedll.dir" value="${basedir}/native/dll" /> <property name="nativedest.dir" value="${JBOSS_HOME}/bin" /> <property name="src.dir" location="${basedir}/src" /> <property name="src.java.dir" location="${basedir}/src/java" /> <property name="src.ui.dir" value="${basedir}/src/java/com/tagnosys/ui" /> <property name="src.db.dir" value="${basedir}/src/java/com/tagnosys/db" /> <property name="src.web.dir" value="${basedir}/src/web" /> <property name="src.conf.dir" value="${basedir}/src/etc/conf" /> <property name="src.etc.bin.dir" value="${basedir}/src/etc/bin" /> <property name="src.conf.hbm.dir" value="${basedir}/src/etc/conf/hbm" /> <property name="src.ejb.dir" value="${basedir}/src/java/com/tagnosys/ejb" /> <property name="src.bus.dir" value="${basedir}/src/java/com/tagnosys/business" /> <property name="src.util.dir" value="${basedir}/src/java/com/tagnosys/util" /> <property name="src.config.dir" value="${basedir}/src/java/com/tagnosys/Configuration" /> <property name="src.wf.dir" value="${basedir}/src/java/com/tagnosys/workflow" /> <property name="src.wq.dir" value="${basedir}/src/java/com/tagnosys/workqueue" /> <property name="src.tagcache.dir" value="${basedir}/src/java/com/tagnosys/tagcache" /> <property name="src.collector.dir" value="${basedir}/src/java/com/tagnosys/collector" /> <property name="src.rfserver.dir" value="${basedir}/src/java/com/tagnosys/rfserver" /> <property name="src.rfserver.msg.dir" value="${basedir}/src/java/com/tagnosys/rfserver/message" /> <property name="src.alarmcache.dir" value="${basedir}/src/java/com/tagnosys/alarmcache" /> <property name="src.patientflow.dir" value="${basedir}/src/java/com/tagnosys/patientflow" /> <property name="src.state.dir" value="${basedir}/src/java/com/tagnosys/statemachine" /> <property name="src.roomstatus.dir" value="${basedir}/src/java/com/tagnosys/roomstatus" /> <property name="src.group.dir" value="${basedir}/src/java/com/tagnosys/group" /> <property name="src.resource.dir" value="${basedir}/src/java/com/tagnosys/ResourceScheduler" /> <property name="deploy.dir" value="${JBOSS_DIST}" /> <property name="warFile" value="TagnosysWEB.war" /> <property name="earFile" value="TagnosysEAR.ear" /> <property name="ejbFile" value="TagnosysEJB.jar" /> <property name="cfgFile" value="Configuration.jar" /> <property name="jarFile" value="TagnosysAPP.jar" /> <property name="harFile" value="TagnosysDB.har" /> <property name="database.script.file" value="${src.dir}/dbschema/${name}-mysql.sql" /> <property name="database.driver.classpath" value="${3RDPARTY}/mysql-connector-java-3.0.16-ga/mysql-connector-java-3.0.16-ga-bin.jar" /> <property name="database.driver" value="com.mysql.jdbc.Driver" /> <property name="database.url" value="jdbc:mysql://localhost/tagnosys" /> <property name="database.userid" value="abc" /> <property name="database.password" value="abc" /> <property name="database.schema" value="abc" /> <property name="log4j" value="jboss-log4j.xml" /> <property name="database.catalog" value="" /> <path id="classpath"> <pathelement location="${classes.dir}" /> <fileset dir="${3RDPARTY}" includes="*.jar" /> <pathelement location="${JDBC}" /> <fileset dir="${JBOSS_DIST}/../lib"> <include name="**/*.jar" /> <include name="**/*.sar" /> </fileset> <fileset dir="${JBOSS_HOME}/lib"> <include name="**/*.jar" /> <include name="**/*.sar" /> </fileset> <fileset dir="${STRUTS_HOME}/lib"> <include name="**/*.jar" /> </fileset> </path> <target name="common"> <echo message="BuildName: ${ant.project.name}" /> <echo message="BuildHome: ${basedir}" /> <echo message="SourceHome: ${basedir}/src" /> <echo message="BuildFile: ${ant.file}" /> <echo message="BuildJVM: ${ant.java.version}" /> </target> <target name="init"> <echo message="Build ${Name}-${version} (${subversion})" /> <mkdir dir="${tmp.dir}" /> <mkdir dir="${install.dir}" /> <mkdir dir="${classes.dir}" /> <mkdir dir="${ear.dir}" /> </target> <target name="javacompile" depends="init"> <javac debug="on" srcdir="${src.java.dir}" destdir="${classes.dir}"> <classpath refid="classpath" /> <patternset id="included.java.files"> <include name="**/*.java" /> </patternset> <patternset id="excluded.java.files"> <exclude name="com/tagnosys/controller/*.java" /> <exclude name="com/tagnosys/messages/*.java" /> <exclude name="com/tagnosys/rfserver.simulator/*.java" /> <exclude name="com/tagnosys/rfserver/Test*.java" /> <exclude name="com/tagnosys/rfserver/*StandAlone.java" /> </patternset> </javac> </target> <target name="webcompile" depends="init, javacompile"> <!-- this makes sure that the latest code is in both classes dirs --> <copy todir="${war.dir}/WEB-INF/classes"> <fileset dir="${classes.dir}" includes="com/tagnosys/ui/**" /> <fileset dir="${classes.dir}" includes="com/tagnosys/reports/**" /> <fileset dir="${classes.dir}" includes="com/tagnosys/ws/**" /> </copy> </target> <target name="buildEjbJar" depends="init, javacompile"> <jar destfile="${install.dir}/${ejbFile}"> <fileset dir="${classes.dir}/"> <include name="com/tagnosys/ejb/**" /> <include name="com/tagnosys/db/**" /> <include name="com/tagnosys/util/**" /> <include name="com/tagnosys/group/**" /> <include name="com/tagnosys/business/**" /> <include name="com/tagnosys/workqueue/**" /> <include name="com/tagnosys/group/**" /> </fileset> <metainf dir="${src.conf.dir}/app"> <include name="ejb-jar.xml" /> <include name="jboss.xml" /> </metainf> </jar> </target> <target name="buildCfgJar" depends="init, javacompile"> <jar destfile="${install.dir}/${cfgFile}"> <fileset dir="${classes.dir}/"> <include name="com/tagnosys/Configuration/**" /> <include name="com/tagnosys/util/**" /> </fileset> </jar> </target> <target name="buildHar" depends="init, javacompile"> <jar destfile="${install.dir}/${harFile}"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/ui/**" /> </fileset> <fileset dir="${classes.dir}"> <include name="com/tagnosys/db/**" /> </fileset> <fileset dir="${src.java.dir}"> <include name="**/*.hbm.xml" /> </fileset> <metainf dir="${src.conf.hbm.dir}"> <include name="hibernate-service.xml" /> </metainf> <fileset dir="${src.conf.hbm.dir}"> <include name="treecache.xml" /> <include name="hibernate.cfg.xml" /> </fileset> </jar> </target> <!-- Create the web archive File --> <target name="buildWar" depends="webcompile"> <copy todir="${war.dir}/WEB-INF/classes"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/ui/**" /> </fileset> </copy> <copy todir="${war.dir}/WEB-INF"> <fileset dir="${src.conf.dir}/app/" includes="struts-config.xml" /> <fileset dir="${src.conf.dir}/app/" includes="web.xml" /> <fileset dir="${src.conf.dir}/app/" includes="tilesDefinitions.xml" /> <fileset dir="${STRUTS_HOME}/lib/" includes="struts-config_1_0.dtd" /> <fileset dir="${STRUTS_HOME}/lib/" includes="tiles-config.dtd" /> <fileset dir="${STRUTS_HOME}/lib/" includes="*.tld" /> </copy> <copy todir="${war.dir}"> <fileset dir="${src.web.dir}/jsp" includes="*" /> <fileset dir="${src.web.dir}/scripts" includes="*" /> <fileset dir="${src.web.dir}/html" includes="*" /> <fileset dir="${src.web.dir}/floorplan" includes="*" /> <fileset dir="${src.web.dir}/images" includes="*" /> </copy> <copy todir="${war.dir}/WEB-INF/lib"> <fileset dir="${STRUTS_HOME}/lib/" includes="struts.jar" /> <fileset dir="${STRUTS_HOME}/lib/" includes="oro-2.0.8.jar" /> </copy> <!-- Create war file and place in ear directory --> <jar jarfile="${install.dir}/${warFile}" basedir="${war.dir}" /> </target> <!-- Create the ear File --> <target name="buildEar" depends="common,clean,init,buildHar,buildEjbJar,buildWar,wf-sar,tagcache-sar, alarmcache-sar, collector-sar, hl7listener-sar, patientflow-sar, roomstatus-sar, resource-sar, buildCfgJar,deploycfgjar,deploy-native,deploy-jboss-conf-files"> <!-- Create ear file and place in ear directory --> <jar jarfile="${install.dir}/${earFile}"> <fileset dir="${install.dir}"> <include name="${ejbFile}" /> <include name="${warFile}" /> <include name="${harFile}" /> <include name="wf.sar" /> <include name="TagLocationCache.sar" /> <include name="AlarmCache.sar" /> <include name="Collector.sar" /> <include name="PatientFlow.sar" /> <include name="RoomStatus.sar"/> <include name="Resource.sar"/> <include name="HL7Listener.sar" /> </fileset> <metainf dir="${src.conf.dir}/app"> <include name="application.xml" /> <include name="jboss-app.xml" /> </metainf> </jar> </target> <target name="deploy-ear" depends="buildEar,deploy-native,deploy-jboss-conf-files"> <delete file="${deploy.dir}/${earFile}" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="*.ear" /> </copy> </target> <target name="deploy-native"> <delete file="${nativedest.dir)/${osval.dll}" /> <copy todir="${nativedest.dir}"> <fileset dir="${nativedll.dir}" includes="*.dll" /> </copy> </target> <target name="deploy-jboss-conf-files"> <copy todir="${JBOSS_CONF}" overwrite="true"> <fileset dir="${src.conf.dir}" includes="jboss-log4j.xml" /> <fileset dir="${src.conf.dir}" includes="server.keystore" /> </copy> <copy tofile="${JBOSS_JMX_CONSOLE_CONF}/jboss-web.xml" overwrite="true"> <fileset dir="${src.conf.dir}" includes="jboss-web-jmxconsole.xml" /> </copy> <copy tofile="${JBOSS_WEB_CONSOLE_CONF}/jboss-web.xml" overwrite="true"> <fileset dir="${src.conf.dir}" includes="jboss-web-webconsole.xml" /> </copy> <copy tofile="${JBOSS_WEB_CONF}/server.xml" overwrite="true"> <fileset dir="${src.conf.dir}" includes="server-web.xml" /> </copy> <copy tofile="${JBOSS_WEB_CONF}/conf/web.xml" overwrite="true"> <fileset dir="${src.conf.dir}" includes="jboss-web-deployer-web.xml" /> </copy> </target> <target name="clean"> <delete dir="${tmp.dir}" /> <delete dir="${install.dir}" /> </target> <target name="collector-sar" depends="init, javacompile"> <jar destfile="${install.dir}/Collector.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/collector/*.class" /> <include name="com/tagnosys/rfserver/*.class" /> <include name="com/tagnosys/rfserver/message/*.class" /> <include name="com/tagnosys/util/*.class" /> </fileset> <metainf dir="${src.conf.dir}/collector"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-collector-sar" depends="collector-sar"> <delete file="${deploy.dir}/collector.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="Collector.sar" /> </copy> </target> <target name="collector-manager-sar" depends="init, javacompile"> <jar destfile="${install.lib.dir}/collectormanager.sar"> <fileset dir="${classes.app.dir}"> <include name="com/tagnosys/collector/manager/*.class" /> <include name="com/tagnosys/util/*.class" /> </fileset> <metainf dir="${src.conf.dir}/collectormanager"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-collector-manager-sar" depends="collector-manager-sar"> <delete file="${deploy.dir}/collectormanager.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="collectormanager.sar" /> </copy> </target> <target name="wf-sar" depends="init, javacompile"> <jar destfile="${install.dir}/wf.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/workflow/*.class" /> <include name="com/tagnosys/workqueue/*.class" /> </fileset> <metainf dir="${src.conf.dir}/wf"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-wf-manager-sar" depends="wf-sar"> <delete file="${deploy.dir}/wf.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="wf.sar" /> </copy> </target> <target name="hl7listener-sar" depends="init, javacompile"> <jar destfile="${install.dir}/HL7Listener.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/listener/*.class" /> <include name="com/tagnosys/HL7/*.class" /> </fileset> <metainf dir="${src.conf.dir}/hl7listener"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-hl7listener-manager-sar" depends="hl7listener-sar"> <delete file="${deploy.dir}/hl7listner.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="hl7listener.sar" /> </copy> </target> <target name="tagcache-sar" depends="init, javacompile"> <jar destfile="${install.dir}/TagLocationCache.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/tagcache/*.class" /> </fileset> <metainf dir="${src.conf.dir}/tagcache"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-tagcache-manager-sar" depends="tagcache-sar"> <delete file="${deploy.dir}/TagCache.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="TagCache.sar" /> </copy> </target> <target name="alarmcache-sar" depends="init, javacompile"> <jar destfile="${install.dir}/AlarmCache.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/alarmcache/*.class" /> </fileset> <metainf dir="${src.conf.dir}/alarmcache"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-alarmcache-manager-sar" depends="alarmcache-sar"> <delete file="${deploy.dir}/AlarmCache.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="AlarmCache.sar" /> </copy> </target> <target name="patientflow-sar" depends="init, javacompile"> <jar destfile="${install.dir}/PatientFlow.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/patientflow/*.class" /> </fileset> <metainf dir="${src.conf.dir}/patientflow"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-patientflow-sar" depends="patientflow-sar"> <delete file="${deploy.dir}/patientflow.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="PatientFlow.sar" /> </copy> </target> <target name="roomstatus-sar" depends="init, javacompile"> <jar destfile="${install.dir}/RoomStatus.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/action/*.class" /> <include name="com/tagnosys/roomstatus/*.class" /> <include name="com/tagnosys/statemachine/*.class" /> <include name="com/tagnosys/group/*.class" /> <include name="com/tagnosys/workqueue/*.class" /> <include name="com/tagnosys/util/*.class" /> </fileset> <metainf dir="${src.conf.dir}/roomstatus"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-roomstatus-sar" depends="roomstatus-sar"> <delete file="${deploy.dir}/RoomStatus.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="RoomStatus.sar" /> </copy> </target> <target name="resource-sar" depends="init, javacompile"> <jar destfile="${install.dir}/Resource.sar"> <fileset dir="${classes.dir}"> <include name="com/tagnosys/action/*.class" /> <include name="com/tagnosys/ResourceScheduler/*.class" /> <include name="com/tagnosys/workqueue/*.class" /> <include name="com/tagnosys/util/*.class" /> </fileset> <metainf dir="${src.conf.dir}/resource"> <include name="jboss-service.xml" /> </metainf> </jar> </target> <target name="deploy-resource-sar" depends="resource-sar"> <delete file="${deploy.dir}/Resource.sar" /> <copy todir="${deploy.dir}"> <fileset dir="${install.dir}" includes="Resource.sar" /> </copy> </target> <target name="deploycfgjar" depends="buildCfgJar"> <delete file="${tagnosbin.dir}/Configuration.jar" /> <delete file="${tagnosbin.dir}/runconfig.bat" /> <copy todir="${tagnosbin.dir}"> <fileset dir="${install.dir}" includes="Configuration.jar" /> </copy> <copy todir="${tagnosbin.dir}"> <fileset dir="${src.etc.bin.dir}" includes="runconfig.bat" /> </copy> </target> </project> My file structure is tagnos -> 3rdparty -> bin -> workspace -> tals_multi_dashboard -> src -> etc -> build -> build.xml file Can anyone help me to resolve this problem. I am using ANT 1.9.3 Thanks Jeanne Boyarsky author & internet detective Posts: 41220 848 I like... posted 7 years ago * * Number of slices to send: Optional 'thank-you' note: Send * * Is tagnos at the root of your file system? This code implies that it is: ? 1 <property name="3RDPARTY" location="/tagnos/3rdparty" /> If that isn't the case, try removing the "/" to make it a relative path. [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos] Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2 Arjuna Naran Greenhorn Posts: 2 posted 7 years ago * * Number of slices to send: Optional 'thank-you' note: Send * * Yes, tagnos is the root Don't get me started about those stupid light bulbs. reply reply Bookmark Topic Watch Topic * New Topic Boost this thread! Similar Threads * Ant Build Failing -- Need a way to pick jar file during run time. * Warning Message When I Ran My ANT build.xml File * Building Seam projects in Eclipse * Class files generated in web-inf directory as well as in base directory More... current ranch time (not your local time) is Aug 31, 2022 03:17:46 all times are in ranch time: GMT-6 in summer, GMT-7 in winter contact us | advertise | | Powered by JForum | copyright © 1998-2022 paul wheaton, missoula, MT