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