Ivy Chinese Reference Document (12)-Used separately

Source: Internet
Author: User
Tags auth deprecated

1) Use alone

Ivy can be very easy to use as a separate program. All you need is a java1.4+ operating environment (JRE)!

This is an example of how to invoke it:

Java-jar Ivy.jar-?

It will enable online help like this:

= = Settings Options
-settings <settingsfile> Use given file for settings
-cache <cachedir> Use given directory for cache
-novalidate do not validate Ivy files against XSD
-m2compatible Use Maven2 compatibility
= = Resolve Options
-ivy <ivyfile> use given file as Ivy file
-dependency <organisation> <module> <revision>
Use this instead of Ivy file to do the rest of the
Work with this as a dependency.
-confs <configurations> Resolve given configurations
= = Retrieve options
-retrieve <retrievepattern> Use given pattern as retrieve
-sync use sync mode for retrieve
= = Cache Path Options
-cachepath <cachepathfile> outputs a classpath consisting of all dependencies
In cache (including transitive ones) of the given
Ivy file to the given Cachepathfile
= = Deliver options
-deliverto <ivypattern> use given pattern as resolved Ivy file pattern
= = Publish Options
-publish <resolvername> Use given resolver to publish to
-publishpattern <artpattern> Use given pattern to find artifacts to publish
-revision <revision> Use given revision to publish the module
-status <status> use given status to publish the module
= = http Auth options
-realm <realm> use given realm for HTTP AUTH
-host -username <username> use given username for HTTP AUTH
-PASSWD <passwd> use given password for HTTP AUTH
= = Launcher Options
-main <main> The FQCN of the main class to launch
-args <args> The arguments to give to the launched process
-CP <cp> extra classpath to use when launching process
= = Message Options
-debug set message level to debug
-verbose set message level to verbose
-warn set message level to warn
-error Set message level to error
= = Help Options
-? Display this Help
-deprecated Show deprecated options

System attributes are included in the Ivy variable since version 1.3, so you can easily define ivy variables, like this:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.