• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error messages "Multiple Annotation found in this line " in Ant build.xml file

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am getting below error inline number 4 of the below build.xml file

Multiple annotation found in this line :
-Ant Breakpoint[line :4]
-The string "--"is not permitted within comments.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE log SYSTEM "temp.dtd">
<Project name="learning testNG" default="usages" basedir=".">
<property name="workplace location" value=$(basedir)/>
<property name="all jars" value="F:\Automation\jars\jars"/>
<property name="test.dest" value="C:\Users\XPS-M1330\workspace\TestNG_PROJECT\bin\tests"/>
<property name="test.src" value="C:\Users\XPS-M1330\workspace\TestNG_PROJECT\src"/>
<property name="test.ng" value="test-output"/>
<target name="clean">
<delete dir="$(test.dest)"/ >
</target>
<target name="compile" depend ="init,clean">
<delete includeemptydire ="true" quite="true">
<fileset dir="$(test.dest)" includes="**/*"/>
</delete>
<echo mesaage ="making directory..."/>
<mkdir dir="$(test.dest)"/>
<echo message ="compiling..."/>
<javac
debug="true"
destdir="$(test.dest)"
srcdir="$(test.src)"
target="1.7"
classpath="$(test.classpath)"
>
</java>
</target>
<target name ="build" depends="init" >
</target>
<target name ="run" depends="compile" >
</target>
</Project>

please help me out ..
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you 100% sure the file you posted is the one that goes with the error message? Nothing is commented out in the build.xml in the post.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic