If errors inhibit the later steps, then delete the project from java perspective, and re-import it from the EGit Perspective as shown above. After importing, open the pom.xml, and use the second quick-fix choice for each error. If there are errors and you can resolve them later, choose to resolve them later. To connect the project to git, right-click the project in the Package Explorer and select Team->Share Project->Git->"Use or create repository in parent folder of project". If project is not a maven project, right click project in Java perspective->Maven->Convert to Maven Project Select projects to import and then click finish.ħ. Select Git Repository you want to include in Java workspace. File -> Import ->In dialog window click: Git -> Projects from Git. Import a maven project from the local ~/git/alfresco-view-repoĢ. Ensure that "Import all existing projects after clone finishes" item is checked & click finish Click Next, Select the branches you want to clone, and click next againĨ. Make sure to enter fields for "User" and "Password" with your username and passwordħ. Paste into "URI" textbox in Clone Git Repository window in EclipseĦ. Copy the Https link from Stash for Alfresco-View-Repo Refractor or Master branch (Use Refractor to set up a working Alfresco you can switch to other branches later)Ĥ. Click clone a git repository icon in "Git Repositories" menuģ.
Make sure you have a local checkout of alfresco from git.
& install the first item (Maven Integration for Eclipse WTP (Juno)) If Maven is not installed in Eclipse, go to Help -> Eclipse Marketplace -> type in "m2eclipse" in search box
If this version causes problems, install maven 3.0 using command: 'brew install maven30'įor a fresh Eclipse Indigo for JavaEE installation, install new software: egit and maven (no need to add update site) Install maven using the command: 'brew install maven'. Install homebrew by copy/pasting the last command in this link into the terminal: Ģ. To install maven (not included in OS X 10.9 (Mavericks)):ġ. Install maven if you don't have it (mac & linux may have it pre-installed) Make sure your JAVA_HOME is set to a java 1.7 installation. Location of webscripts: src/main/amp/config/alfresco/extension/templates/webscripts This is registered by spring config in module-context.xml (which imports another spring config xml) Location of content model: src/main/amp/config/alfresco/module/view-repo/viewModel.xml
This project contains the content model and webscripts for accessing and modifying the alfresco repository. There are separate mdk and bae setup instructions, which can be ignored for view-repo development and test. Set the root directory to "/opt/local/magicdraw"
Window->Preferences->MagicDraw Installation If using the mdk or bae MagicDraw plugins, set up magicdraw path Mvn integration-test -Pamp-to-war =true -P mms-dev # for those that do want load bae/util/sysml projects Mvn integration-test -Pamp-to-war =true -P mbee-dev # also need to remove the src dependencies on those packages in.
) # ':alfresco-sdk-aggregator:jar: 4.4.# for those that don't want to load bae/util/sysml projects