Bat batch file launches the configuration of the eclipse and ivy local warehouses

Source: Internet
Author: User

One, bat batch file start eclipse

Required Documents:

1. Eclipse

2. JRE

3, Startup-eclipse.bat

Make sure that the above three folders are of the same sibling

Startup-eclipse.bat:

Set dir=%cd%

CD%dir%\eclipse

ECLIPSE.EXE-VM%dir%\jre\bin-vmargs-xms512m-xmx1024m-xx:permsize=128m-xx:maxpermsize=256m

--------------------------------------------------------------------------------------------------------------- -

Second, the Ivy local warehouse configuration

Ivysettings.xml

<?XML version= "1.0" encoding= "UTF-8"?><ivysettings>    <SettingsDefaultresolver= "Default"/>    < Propertyname= "Ivy.local.default.root"value= "${ivy.default.ivy.user.dir}/local"Override= "false"/>    < Propertyname= "Ivy.local.default.ivy.pattern"value= "[Organisation]/[module]/[revision]/[type]s/[artifact]. [ext] "Override= "false"/>    < Propertyname= "Ivy.local.default.artifact.pattern"value= "[Organisation]/[module]/[revision]/[type]s/[artifact]. [ext] "Override= "false"/>            <resolvers>        <!--Local library -        <filesystemname= "local">            <Ivypattern= "${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />            <Artifactpattern= "${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />        </filesystem>                    <!--Configure the jar fetch rule: find it locally, find it in a warehouse from public, etc. -        <chainname= "Default"Returnfirst= "true"checkmodified= "true">            <Resolverref= "local"/>        </chain>    </resolvers></ivysettings>
View Code

Configure the folder where the local jar package resides

Note:

<chain name= "Default" returnfirst= "true" checkmodified= "true" >
<resolver ref= "local"/>
</chain>

The first time you load may be an error, can't find the file?

WORKAROUND: 1, set checkmodified= "true" to false 2, delete the Checkmodified property.

Checkmodified= "True" is a non-read configuration from the cache, which can be reloaded after the configuration update is dependent.

Bat batch file launches the configuration of the eclipse and ivy local warehouses

Related Article

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.