ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean (Contractor)" <dean.hil...@broadridge.com>
Subject RE: ivy ant tasks - xsd or eclipse autocomplete?
Date Mon, 29 Nov 2010 15:52:51 GMT
I just did this...

    	<get
src="http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.ja
r"
    		 dest="${ivy.jar.dir}/ivy.jar" usetimestamp="true"/>
		
    	<path id="ivy.lib.path">
    	    <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
    	</path>
    	<taskdef resource="org/apache/ivy/ant/antlib.xml"
    	          uri="antlib:org.apache.ivy.ant"
classpathref="ivy.lib.path"/>	

but I know the eclipse xml editor(if you have WTP only I think) will
complete all xml files based on 
xsd's so typing ivy: would offer completion "if" there was an xsd.  Does
completion work for you?

Thanks,
Dean


-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com] 
Sent: Friday, November 26, 2010 3:48 PM
To: ivy-user@ant.apache.org
Subject: Re: ivy ant tasks - xsd or eclipse autocomplete?

There is no xsd for the Ivy Ant tasks.

I'm not sure how eclipse supports autocompletion of external ant tasks.
Did you define the Ivy tasks in such a way that eclipse will be able to
find the 
ivy.jar ?

Maarten



----- Original Message ----
From: "Hiller, Dean (Contractor)" <dean.hiller@broadridge.com>
To: ivy-user@ant.apache.org
Sent: Fri, November 26, 2010 5:13:51 PM
Subject: ivy ant tasks - xsd or eclipse autocomplete?

Usually, if you add the xsd like 



xmlns:ivy="http://ant.apache.org/ivy/ivyanttasks.xsd"



Then eclipse does autocompletion (at least in xml files this works).
But on the docs it has me adding



xmlns:ivy="antlib:org.apache.ivy.ant"



Which does not make auto completion in Eclipse Helios work(webtools I
think has to be there for that stuff to work "I think").  Is there
something I am missing or is there an xsd for the ivy ant tasks?



Thanks,

Dean


This message and any attachments are intended only for the use of the
addressee 
and
may contain information that is privileged and confidential. If the
reader of 
the 

message is not the intended recipient or an authorized representative of
the
intended recipient, you are hereby notified that any dissemination of
this
communication is strictly prohibited. If you have received this
communication in
error, please notify us immediately by e-mail and delete the message and
any
attachments from your system.



      
This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


Mime
View raw message