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 "IdAS CVS"
(→Build Instructions) |
(→Build Instructions) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 46: | Line 46: | ||
== Build Instructions == | == Build Instructions == | ||
* Building within Eclipse: | * Building within Eclipse: | ||
− | ** The normal | + | ** The normal project build method will compile the source |
** How to produce a standalone jar: | ** How to produce a standalone jar: | ||
*** In Eclipse, do this: | *** In Eclipse, do this: | ||
− | **** Window, Show View, Ant. An | + | **** Window, Show View, Ant. An ant browser appears. |
**** Right-Click, Add Buildfiles..., browse to the buildfile (build.xml) you want to add and select it. | **** Right-Click, Add Buildfiles..., browse to the buildfile (build.xml) you want to add and select it. | ||
**** Expand the build file to expose the jar target. | **** Expand the build file to expose the jar target. | ||
− | **** Double- | + | **** Double-click the jar target to build the jar. |
+ | ** How to produce javadoc: | ||
+ | *** Follow the instructions above to add the ant buildfile to the ant browser | ||
+ | *** Double-click the javadoc target. | ||
+ | ** How to produce an Eclipse plugin: | ||
+ | *** Follow the instructions above to add the ant buildfile to the ant browser | ||
+ | *** Right-Click the plugin target, Run As, 2 Ant Build..., go to JRE tab. | ||
+ | *** Make sure that you either choose "Run in the same JRE as the workspace" option or provide "-DECLIPSE_HOME=<path to eclipse installation>" VM argument. | ||
+ | *** Click Run. | ||
* Command-line build | * Command-line build | ||
− | ** | + | ** How to produce an Eclipse plugin: |
− | *** From the project directory, run "ant -DECLIPSE_HOME=<path to eclipse installation>" | + | *** From the project directory, run "ant plugin -DECLIPSE_HOME=<path to eclipse installation>" |
*** Note that this requires an Eclipse installation | *** Note that this requires an Eclipse installation | ||
− | ** | + | ** How to produce a standalone jar file: |
− | *** From the project directory, run "ant jar" | + | *** From the project directory, run "ant jar"<sup>1</sup>. |
+ | ** How to produce javadoc: | ||
+ | *** From the project directory, run "ant javadoc"<sup>1</sup>. | ||
+ | |||
+ | * '''Builds notes:''' | ||
+ | ** <sup>1</sup> In order to process plugin specific files you will need to add "-DECLIPSE_HOME=<path to eclipse installation>" option to the command line. | ||
+ | |||
+ | == See Also == | ||
+ | * [http://www.eclipse.org/higgins Higgins Home] | ||
+ | * [[Components]] |
Latest revision as of 11:37, 19 March 2007
General CVS Information
Connection Type | Committers | :ext: |
Anon access | :pserver: | |
Host | dev.eclipse.org | |
Repository Path | /cvsroot/technology |
IdAS Projects
The IdAS consists of multiple projects, each is held in a different CVS module
Project | Module Location | Eclipse PSF | ViewCVS |
---|---|---|---|
IdAS | org.eclipse.higgins/plugins/org.eclipse.higgins.idas | anonymous | viewcvs |
committer | |||
IdAS Test | org.eclipse.higgins/plugins/org.eclipse.higgins.idas.test | anonymous | viewcvs |
committer |
Build Instructions
- Building within Eclipse:
- The normal project build method will compile the source
- How to produce a standalone jar:
- In Eclipse, do this:
- Window, Show View, Ant. An ant browser appears.
- Right-Click, Add Buildfiles..., browse to the buildfile (build.xml) you want to add and select it.
- Expand the build file to expose the jar target.
- Double-click the jar target to build the jar.
- In Eclipse, do this:
- How to produce javadoc:
- Follow the instructions above to add the ant buildfile to the ant browser
- Double-click the javadoc target.
- How to produce an Eclipse plugin:
- Follow the instructions above to add the ant buildfile to the ant browser
- Right-Click the plugin target, Run As, 2 Ant Build..., go to JRE tab.
- Make sure that you either choose "Run in the same JRE as the workspace" option or provide "-DECLIPSE_HOME=<path to eclipse installation>" VM argument.
- Click Run.
- Command-line build
- How to produce an Eclipse plugin:
- From the project directory, run "ant plugin -DECLIPSE_HOME=<path to eclipse installation>"
- Note that this requires an Eclipse installation
- How to produce a standalone jar file:
- From the project directory, run "ant jar"1.
- How to produce javadoc:
- From the project directory, run "ant javadoc"1.
- How to produce an Eclipse plugin:
- Builds notes:
- 1 In order to process plugin specific files you will need to add "-DECLIPSE_HOME=<path to eclipse installation>" option to the command line.