Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Corona Development Environment"
(→Development Environment) |
|||
Line 95: | Line 95: | ||
*: Library required for project can be downloaded from [http://people.apache.org/repository/org.apache.axis2/jars apache], [http://people.apache.org/repository/wss4j/jars wss4j] and [http://xml.apache.org/security/dist/java-library xmlsec]. | *: Library required for project can be downloaded from [http://people.apache.org/repository/org.apache.axis2/jars apache], [http://people.apache.org/repository/wss4j/jars wss4j] and [http://xml.apache.org/security/dist/java-library xmlsec]. | ||
+ | === ECF Server Configuration === | ||
+ | For proper debugging you'll have to modify ''org.eclipse.ecf.server_0.9.1'' plug-in. In directory org.eclipse.ecf.server_0.9.1/conf you can find server.xml file. Please change it's content as follows: | ||
+ | <server> | ||
+ | <connector protocol="ecftcp" hostname="localhost" port="3282" timeout="30000"> | ||
+ | <group name="server"/> | ||
+ | <group name="corona"/> | ||
+ | </connector> | ||
+ | </server> | ||
=== Projects Javadoc Configuration === | === Projects Javadoc Configuration === |
Revision as of 06:51, 31 October 2006
Eclipse Home | Wiki Home | Development |
Contents
Development Environment
- Corona is based upon Eclipse v3.2 (or later).
- All bundles and plugins should be compiled for JDK 1.5
IDE Setup
The Eclipse Workbench IDE should include the following:
- Eclipse SDK v3.2
- Web Tools Platform v1.5
- ECF v0.9.1
- EMC v2.2
- org.eclipse.equinox.event
- org.eclipse.equinox.http
- org.eclipse.equinox.log
CVS Structure
The name of Corona's CVS's repository is org.eclipse.corona. This location contains all of Corona's artifacts. The structure for Corona's CVS repository is:
org.eclipse.corona +---build +---doc +---examples +---features +---maps +---plugins | +---org.eclipse.corona | +---org.eclipse.corona.collaboration | +---org.eclipse.corona.collaboration.project | +---... +---tests
IDE Projects
The root of Corona's CVS repository is not an Eclipse Workbench IDE project. IDE project's can be checked-out from CVS. Each folder under the CVS plugins folder corresponds to an IDE project.
Eclipse config.ini file
For proper corona startup you'll have to modify your eclipse config.ini file. The file is located in following directory <eclipse>/configuration/config.ini. You need to modify the osgi.bundles section, which indicates which bundle and when should be started.
Currently we're using following configuration:
osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.osgi.services@2:start, \ org.eclipse.equinox.log@3:start, org.eclipse.corona.logger.log4j@4:start, \ org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start, \ org.eclipse.equinox.event@start, org.eclipse.equinox.http@start
Stub Projects
Corona contains several "Stub" projects.
Those projects contain libraries which are still waiting for eclipse IP approval, hence cannot be found in our CVS repository.
Below you can find a list of stub projects and where you can find required libraries:
- muse-osgi-soa-core
- Project requires following libraries:
- muse-osgi-soa-core-2.0.0.jar
- Required library can be downloaded from apache muse project.
- Project requires following libraries:
- org.apache.axis2
- Project requires following libraries:
- activation-1.1.jar
- annogen-0.1.0.jar
- axiom-api-SNAPSHOT.jar
- axiom-impl-SNAPSHOT.jar
- axis2-adb-SNAPSHOT.jar
- axis2-java2wsdl-SNAPSHOT.jar
- axis2-kernel-SNAPSHOT.jar
- axis2-saaj-SNAPSHOT.jar
- commons-codec-1.3.jar
- commons-httpclient-3.0.1.jar
- mail-1.4.jar
- neethi-SNAPSHOT.jar
- stax-api-1.0.1.jar
- stax-utils-20060915.jar
- wstx-asl-2.9.3.jar
- XmlSchema-SNAPSHOT.jar
- Above libraries can be downloaded from the apache site.
- Project requires following libraries:
- org.apache.axis2.codegen
- Project requires following libraries:
- axis2-codegen-SNAPSHOT.jar
- Library can be downloaded from apache site.
- Project requires following libraries:
- org.apache.axis2.security.tokenserver
- Project requires following libraries:
- axis2-rahas-SNAPSHOT.jar
- Library can be downloaded from apache site
- Project requires following libraries:
- org.apache.log4j_1.2.13
- Project requires following libraries:
- log4j-1.2.13.jar
- Library required for project can be downloaded from log4j site.
- Project requires following libraries:
- org.apache.ws.security
ECF Server Configuration
For proper debugging you'll have to modify org.eclipse.ecf.server_0.9.1 plug-in. In directory org.eclipse.ecf.server_0.9.1/conf you can find server.xml file. Please change it's content as follows:
<server> <connector protocol="ecftcp" hostname="localhost" port="3282" timeout="30000"> <group name="server"/> <group name="corona"/> </connector> </server>
Projects Javadoc Configuration
Default javadoc configuration ( Window -> Preferences... -> Java -> Compiler -> Javadoc ) for all Corona projects should look as follows: