Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] build.xml bogus errors


On Eclipse 3.1 RC3, you correctly get the error indicated when you add the comment.
The "--" string is not permitted in XML comments. No different from the commandline behavior...

Removing the comment, the error annotation correctly goes away and on save the error marker is removed.

Darins
In the future these types of user question should be asked in the Eclipse newsgroups



"Michael Oliver" <oliverm@xxxxxxxxxxxxxxxx>
Sent by: platform-ant-dev-bounces@xxxxxxxxxxx

06/21/2005 02:07 PM

Please respond to
oliverm and "Eclipse Ant integration developers list."

To
<platform-ant-dev@xxxxxxxxxxx>
cc
Subject
[platform-ant-dev] build.xml bogus errors





I started with the following elements in my build.xml
 
<target name="java-wsdl2java-service">
   <java classname="org.apache.axis.wsdl.WSDL2Java"
   fork="true"
   classpathref="EPCLASSPATH">
   <arg value="--server-side"/>
   <arg value="--all"/>
   <arg value="--output"/>
   <arg path="${src}"/>
   <arg value="-v"/>
   <arg value="--testCase"/>
   <arg value="--deployScope"/>
   <arg value="session"/>
   <arg path="${local.wsdl}"/>
   </java>
</target>
 
Then I wanted to run that target without the “—all” argument, so brilliant me I edited that line to read,
 
   <!-- arg value="--all"/ -->
 
And that added a problem
 
54:-1 Next character must be “>” terminating comment.
 
So I put it back to
 
   <arg value="--all"/>
 
But the error doesn’t go away.  Ant seems to work ok, but it is irritating to see that every time I open that project.
 
Any ideas?
 

Loosely Coupled

 

Mike Oliver
CTO
mikeoliveraz@xxxxxxxxx
oliverm@xxxxxxxxxxxxxxxx
IM: MikeOliverAZ@xxxxxxxxx

http://www.alariussystems.com/

tel:
fax:
mobile:
(702)643-7425
(702)974-0341
(518)378-6154



 


Add me to your address book...


 _______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ant-dev


Back to the top