...
Info |
---|
The SCA build consumes a good amount of memory, in case you are seeing issues during the build, set a MAVEN_OPTS environment variable to allocate more memory for the build process. Windows : SET MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=384m" |
Info |
---|
If you are using MAC OS, please see 'Special instructions for MAC OS users' section below |
Anchor | ||||
---|---|---|---|---|
|
...
- Project won't build - Sometimes a particular project will not build despite repeated efforts. Consider if this project is necessary to the task at hand. You may be able to delete the problematic Eclipse project and continue with other work.
Anchor | ||||
---|---|---|---|---|
|
Some plugins used in the Tuscany build requires a explicit dependency on some classes from JDK tools.jar, which is in a different place in the MAC OS environment.
We have created duplicate profiles in Tuscany to accommodate the most used user tasks
- Running a build : there is a default profile for the mac environment properly configuring the tools.jar property
Code Block mvn clean install
- Creating Eclipse IDE project files : there is a "eclipse-mac" profile
Code Block mvn -Peclipse-mac
Update your maven settings.xml (%user_home%/.m2/settings.xml)
Updating your settings.xml with proper property configuration will make all profiles work in a MAC OS environment.
Code Block |
---|
<settings>
<profiles>
<profile>
<id>mac-os-configuration</id>
<properties>
<tools.jar>${java.home}/../Classes/classes.jar</tools.jar>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>mac-os-configuration</activeProfile>
</activeProfiles>
</settings>
|
Anchor | ||||
---|---|---|---|---|
|
...