用友iuap开发-环境搭建
1.目标:搭建iuap开发环境
2.iuap工具下载官网 iuap官网http://iuap.yonyou.com/page/download/dev_tools/index.html
3.解压后将DevTool文件夹放在根目录,系统默认在D盘,因为initDevTool.bat和 startDevTool_x64.bat都默认要求从D盘启动,那么如果我们需要修改不从E盘启动呢。需要编辑以上两个bat文件。将
start /d %IEOP_HOME%\repository\IDE\IUAP_STUDIO iUAPStudio.exe -data ..\..\..\workspace
改为
start /e %IEOP_HOME%\repository\IDE\IUAP_STUDIO iUAPStudio.exe -data ..\..\..\workspace
这样系统就默认从E盘打开。
4.注意,一定需要JDK相关配置。
5.修改Maven配置文件在E:\DevTool\repository\Maven\Maven3.2.2\conf下的settings.xml,将路径修改如下:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>E:\DevTool\repository\Maven\Maven3.2.2\local\repo</localRepository>
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
<servers>
</servers>
<mirrors>
</mirrors>
<profiles>
<profile>
<id>hka</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>1.6</jdk>
</activation>
<repositories>
<repository>
<id>HKAServer</id>
<name>HKA Server</name>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<url>http://repo1.maven.org/maven2/</url>
<layout>default</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>HKAPlugin</id>
<name>HKA Plugin</name>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<url>http://repo1.maven.org/maven2/</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>hka</activeProfile>
</activeProfiles>
</settings>
由原来的D盘改为E盘了。
修改玩后如图所示: