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 "How To Test Autobuild On Local Machine"
m (Added tag for left menu, plus category) |
|||
Line 1: | Line 1: | ||
{{#eclipseproject:technology.higgins}} | {{#eclipseproject:technology.higgins}} | ||
− | # Checkout org.eclipse.higgins.auto project at org.eclipse.higgins/builds/ from dev.eclipse.org | + | # Checkout org.eclipse.higgins.auto project at org.eclipse.higgins/trunk/builds/ from https://dev.eclipse.org/svnroot/technology SVN repository |
# Add your new project to org.eclipse.higgins.auto/runtime/projects.xml | # Add your new project to org.eclipse.higgins.auto/runtime/projects.xml | ||
− | # Update org.eclipse.higgins.auto/runtime/resourceLocation.xml for cvs repository locations of the project and its dependent projects. Also add the remote locations of missing 3rd party libs required for the projects in <remoteLibs> section | + | # Update org.eclipse.higgins.auto/runtime/resourceLocation.xml for cvs/svn repository locations of the project and its dependent projects. Also add the remote locations of missing 3rd party libs required for the projects in <remoteLibs> section |
− | # Generate build.xml | + | # Generate build.xml and dependencies.xml of the project and its dependent projects using [[Higgins2Ant]] plug-in |
− | + | ||
# Right click on org.eclipse.higgins.auto/runtime/autoBuild.xml -> Run As ... -> Ant Build ... -> Classpath | # Right click on org.eclipse.higgins.auto/runtime/autoBuild.xml -> Run As ... -> Ant Build ... -> Classpath | ||
# Click on "User Entries" and then click "Add JARs ..." | # Click on "User Entries" and then click "Add JARs ..." | ||
− | # Add bsf.jar, commons-logging-1. | + | # Add bsf.jar, commons-logging-1.0.4.jar, javasvn.jar, js.jar, svnant.jar, svnClientAdapter.jar, svnjavahl.jar, xercesImpl.jar xml-apis.jar, html-tools.jar from org.eclipse.higgins.auto/lib and auto-classes.jar from org.eclipse.higgins.auto/build/lib |
− | # Click Properties tab, un-select "Use global properties as specified in the Ant runtime preferences", click "Add Property ...". Set Name = | + | # Click Properties tab, un-select "Use global properties as specified in the Ant runtime preferences", click "Add Property ...". Set Name = ECLIPSE_HOME and Value = <path to your eclipse installation folder> (e.g. C:\eclipse) |
# Click Run button | # Click Run button | ||
Note: | Note: | ||
* Make sure you are using JDK 1.4 because build machine is using JDK 1.4 | * Make sure you are using JDK 1.4 because build machine is using JDK 1.4 | ||
− | * If you don't want to run all projects in the org.eclipse.higgins.auto/runtime/projects.xml, | + | * If you don't want to run all projects in the org.eclipse.higgins.auto/runtime/projects.xml, specify -DprojectId=<your project id> VM argument on JRE tab. |
− | + | * Default working directory for autobuild is org.eclipse.higgins.auto/wDir. | |
− | + | ||
− | + | ||
− | * Default working directory for autobuild is org.eclipse.higgins.auto/wDir | + | |
== Links == | == Links == |
Revision as of 15:39, 30 March 2008
{{#eclipseproject:technology.higgins}}
- Checkout org.eclipse.higgins.auto project at org.eclipse.higgins/trunk/builds/ from https://dev.eclipse.org/svnroot/technology SVN repository
- Add your new project to org.eclipse.higgins.auto/runtime/projects.xml
- Update org.eclipse.higgins.auto/runtime/resourceLocation.xml for cvs/svn repository locations of the project and its dependent projects. Also add the remote locations of missing 3rd party libs required for the projects in <remoteLibs> section
- Generate build.xml and dependencies.xml of the project and its dependent projects using Higgins2Ant plug-in
- Right click on org.eclipse.higgins.auto/runtime/autoBuild.xml -> Run As ... -> Ant Build ... -> Classpath
- Click on "User Entries" and then click "Add JARs ..."
- Add bsf.jar, commons-logging-1.0.4.jar, javasvn.jar, js.jar, svnant.jar, svnClientAdapter.jar, svnjavahl.jar, xercesImpl.jar xml-apis.jar, html-tools.jar from org.eclipse.higgins.auto/lib and auto-classes.jar from org.eclipse.higgins.auto/build/lib
- Click Properties tab, un-select "Use global properties as specified in the Ant runtime preferences", click "Add Property ...". Set Name = ECLIPSE_HOME and Value = <path to your eclipse installation folder> (e.g. C:\eclipse)
- Click Run button
Note:
- Make sure you are using JDK 1.4 because build machine is using JDK 1.4
- If you don't want to run all projects in the org.eclipse.higgins.auto/runtime/projects.xml, specify -DprojectId=<your project id> VM argument on JRE tab.
- Default working directory for autobuild is org.eclipse.higgins.auto/wDir.