Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
subhadip sinha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 ..
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic