...
Panel | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Step 2: The sais-moves-web Maven Project Reconfiguration
When you are satisfied that everything is correct, save the changes that you made. The sais-moves-web Maven Project Reconfiguration is now complete |
Panel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Anchor | | The Moves Development Environment Setup | The Moves Development Environment Setup |
Warning |
---|
The following 2 properties files are the be used solely and exclusively in the software development environment on an Educational Systems VM. They are NOT to be deployed to the development, test or production servers. |
sais-moves-web.properties file |
| ^sais-moves-web.properties]. Select *Save as* to your $\{user.home} directory. |
## Click here to [Download the sais-moves-web-build.properties file |
| ^sais-moves-web-build.properties]. Select *Save as* to your $\{user.home} directory. |
Open the
\\ ## Open the sais-moves-web-build.properties file for editing and change the following properties: |
\\ ##* *mit.maven.release.plugin.version=2.0.21 |
* Change the version number (2.0.21) to the mit-release-plugin version number that you selected in section 1. |
##* *maven.system.property.cargo.hostname=esvm-1xx.mit.edu |
* Change the hostname (esvm-1xx.mit.edu) to your vm's hostname. |
Configure your moves build directories
Create the following directories:
\\ \\ # Configure your moves build directories \\ ## Create the following directories: \\ ##* *C:\tmp\movesbuild\build\sais-common-conf\.m2\repository |
* ##* *C:\tmp\movesbuild\build\sais-common-conf\servers\oc4j |
* {note} Please note that the .m2 directory {color:red}cannot{color} be created using Windows Explorer. To create the .m2 directory, you must open a cmd window, cd to the sais-common-conf directory and use mkdir to create the .m2 directory. |
{note} ## Open a *cmd window* and *cd* to the *C:\tmp\movesbuild\build\sais-common-conf\.m2* directory. |
Execute the following command: {code} linkd repository c:\Users\esuser\.m2\repository {code} |
The above command will link your local maven repository to the directory C:\tmp\movesbuild\build\sais-common-conf\.m2\repository. |
{warning |
} Do not delete or rename the repository directory. |
You can unlink the repostory directory with the following command:
Deleting or Renaming the repository directory will delete your local maven repository. Unlink the repository directory before you delete or rename. {warning} {tip} You can unlink the repostory directory with the following command: {code} linkd repository /D |
{code} You must be in the *.m2 directory* when you execute the above command. |
{tip} ## Download and install the *settings.xml* ([right click on this link | Install Maven^settings.xml] then select *Save target/link as... |
*. Navigate to the *.m2* directory you've just created and click *Save |
Open the
*) \\ \\ Open the *settings.xml* for editing and change the following: |
Change the property value for
\\ \\ ##* Change the property value for *<oc4j.j2eeHome>* to: |
{code |
} /oracle-oc4j-10.1.3.5.0-server/j2ee/home |
{code} ##* Change the property value for *<oc4j.password>* to: |
{code |
} oc4jadmin |
{code} ## In a cmd window, *cd* to the *C:\tmp\movesbuild\build\sais-common-conf\servers* directory. |
Execute the following command: {code} linkd oc4j c:\oracle-oc4j-10.1.3.5.0-server |
{code} The above command will link your local oracle server to the directory C:\tmp\movesbuild\build\sais-common-conf\servers\oc4j. |
{warning |
} Do not delete or rename the oc4j directory. |
You can unlink the oc4j directory with the following command:
Deleting or Renaming the oc4j directory will delete your local oracle server. Unlink the oc4j directory before you delete or rename. {warning} {tip} You can unlink the oc4j directory with the following command: {code} linkd oc4j /D {code} |
You must be in the *servers directory* when you execute the above command. |
Create the following directories:
{tip} # Configure your moves ui directories \\ ## Create the following directories: \\ ##* *C:\tmp\movesbuild\ui\sais-common-conf\.m2\repository |
* ##* *C:\tmp\movesbuild\ui\sais-common-conf\servers\oc4j |
* {note} Please note that the .m2 directory {color:red}cannot{color} be created using Windows Explorer. To create the .m2 directory, you must open a cmd window, cd to the sais-common-conf directory and use mkdir to create the .m2 directory. |
{note} ## Open a *cmd window* and *cd* to the *C:\tmp\movesbuild\ui\sais-common-conf\.m2* directory. |
Execute the following command: {code} linkd repository c:\Users\esuser\.m2\repository |
{code} The above command will link your local maven repository to the directory C:\tmp\movesbuild\ui\sais-common-conf\.m2\repository. |
{warning |
} Do not delete or rename the repository directory. |
You can unlink the repostory directory with the following command:
Deleting or Renaming the repository directory will delete your local maven repository. Unlink the repository directory before you delete or rename. {warning} {tip} You can unlink the repostory directory with the following command: {code} linkd repository /D |
{code} You must be in the *.m2 directory* when you execute the above command. |
{tip} ## Download and install the *settings.xml* ([right click on this link | Install Maven^settings.xml] then select *Save target/link as... |
*. Navigate to the *.m2* directory you've just created and click *Save |
Open the
*) \\ \\ Open the *settings.xml* for editing and change the following: |
Change the property value for
\\ \\ ##* Change the property value for *<oc4j.j2eeHome>* to: |
{code |
} /oracle-oc4j-10.1.3.5.0-server/j2ee/home |
{code} ##* Change the property value for *<oc4j.password>* to: |
{code |
} oc4jadmin |
{code} ## In a cmd window, *cd* to the *C:\tmp\movesbuild\ui\sais-common-conf\servers* directory. |
Execute the following command: {code} linkd oc4j c:\oracle-oc4j-10.1.3.5.0-server |
{code} The above command will link your local oracle server to the directory C:\tmp\movesbuild\ui\sais-common-conf\servers\oc4j. |
{warning |
} Do not delete or rename the oc4j directory. |
You can unlink the oc4j directory with the following command:
Deleting or Renaming the oc4j directory will delete your local oracle server. Unlink the oc4j directory before you delete or rename. {warning} {tip} You can unlink the oc4j directory with the following command: {code} linkd oc4j /D {code} |
You must be in the *servers directory* when you execute the above command. |
{tip}
h4. {color:green}The Moves Development Environment Setup is now complete{color}
|
Panel | ||||||
---|---|---|---|---|---|---|
Step 4: Debugging the mit-release-plugin
|