Skip to main content

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.

Jump to: navigation, search

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}}
 
# Checkout org.eclipse.higgins.auto project at org.eclipse.higgins/builds/ from dev.eclipse.org:/cvsroot/technology
 
# Checkout org.eclipse.higgins.auto project at org.eclipse.higgins/builds/ from dev.eclipse.org:/cvsroot/technology
 
# Add your new project to org.eclipse.higgins.auto/runtime/projects.xml
 
# Add your new project to org.eclipse.higgins.auto/runtime/projects.xml
Line 19: Line 20:
  
 
== Links ==
 
== Links ==
* [http://eclipse.org/higgins Higgins Home]
 
 
* [[Automated Builds]]
 
* [[Automated Builds]]
 +
 +
[[Category:Higgins Developer Info]]

Revision as of 08:15, 16 March 2008

{{#eclipseproject:technology.higgins}}

  1. Checkout org.eclipse.higgins.auto project at org.eclipse.higgins/builds/ from dev.eclipse.org:/cvsroot/technology
  2. Add your new project to org.eclipse.higgins.auto/runtime/projects.xml
  3. 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
  4. Generate build.xml, buildaux.xml, dependencies.xml of the project and its dependent projects using higgins2ant plugin
  5. If you don't have cvs binary on your machine, download it from internet (windows version can be downloaded from here) and add it to your PATH. You need to restart eclipse after adding cvs binary to PATH.
  6. Right click on org.eclipse.higgins.auto/runtime/autoBuild.xml -> Run As ... -> Ant Build ... -> Classpath
  7. Click on "User Entries" and then click "Add JARs ..."
  8. Add bsf.jar, commons-logging-1.1.jar, js.jar, xercesImpl.jar from org.eclipse.higgins.auto/lib and auto-classes.jar from org.eclipse.higgins.auto/build/lib
  9. 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)
  10. 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, create a new xml file with the project that you wish to autobuild and change the following lines in org.eclipse.higgins.auto/runtime/autoBuild.xml with your new file name
 <property name="projectsFileName" value="projects.xml" />
  • Default working directory for autobuild is org.eclipse.higgins.auto/wDir

Links

Back to the top