aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Error messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Error messages "Multiple Annotation found in this line " in Ant build.xml file" Watch "Error messages "Multiple Annotation found in this line " in Ant build.xml file" New topic
Author

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

subhadip sinha
Greenhorn

Joined: Jan 27, 2013
Posts: 1

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

Joined: May 26, 2003
Posts: 30938
    
158

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error messages "Multiple Annotation found in this line " in Ant build.xml file