Changes between Version 46 and Version 47 of PLATFORM_INFRASTRUCTURE_OVERVIEW
- Timestamp:
- 11/14/08 12:44:35 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PLATFORM_INFRASTRUCTURE_OVERVIEW
v46 v47 24 24 25 25 === Eclipse Plug-ins === 26 Before proceeding with the installation, see the [wiki:PLATFORM_INFRASTRUCTURE_OVERVIEW#Comments Comments] section for updates about some problems that you may encounter. 27 26 28 ==== Subclipse ==== 27 * Subclipse is plug-in for SVN integration with the Eclipse IDE. It allows users to deploy Subversion in their projects. You can use source control directly from the Package Browser from the Eclipse IDE. 28 29 * Subclipse is plug-in for SVN integration with the Eclipse IDE. It allows users to deploy Subversion in their projects. You can use source control directly from the Package Browser from the Eclipse IDE. 29 30 * Installing Subclipse 30 * Go to http://subclipse.tigris.org/install.html. Follow the installation instructions up to step 11. Pay special attention on step 6 - be sure to check out only the Sublicpse Update site and the Subclipse box below it (no other components are needed). 31 32 * Deploying a project in a repository 33 See [wiki:PLATFORM_DEPLOYMENT_BUILD_ECLIPSE] 34 35 * Checkout the project repository 36 * From your OS: 37 1. In a new empty folder choose "Create repository here" option 38 1. Choose "SVN Checkout...". Enter the URL of the repository of the Sophie2 project. The URL is SVN://asteasolutions.net:7369/sophie2. 39 1. Choose your checkout directory(sophie2-repo). It is set by default to be the empty folder in which you choose "SVN Checkout...". 40 1. Write your username and password for the repo(take them from Milo). Now you have local project repository. 41 * Method B: For Mac/Linux: 42 1. Open Terminal 43 1. use the command svn checkout SVN://asteasolutions.net:7369/sophie2 sophie2 44 45 * Basic Functionality of Sublipse 46 * After you eventually import the project into Eclipse (see [wiki:PLATFORM_DEPLOYMENT_BUILD_ECLIPSE]), you can use Subclipse from the package explorer of your IDE. The files and directories that are under source control are noted with a symbol in the bottom right corner of the icon. Star(asterix) is used if the file is not synchronized with the repository and a yellow cylinder is used if the files match the repository structure. In the bottom left corner of the icon appears a red "x" if there are compilation errors in the code and a yellow "!" if there are warnings. 47 * We must not commit source that has errors, so that all users can always build and run the current version of the project. 48 * We must not commit other files except source code. 31 * Go to http://subclipse.tigris.org/install.html. Follow the installation instructions up to step 11. Pay special attention on step 6 - be sure to check out only the Sublicpse Update site and the Subclipse box below it (no other components are needed). 32 * You may need to install JavaHL (from Eclipse Help->Software Updates). 33 34 ===== Basic Functionality of Sublipse ===== 35 * After you eventually import the project into Eclipse (instructions are provided in the following paragraphs), you can use Subclipse from the package explorer of your IDE. The files and directories that are under source control are noted with a symbol in the bottom right corner of the icon. Star(asterix) is used if the file is not synchronized with the repository and a yellow cylinder is used if the files match the repository structure. In the bottom left corner of the icon appears a red "x" if there are compilation errors in the code and a yellow "!" if there are warnings. 36 * We must not commit source that has errors, so that all users can always build and run the current version of the project. 37 * We must not commit other files except source code. 49 38 50 39 * "Team" menu … … 60 49 Now you have integrated !TortoiseMerge in Sublcipse. Whenever you get a conflict while trying to commit, choose /Team/Update. If the conflict can be automatically merged, it is done. Otherwise files with differences are created. Choose /Team/Edit Conflicts. !TortoiseMerge opens and you can merge the files. On the left is the repository version, on the right your version, bellow are the results from the merge(you can edit this version). When you synchronize the files (no conflicts are left) save and from the Eclipse IDE choose /Team/Mark Resolved. You can commit now without conflicts for errors. Do visit http://tortoisesvn.tigris.org/TortoiseMerge.html for an intuitive five minutes tutorial on !TortoiseMerge. 61 50 51 62 52 ==== M2 Eclipse ==== 63 info: http://m2eclipse.codehaus.org/Maven_2.0_Plugin_for_Eclipse.html 64 See [wiki:PLATFORM_INFRASTRUCTURE_OVERVIEW#MavenIntegration Maven Integration] for installation guide and the [wiki:PLATFORM_INFRASTRUCTURE_OVERVIEW#Comments Comments] section. 53 For installation instructions, see the [wiki:PLATFORM_INFRASTRUCTURE_OVERVIEW#MavenIntegration Maven Integration] section below on this page. 65 54 66 55 ==== !PyDev ==== 67 56 !PyDev is Eclipse plug-in for Python development.[[BR]] 68 69 57 info: http://pydev.sourceforge.net/index.html. [[BR]] 70 71 58 download: http://pydev.sourceforge.net/download.html 72 59 73 74 === Maven Integration === 75 * Installation for Windows and Linux OSes: http://maven.apache.org/download.html - below the download packages 76 * Note: Be careful with the PATH variable under Windows, you have to write the whole path to the bin directory not using M2_HOME variable to set the new path 60 ==== Maven Integration ==== 77 61 * Integration with Eclipse 78 * (for Eclipse 3.4 Classic version) update your Eclipse platform so there is Equinox Provisioning Platform in Installed Software (Help->Software Updates)62 * (for Eclipse 3.4 Classic version) Update your Eclipse platform so there is Equinox Provisioning Platform in Installed Software (Help->Software Updates) 79 63 * download the M2 Eclipse Plug-in: http://m2eclipse.sonatype.org/update/ 80 64 * minimal package requirements for running the project - Maven Integration for Eclipse, Maven Embedder, Maven POM XML Editor 81 65 * Note: make sure that Eclipse runs with JDK not JRE (see Window-Preferences-Java-Installed JREs, edit eclipse.ini with -vm <path to javaw executable file> or set correct PATH and JAVA_HOME variables) 82 * See [source:trunk/sophie2-platform/old/lib/readme.txt] . In the bottom of the file are three mvc commands you have to execute to set the needed libraries which are not found in the Maven repository. 83 * once you have integrate Maven with your Eclipse, in the Package Explorer appears a new "Maven" menu. From there you can: 66 * See [source:trunk/sophie2-platform/old/lib/readme.txt] . In the bottom of the file are three mvn commands you have to execute to set the needed libraries which are not found in the Maven repository. 67 * Install JavaHL from Help->Software Updates in Eclipse 68 * once you have integrated Maven with your Eclipse, in the Package Explorer appears a new "Maven" menu. From there you can: 84 69 * Update Dependencies: you can force a refresh of the Maven Dependencies container and force downloading of artifact snapshots (regardless of the Maven repository refresh policy) by using the "Update Dependencies" 85 70 * Update Project Configuration: can be used to refresh or recreate the Eclipse project configuration based on the content of the Maven pom.xml, for example, when changes in pom.xml affect the project structure (folders settings, plugins that dynamically add folders or have other configuration). 86 * right-click on the project in Eclipse, and click Maven/Update Dependencies to finish integration 71 72 ==== Deploying a project in a repository ==== 73 * Checkout the project repository 74 * In Windows: 75 1. Right-click in a new empty folder and choose "Create repository here" option from the TortoiseSVN submenu. 76 1. Choose "SVN Checkout...". Enter the URL of the repository of the Sophie2 project. The URL is SVN://asteasolutions.net:7369/sophie2. 77 1. Choose your checkout directory(sophie2-repo). It is set by default to be the empty folder in which you choose "SVN Checkout...". 78 1. Write your username and password for the repo. Now you have local project repository. 79 * In Mac/Linux: 80 1. Open Terminal 81 1. use the command svn checkout SVN://asteasolutions.net:7369/sophie2 sophie2 82 83 Build the project in Eclipse by following the instructions on the [wiki:PLATFORM_DEPLOYMENT_BUILD_ECLIPSE Eclipse Integration] page. 87 84 88 == Optional accounts and tools == 85 86 === Comments === 87 * When installing M2 Eclipse Plug-in remove the "Maven Integration for AJDT", otherwise there are missing dependencies and the instalation can not continue. (pac) 88 * To work with Subclipse under Linux platforms you should install SVNKit package. Here is the plugin Eclipse edition: http://eclipse.svnkit.com/1.2.x/. (pav) 89 90 91 == Additional information == 92 93 === Optional accounts and tools === 89 94 Accounts: 90 95 * ICQ account … … 102 107 * This is is a software tool for automating software build processes. It is similar to make, but is implemented using the Java language, requires the Java platform, and is best suited to building Java projects. You can use it to create Sophie 2.0 build instead of doing this with Maven. See [wiki:PLATFORM_DEPLOYMENT_BUILD_ANT] for more information about the usage. 103 108 * download: http://ant.apache.org/bindownload.cgi 104 105 === Comments ===106 * When installing M2 Eclipse Plug-in remove the "Maven Integration for AJDT", otherwise there are missing dependencies and the instalation can not continue. (pac)107 * To work with Subclipse under Linux platforms you should install SVNKit package. Here is the plugin Eclipse edition: http://eclipse.svnkit.com/1.2.x/ . (pav)108 109 110 111 == Extras ==112 113 === Properties ===114 * For understanding what properties are and looking at some examples of how to use them, read this manual: [wiki:PRO_LIB_CORE_TUTORIAL].115 * the examples are located in "Code Examples with different Properties Kinds" section.116 * In order to see different properties templates for eclipse, look at [wiki:PRO_LIB_CORE_CODE_TEMPLATES].117 109 118 110 === NetBeans Step by step ===