Location of xsd for ant ivy lib “antlib:org.apache.ivy.ant” for IDE autocomplete with xsd?

后端 未结 6 2449
一向
一向 2021-02-20 18:17

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.

6条回答
  •  甜味超标
    2021-02-20 19:08

    I just copied the ivy jar to INTELLIJ_HOME/lib/ant and now intellij can resolve the ivy tasks.

    Or import this ant file to your ant project, its actually the first ivy example in ivy documentation, make sure to always depend on install-ivy target, add your ant file to idea in the ant build window and you dont even have to install ivy and idea recognizes ivy tasks.

    
    
    
    
    
    
    
        
    
    
    
    
        
        
        
    
        
        
    
    
    
    
        
        
        
            
        
        
        
    

提交回复
热议问题