ant ivy lib“antlib:org.apache.ivy.ant"的xsd位置IDE 自动完成与 xsd? [英] Location of xsd for ant ivy lib "antlib:org.apache.ivy.ant" for IDE autocomplete with xsd?

查看:23
本文介绍了ant ivy lib“antlib:org.apache.ivy.ant"的xsd位置IDE 自动完成与 xsd?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 IDE (Intellij iDEA) 的 xml 编辑器中创建 Ivy Ant 任务并基于 xsd 自动完成,但我找不到用于注册 XML 命名空间 xmlns:ivy="antlib:org.apache.ivy.ant" 的 xsd

I want create Ivy Ant tasks in xml editor in IDE (Intellij iDEA) with autocomplete based on xsd , but I cannot find xsd for register XML namespace xmlns:ivy="antlib:org.apache.ivy.ant"

我在哪里可以找到它?

推荐答案

可能是,在这个讨论开始的过去时间没有 xsd,但至少自 2011 年 5 月以来,常春藤方案在

might be, there was no xsd in the past time this discussion started, but at least since may 2011 the ivy scheme is well documented at

http://ant.apache.org/ivy/schemas/ivy.xsd

直接从 http://ant.apache.org/ivy/

因此,要重新开始使用该方案,您只需要:

so, to start over using the scheme, you just need:

<?xml version="1.0" encoding="UTF-8"?>
<project name="yourproject"
         xmlns:ivy="antlib:org.apache.ivy.ant"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"
>
<!-- … -->

这篇关于ant ivy lib“antlib:org.apache.ivy.ant"的xsd位置IDE 自动完成与 xsd?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆