Official Share update disk download
http://www.apache.org/dist/ant/ivyde/updatesite/
http://ant.apache.org/ivy/download.cgi
Briefly:
Configure the Ivy Plus Lib management tool in eclipse to import the Lib packages required by the project
This tool can specify that Lib needs to be defined in XML, and Ivy will automatically help you add an external package.
Very convenient!
Eclipse Direct Update
Steps:
1. Download resources (possible problems, more than Google, more than Baidu is missing the feature corresponding plugin)
Eclipse at Install new software
Input: Http://www.apache.org/dist/ant/ivyde/updatesite
Download (Download All, there is a problem ignoring it.) If it doesn't work, download it manually and populate the corresponding files in plugins and features to eclipse.
The point here is that Ivy is not present in window = preference.
2. Right click on an item and create a new ivy
3. Next down, here's my chosen project called Javatest.
4. File configuration
This step is key:
Requires two files
Ivy.xml (created above)
What I want to do is to modify the Ivy profile so that he can help me import a Gson 1.7.1 external package
The Ivy.xml code is as follows
<?XML version= "1.0" encoding= "Iso-8859-1"?><!--Licensed to the Apache software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); You are not a use of this file except in compliance with the License. Obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 unless required by applicable or agreed to writing, software distributed under the License are distributed on a "as is" BASIS, without Warrantie S or CONDITIONS of any KIND, either express OR implied. See the License for the specific language governing permissions and limitations under the License. -<Ivy-moduleversion= "2.2"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:nonamespaceschemalocation= "Http://ant.apache.org/ivy/schemas/ivy.xsd"> <InfoOrganisation=""Module= "Javatest"Status= "Integration"> </Info> <Dependencies> <Dependencyorg= "Com.google.code.gson"name= "Gson"Rev= "1.7.1" /> </Dependencies> </Ivy-module>
Where dependency is the path to Ivy's dependency that I found after Google.
5. Right-click Ivy.xml
ADD Ivy Library
After clicking Finish
6. So, there is a ivy.xml[*] inside the ivy.xml just joined the dependency
Turn
Ivy,ivyde plug-in-eclipse