Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Triquetrum/Releng/Milestone Builds"

(Create a Triquetrum Milestone Build: Location of publish.xml changed.)
(How to update the version number)
Line 2: Line 2:
 
To create a Triquetrum Milestone Build, follow these steps:
 
To create a Triquetrum Milestone Build, follow these steps:
 
# See [https://www.eclipse.org/projects/dev_process/development_process.php#6_4_Releases Eclipse Development Process > Releases] and [[Version Numbering]] for how to select a version number.
 
# See [https://www.eclipse.org/projects/dev_process/development_process.php#6_4_Releases Eclipse Development Process > Releases] and [[Version Numbering]] for how to select a version number.
# Increment the version number in all the files by searching for <code>0.2.0-SNAPSHOT</code> and <code>0.2.0.qualifier</code> and replacing them with the new version. (''not safe as we get closer to version numbers that match other tools.'')
+
# Update the version number using <code>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.2.0</code>
 +
## See [https://stackoverflow.com/questions/11521839/how-to-automate-version-number-update-process-for-my-eclipse-plugin-built-with-m How to automate version number update process for my Eclipse plugin built with Maven]
 +
## See [https://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/set-version-mojo.html tycho-versions:set-version]
 
# The [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/publish.xml org.eclipse.triquetrum.repository/publish.xml] file contains a copyZips target that is invoked by the triquetrum.milestone build.
 
# The [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/publish.xml org.eclipse.triquetrum.repository/publish.xml] file contains a copyZips target that is invoked by the triquetrum.milestone build.
## Update the milestone directory: configure the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/configure Hudson triquetrum.milestone build] and in Build -> Invoke Ant, click on Advanced Properties and update <code>targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.2.0M5/</code>, then save the change [[File:TriquetrumHudsonMilestoneScreenshot.png|900px|Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section]]
+
## Update the milestone directory: configure the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/configure Hudson triquetrum.milestone build] and in Build -> Invoke Ant, click on Advanced Properties and update <code>targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.2.0RC1/</code>, then save the change [[File:TriquetrumHudsonMilestoneScreenshot.png|900px|Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section]]
 
# Enable and run the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/ Hudson triquetrum.milestone build].
 
# Enable and run the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/ Hudson triquetrum.milestone build].
# To see what files are created, see http://download.eclipse.org/triquetrum/0.2.0M5/?d
+
# To see what files are created, see http://download.eclipse.org/triquetrum/0.2.0RC1/?d
 
# When you are satisfied with the output, disable the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/ Hudson triquetrum.milestone build].
 
# When you are satisfied with the output, disable the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/ Hudson triquetrum.milestone build].
 
# Edit [[Triquetrum/Downloads | Triquetrum Downloads]].
 
# Edit [[Triquetrum/Downloads | Triquetrum Downloads]].
 +
# Update the version number of the master branch to the next version using <code>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.0</code>
  
 
== See Also ==
 
== See Also ==
 
* [[Milestone and Release Builds]]
 
* [[Milestone and Release Builds]]
 
* [[Triquetrum/Releng/New Eclipse Version | Triquetrum -> Releng -> New Eclipse Version]]
 
* [[Triquetrum/Releng/New Eclipse Version | Triquetrum -> Releng -> New Eclipse Version]]

Revision as of 12:30, 7 October 2017

Create a Triquetrum Milestone Build

To create a Triquetrum Milestone Build, follow these steps:

  1. See Eclipse Development Process > Releases and Version Numbering for how to select a version number.
  2. Update the version number using mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.2.0.
    1. See How to automate version number update process for my Eclipse plugin built with Maven
    2. See tycho-versions:set-version
  3. The org.eclipse.triquetrum.repository/publish.xml file contains a copyZips target that is invoked by the triquetrum.milestone build.
    1. Update the milestone directory: configure the Hudson triquetrum.milestone build and in Build -> Invoke Ant, click on Advanced Properties and update targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.2.0RC1/, then save the change Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section
  4. Enable and run the Hudson triquetrum.milestone build.
  5. To see what files are created, see http://download.eclipse.org/triquetrum/0.2.0RC1/?d
  6. When you are satisfied with the output, disable the Hudson triquetrum.milestone build.
  7. Edit Triquetrum Downloads.
  8. Update the version number of the master branch to the next version using mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.0

See Also

Back to the top